awslabs / handwritten-text-recognition-for-apache-mxnet

This repository lets you train neural networks models for performing end-to-end full-page handwriting recognition using the Apache MXNet deep learning frameworks on the IAM Dataset.
Apache License 2.0
481 stars 189 forks source link

IndexError: single positional indexer is out-of-bounds #30

Closed AnimeshMaheshwari22 closed 4 years ago

AnimeshMaheshwari22 commented 4 years ago

facing an error while trying to run the following code:

figs_to_plot = 4 images = [] n = 0 for i in range(0, figs_to_plot): n = int(random.random()*len(testds)) image, = test_ds[n] images.append(image)

jonomon commented 4 years ago

Was the IAMdataset downloaded correctly?

vyavaharesagar commented 4 years ago

I got same problem when i run test_iam_dataset.ipynb I have set the location of data manually with reading the codes

jonomon commented 4 years ago

This may be an issue with the IAMdataset not downloading all the images. Please refer to

https://github.com/awslabs/handwritten-text-recognition-for-apache-mxnet/issues/24#issuecomment-610088811