-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
KeyError: 'PALETTE' when use method init_segmentor() #710
Comments
Hi @wgggSg |
@Junjun2016
to my config file, thanks! |
Good job! |
|
sorry, it have been a long time I didn't use mmsegmentation, so that my code file couldn't be found..... |
fix docstring fixes open-mmlab#709
The error code:
My CustomDataset:
I solved it using a simple way:
modify
model.PALETTE = checkpoint['meta']['PALETTE']
tomodel.PALETTE = my_paletee
at line 35 in
mmseg/apis/inference.py
.But I want to know an official way to solve this error, please tell me.
thanks
The text was updated successfully, but these errors were encountered: