d2l-ai / d2l-en

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
https://D2L.ai
Other
23.94k stars 4.36k forks source link

OSError: [Errno 22] Invalid argument: '..\\data\\snli_1.0\\Icon\r' #2482

Open keyuchen21 opened 1 year ago

keyuchen21 commented 1 year ago

in chapter 16.4 with windows env there are following errors when d2l.download_extract('SNLI').

1683301296179

zzowenzz commented 1 year ago

Hi @km5ar, can you try to manually download the dataset wget https://nlp.stanford.edu/projects/snli/snli_1.0.zip. I guess the issue is cause by the win format of data path

Ark2000 commented 1 year ago

you can unzip snli_1.0.zip manually and set data_dir to your unzipped data path.