pythonlessons / mltu

Machine Learning Training Utilities (for TensorFlow and PyTorch)
MIT License
192 stars 111 forks source link

Not Able to Download the Dataset #14

Open Manasa-N-2504 opened 1 year ago

Manasa-N-2504 commented 1 year ago

If I try downloading the dataset using the URL it shows Internal Server Error

dataset_path = stow.join('Datasets', 'IAM_Words') if not stow.exists(dataset_path): download_and_unzip('https://git.io/J0fjL', extract_to='Datasets')

file = tarfile.open(stow.join(dataset_path, "words.tgz"))
file.extractall(stow.join(dataset_path, "words"))

This segment of code also shows error

pythonlessons commented 1 year ago

error is know, link to download dataset doesn't work. Need to find a new link

Manasa-N-2504 commented 1 year ago

Sir if possible can you provide the new link sir

Charlieletscode commented 1 year ago

https://fki.tic.heia-fr.ch/databases/download-the-iam-handwriting-database This might be it

Shrishti120 commented 1 year ago

The formate of this dataset is different from the one which is used in the tutorial.

amoungui commented 2 months ago

Hi, I have tis issue : 100%|████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 334.15it/s] Traceback (most recent call last): File "C:\Users\Amoungui\Documents\Projets\AI System\mltu\Tutorials\03_handwriting_recognition\train.py", line 41, in download_and_unzip("https://fki.tic.heia-fr.ch/databases/download-the-iam-handwriting-database", extract_to="Datasets") File "C:\Users\Amoungui\Documents\Projets\AI System\mltu\Tutorials\03_handwriting_recognition\train.py", line 36, in download_and_unzip zipfile = ZipFile(BytesIO(data)) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64qbz5n2kfra8p0\Lib\zipfile.py", line 1312, in init__ self._RealGetContents() File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\zipfile.py", line 1379, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file. I used this url : https://fki.tic.heia-fr.ch/databases/download-the-iam-handwriting-database. But I have the same error with the preview datasets link