Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ground truth offsets for my own dataset #76

Open
HongChow opened this issue Aug 10, 2021 · 6 comments
Open

Generate ground truth offsets for my own dataset #76

HongChow opened this issue Aug 10, 2021 · 6 comments

Comments

@HongChow
Copy link

Is this repo design both for semantic segmentation and for segfix ?
What about if I only want to train segfix?
As the model zoo says:
"
For whom want to try SegFix by training a new SegFix model, you should:

  1. Generate ground truth offsets.
  2. Download ImageNet pretrained model to pretrained_model/.
  3. Run the training script.
  4. Run the prediction script to predict offsets for Cityscapes val / test set.
  5. Run the refinement script to refine any labels with the offsets.
    "
    and I want to know how to generate ground truth offsets.
@PkuRainBow
Copy link
Contributor

@hsfzxjy Please help to illustrate the guidelines to generate the ground-truth offsets.

@HongChow
Copy link
Author

@hsfzxjy Please help to illustrate the guidelines to generate the ground-truth offsets.

thank you ,I have already done this. by changing some code in lib/datasets/preprocess/cityscapes/dt_offset_generator.py

@xiamibudayang
Copy link

@HongChow Did you meet the error "NotImplementedError: Got 3D input, but bilinear mode needs 4D input
" in "openseg.pytorch-master/lib/loss/loss_helper.py" when you train the segfix model by your own datasets?

@140ai
Copy link

140ai commented Sep 9, 2022

@HongChow Do you solve it? How to apply it?

@jhyin12
Copy link

jhyin12 commented Oct 9, 2022

It is appreciated if you tell me how to generate ground truth offsets in your own dataset?

1 similar comment
@sym330
Copy link

sym330 commented Sep 19, 2024

It is appreciated if you tell me how to generate ground truth offsets in your own dataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants