You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
Thanks for your sharing!@naoto0804
I found that you generate 512 * 512 masks and resize them to 256 * 256 using transforms.Resize(size=256).
However, the default downsampling method is the linear interpolation, which causes the value of the resized mask to be not only 0 and 1, but also other values in [0,1]. The resized mask is not exactly the mask defined in the original paper.
Therefore, when I use 256 * 256 mask ( without resizing, i.e. its value only contains 0 and 1 ) for testing the 1000000.pth pre-trained model, the result is not good.
To avoid this, maybe resizing the mask with the nearest neighbor downsampling method when training the network works.
The text was updated successfully, but these errors were encountered:
Thanks for your sharing!@naoto0804
I found that you generate 512 * 512 masks and resize them to 256 * 256 using transforms.Resize(size=256).
However, the default downsampling method is the linear interpolation, which causes the value of the resized mask to be not only 0 and 1, but also other values in [0,1]. The resized mask is not exactly the mask defined in the original paper.
Therefore, when I use 256 * 256 mask ( without resizing, i.e. its value only contains 0 and 1 ) for testing the 1000000.pth pre-trained model, the result is not good.
To avoid this, maybe resizing the mask with the nearest neighbor downsampling method when training the network works.
The text was updated successfully, but these errors were encountered: