Vision: IMG_EXTENSIONS lost "." for webp

Created on 5 Apr 2019  路  9Comments  路  Source: pytorch/vision

#  torchvision/datasets/folder.py
IMG_EXTENSIONS = ('.jpg', '.jpeg', '.png', '.ppm', '.bmp', '.pgm', '.tif', '.tiff', 'webp')

webp =>.webp

bug help wanted

All 9 comments

@xialeizhou Thanks for reporting.
Could you send a PR fixing this.

Can I take this up and send a PR?

@Ashok93 Sure Why not !

@surgan12 Thanks! Pull request ref https://github.com/pytorch/vision/pull/836

Fixed via #836
Thanks @Ashok93

@Ashok93 it also has some lint errors .
Can you try and fix them too. ?

@surgan12 Can you specify the linting issue? I cannot find it and it seems okay.

@surgan12 the linting issues are on my side, no need to fix them now

I'll be fixing the linting issues now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

h6197627 picture h6197627  路  23Comments

dssa56 picture dssa56  路  60Comments

davidsteinar picture davidsteinar  路  23Comments

fmassa picture fmassa  路  30Comments

ppwwyyxx picture ppwwyyxx  路  33Comments