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 ade20k_loader.py #261

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Update ade20k_loader.py #261

wants to merge 9 commits into from

Conversation

MOAZ47
Copy link

@MOAZ47 MOAZ47 commented Dec 18, 2021

scipy.misc.imread is depreciated. I have changed it to plt.imread (line 49)

image

@hjhjb
Copy link

hjhjb commented Dec 18, 2021 via email

Add assertion check, on line 27,  to see if split contains intended splits i.e. 'training' and 'validation'. Added a better way to read files of the intended split, on lines 45 and 46. Changed label path on line 57, which previously didn't point to the 'annotations' directory. Changed 'm.imread' to 'cv2.imread', on lines 59 and 62. Changed 'm.imresize' to 'cv2.resize', on lines 74 and 89. Removed assertion check on line 91.
Changed nun classes on line 33
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.

2 participants