-
Notifications
You must be signed in to change notification settings - Fork 2
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
[datasets] fetching fail if corrupted file #10
Comments
Should we put md5 hashtags in the code to ensure integrity ? |
@Gael for your problem with NYU Test Retest dataset, my guess is that you have a corrupted zip file that was downloaded with a previous version of the downloader (now, if the download fails, it cleans everything).
|
Fourth solution: you change the downloader so that in such a situation it cleans up by it self. It should never fail and catch exceptions to fall back on its feets. |
I cannot afford to wait any longer. I am on this issue and will fix it. |
I have made a patch but it is not fully tested yet, I am testing it actually. I will push it. |
OK, so you are saying that I just lost an hour for nothing :$. When do you expect to have the patch ready? I have 24 hours to get the |
I have pushed it. For basic behavior (download from scratch, download with existing corrupted files) it works. I hope that it will work on your computer this time. I am testing it under windows right now... |
I have pushed a fix that works for me (I tested it manually) on a G |
I think I'll make a phony dataset for testing purpose because I also find it hard to test with real dataset. |
I don't understand: where is the branch in which the nyu_trt download is Which code should I use to have a working set of examples with the NYU FYI, I believe that the problem with the nyu_trt is the URL used for In [2]: nyu = datasets.fetch_nyu_rest() Downloading data from http://www.nitrc.org/frs/download.php/1071NYU_TRT_session1a.tar.gz ... The URL above does not exist (try it). However, the following URL exists: I pushed a fix for this problem in my nyu_trt_fix branch, and it does |
Ok, I did not understand that there also was a problem with the URL. I'll merge your branch. |
AFAICT, I definitively fixed this issue in origin/master. I am closing it. |
OK, I don't have permission to close it. @AlexandreAbraham you should do it. |
If a file has not been downloaded properly, fetching fails instead of trying to download it again.
The text was updated successfully, but these errors were encountered: