-
Notifications
You must be signed in to change notification settings - Fork 793
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
icnet error (icnet return tuple but not write that logic) #161
Comments
Hi, @jinfagang .
And change 'exponent' tensor type to float and set the corresponding device (in ptsemseg/loss/loss.py#L36):
|
@adam9500370 Hi, I finally able to train on icnet. However, after 10k more iterations, the mean iOU seems not right at all:
the loss is too big, and the mean IOU is totally wrong.......... Any idea about this? |
Could you share your training settings (i.e., # of classes (dataset), optimizer, learning rate, image size, ...)? |
@adam9500370 Of course.
nothing else change. Training on cityscapes and using the default cityscapes dataloader |
Due to In addition, if you train the model from scratch, you may need to try the followings:
You can also download the converted Caffe pretrained Cityscapes models here, and set |
@adam9500370 Hi, I take your advise and retrain from scratch, but the mean IOU still not normal. Here is the log:
As you can see, after almost 4000 iterations, the mean IOU still 0.18, is that normal? Doesn't see any continue improvement.......... |
Due to high proportion of pixels for |
when i run pspnet,and modify the loss to: but error occured: |
Replace
with
to avoid handling different input type in different phase. |
Thank you very much! but my result is unusual: |
Due to high proportion of pixels for You can also download the converted Caffe pretrained weights here, and set |
Thank you very much! |
@lfdeep Hi, I met the similar problem. I was wondering how you solved this. Thank you |
My network doesn't seem to learn even after 10000 training iterations. the miou is still at 0.20. |
Hi, icnet returned a tuple when training.... but when calculating loss, it directly get size from tuple and got this error:
The text was updated successfully, but these errors were encountered: