Huy-Ngo / skin-crawler

A web crawler for crawling dermoscopic images of skin cancer.
MIT License
4 stars 2 forks source link

Module ISIC downloaded failed: truncated image #9

Closed dinhanhx closed 3 years ago

dinhanhx commented 3 years ago

As of writing, commit aa8165e, branch isic-pullrequest, pull request #3, when I called ISIC_getdata(5, 5, False, False) and ISIC_getdata(), no images are downloaded. CL ouput: image

Expected output: a list.

casker2209 commented 3 years ago

Fixed by setting the global variable ImageFile.LOAD_TRUNCATED_IMAGES to True

dinhanhx commented 3 years ago

Seriously man. I came back to test your source code at commit 8616e9fb83a2e9b78d2f29ad6c97cafa5b344572 and it doesn't work. Please test your code somewhere else (Virutal Machine, Virtual Enviroment). This will the last time I test your code.

dinhanhx commented 3 years ago

@casker2209 I have tested your sourc code in a clean machine - Google Colab. As a result, it still shows the same output.

dinhanhx commented 3 years ago

@casker2209 As of writing, at commit 190243b, I have tested your source code in a clean machine - Google Colab. It works now.