-
Notifications
You must be signed in to change notification settings - Fork 14
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
No such file or directory: 'mmseg/utils/sampler/city_lbl2idx.pth' #5
Comments
the same question ? how to generate file of xx_lbl2idx.pth ? |
Sorry for the confusion and inconvenience caused. In this work, we assume a uniform prior for class probabilities, but in practice, segmentation datasets like ADE20K, Cityscapes, and COCO-Stuff have long-tailed pixel distributions. To address this issue, we propose a pixel balanced sampler to rebalance the pixel distribution as a uniform distribution. You can find the relevant code for the sampler in the following link: Lines 42 to 95 in da1a518
Regarding the xx_lbl2idx.pth files, they contain the mapping of each label to pixel indexes within the corresponding label class. We are currently working on releasing both the code for generating these files and the files themselves. Please stay tuned for updates. |
hi, when i try to reproduce your work for retraining on cityscapes dataset. It seems like I still miss one checkpoint. Can you help me to tackle this problem? thank you!
The text was updated successfully, but these errors were encountered: