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
Question about the dimensionality of the mask. #3
Comments
Hello, About your question, the dimension of the PALEETE should be (num_classes, 3). Each value is a color value (R, G, B) for corresponding categorical value of 2 dimensional label image. |
The thing is, when I train with my own dataset, I get the following error : {'DATASET': {'NAME': 'ade20k', From which I conclude that the mask must be a [mxm] matrix... I would like to understand why the learning rate increases over time and not decreases. I also get strange results: Found 16443 training images. Loss after 5-7 epochs begins to increase dramatically. |
The mask should be in shape [B, H, W]; each value is the categorical value with range(0, num_classes) in training. Only then, we can use cross-entropy based loss. The learning rate will increase until warmup epochs (defined in SCHEDULER > WARMUP) and then it will decrease. You can see the learning rate behavior by running scheduler.py. Actually, the loss increasing around warmup epoch is normal. It will decrease later. About the warning on thread-pool, see this issue pytorch/pytorch#57273. |
Thank you. |
Thank you for your work.
It would be nice to see the actual performance of the models in fps on specific hardware. Particularly on devices like jetson.
The training requires the mask to be gray, and in the file that describes the dataset PALETTE has a dimension of 3. Can you tell me what should be the dimensionality of PALETTE (for example my labels will be (1,1,1) or 1 etc.)
The text was updated successfully, but these errors were encountered: