-
Notifications
You must be signed in to change notification settings - Fork 382
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
Seek for help when I revised my dataloader
file
#13
Comments
Hi, your dataloader seem correct, just for the palette, I see you're using When training your model, monitor the training process by launching tensorboard, this way in the tab images, you can see the input images, the ground truths and the predictions, if your see black ground truths then there is a problem when loading the labels, also keep an eye on the mIoU of each class. Any how, I think you already have the tensorboard checkpoints in |
Sorry for my late reply firstly |
simply run in the main path: |
my input images, the ground truths and the predictions is correct in tensorboard, but why do I get the prediction map with all black pixels when I run |
I have two class in my task. And I have revised your code suggested by this link
PROBLEM: After I train the network with my own database and run
inference.py
. I got the prediction map with all black pixels.CHECK: In this line, I print the variable
prediction.sum()
and get the big negative number (e.g., prediction=-15624.34)How can I solve this issue? please help me. Thanks
This is my
dataloader
file with python:The text was updated successfully, but these errors were encountered: