Training DeepLab -- ValueError: Type mismatch (<class 'tuple'> vs. <class 'int'>) with values ((800,) vs. 1024) for config key: INPUT.MIN_SIZE_TRAIN #2687
Unanswered
michelewang
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, Thank you so much for sharing Detectron and the implementation of DeepLabV3 using Detectron!
I'm trying to perform semantic segmentation on a custom dataset but ran into an issue when trying to train DeepLab on my data. I set up my datasets using the documentation and each of my images is 1024 by 1024. I modified the config files (specifically Base-DeepLabV3-OS16-Semantic.yaml, and deeplab_v3_plus_R_103_os16_mg124_poly_90k_bs16.yaml), only making minor changes (shown below). I also made a copy of train_net.py called train_net_xbd.py but there were no changes to the code.
This is modified "Base-DeepLabV3-OS16-Semantic.yaml" called Base.yaml
This is modified "deeplab_v3_plus_R_103_os16_mg124_poly_90k_bs16.yaml" called base-deeplabv3.yaml
I ran a job with the following script, per DeepLab Readme:
However, I got this type mismatcherror and I'm not sure where it's from or how to resolve it. It seems that my image data is in tuple form with the size being 800 pixels but it is not, its 1024x1024 pixel images. Does anyone know why this might be happening?
Beta Was this translation helpful? Give feedback.
All reactions