mltu icon indicating copy to clipboard operation
mltu copied to clipboard

Not Able to Download the Dataset

Open Manasa-N-2504 opened this issue 2 years ago • 5 comments

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

Manasa-N-2504 avatar Jun 14 '23 01:06 Manasa-N-2504

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

pythonlessons avatar Jun 14 '23 05:06 pythonlessons

Sir if possible can you provide the new link sir

Manasa-N-2504 avatar Jun 15 '23 06:06 Manasa-N-2504

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

Charlieletscode avatar Jun 27 '23 23:06 Charlieletscode

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

Shrishti120 avatar Jun 29 '23 06:06 Shrishti120

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_x64__qbz5n2kfra8p0\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

amoungui avatar Aug 10 '24 18:08 amoungui