Replies: 1 comment 1 reply
-
If you're using RGB images as input and 6 classes, your images are 1918 x 1280 x 3 JPEG or PNG, or whatever Check out https://github.com/milesial/Pytorch-UNet/blob/master/utils/data_loading.py. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I used your code for semantic segmentation on my own data and it worked great!
Now I want to work on data that has more than 1 class.
not sure how am I supposed to build the masks so your code will work with them.
Lets say I have 6 classes - My mask should be 1918 x 1280 x 3 x 6 with each layer being a binary mask for each class?
or does it need to be 1918 x 1280 x 1 with different grayscale value for each class?
or maybe something else?
Thanks,
Rony.
Beta Was this translation helpful? Give feedback.
All reactions