Skip to content
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

Update utils.py #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

abhishekvermasg
Copy link

'labelcol' is not the folder name as in your readme.md, thus, code break. I changed it to 'label'. Also, the default size you have kept is (128, 128) but if images with the user are not uniform then it is an issue, I have rectified that by resizing the images to (128, 128).

@jeya-maria-jose
Copy link
Owner

jeya-maria-jose commented Mar 10, 2021

Hi,

Thanks for mentioning the 'labelcol' issue. The datasets used in this work have a labelcol folder. So, I think it is better to change the readme.

Regarding resizing, for Monuseg dataset, we conduct experiments at 512x512 image scale. So, we pass the image size also as an argument. So, I guess it would be better if we provide an argument for resize and then convert all the images to imgsize if resize argument is true, which would make the code more generic rather than resizing everything to 128x128. Would be glad to merge a pull request with that !

@cwpl
Copy link

cwpl commented Mar 26, 2021

Hi,The size of the image in the GlaS dataset is (522,775). Does it need to be changed to (128,128) or make some other adjustments

@123xu223
Copy link

hello, I want to ask you a question. I have been reporting this error during training.
libpng warning: iCCP: known incorrect sRGB profile
epoch [0/400], loss:0.2338
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
epoch [1/400], loss:0.0000
libpng warning: iCCP: known incorrect sRGB profile
epoch [2/400], loss:0.0000
libpng warning: iCCP: known incorrect sRGB profile
epoch [3/400], loss:0.0000
libpng warning: iCCP: known incorrect sRGB profile
epoch [4/400], loss:0.0000
libpng warning: iCCP: known incorrect sRGB profile
epoch [5/400], loss:0.0000
libpng warning: iCCP: known incorrect sRGB profile
epoch [6/400], loss:0.0000

my loss has been 0 ,What's the matter about the error? Can you provide a processed data set? my email is [email protected] 。 Can I contact you through this email?

@deyuehu7
Copy link

Hi, author! I would like to know how to conduct the experiment with a 512x512 image ratio in the Monuseg dataset. How did you adjust the image size? I urgently need to solve this problem in my experiment. Looking forward to your reply. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants