-
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
Error when train customer dataset . #2283
Comments
I suggest you print the
and
I think you might load wrong data |
@MeowZheng here is log : |
Have you check those files? |
@jinwonkim93 Yes I write code read image and annotation and check shape of them. It's ok. Can you help me some other method to test those files. |
@jinwonkim93 @MeowZheng I know my problem. That is annotation have more than color in PALETTE |
@MeowZheng I just check shape ofresults.get('gt_semantic_seg') in VOC or coco is 2D. But my dataset is 3D. |
@jinwonkim93 . I done with issue. Thank you so much |
@RyanYip-Kat can you show log error ? |
@RyanYip-Kat You successfully saved a single-channel picture using opencv, but when you re-read, you use a three-channel reading method, so it will be displayed as a three-channel. you can use |
I has a dataset with 6 class and when i trained bug appear like this
ValueError: size shape must match input shape. Input is 2D, size is 3
This is a my dataset config
I traced my bug and bug in line
mmsegmentation/mmseg/ops/wrappers.py
Line 27 in 7b09967
and i print the "size" in F.interpolate
I don't know why the last shape is different other with 3D dimension
Here is full log bug
Can you help me fix ?
The text was updated successfully, but these errors were encountered: