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
When I tried to re-do the experiments using the same parameters in the saved file to replicate the same results on validation, I face the error when PIL is used to read the image and gt. There's a shape mismatch between the input (1,576,768) and output (3,576,768) while the transform is happening. So to fix it, I have to replace the line mentioned in basedataset.py !
Original way as per repo,
img = Image.open(img_path)
Modified way by me,
img = Image.open(img_path).convert('RGB')
An example image I faced this error is 1642.jpg in train set. Please let me know what effect does this have when I make the change. Any sort of explanation would be appreciated. Thank you in advance !
The text was updated successfully, but these errors were encountered:
Dear Authors,
When I tried to re-do the experiments using the same parameters in the saved file to replicate the same results on validation, I face the error when PIL is used to read the image and gt. There's a shape mismatch between the input (1,576,768) and output (3,576,768) while the transform is happening. So to fix it, I have to replace the line mentioned in basedataset.py !
Original way as per repo,
img = Image.open(img_path)
Modified way by me,
img = Image.open(img_path).convert('RGB')
An example image I faced this error is 1642.jpg in train set. Please let me know what effect does this have when I make the change. Any sort of explanation would be appreciated. Thank you in advance !
The text was updated successfully, but these errors were encountered: