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
488 stars 189 forks source link

deadkernel when calling WordSegmentationNet/SegmentationNetwork #57

Closed nos111 closed 3 years ago

nos111 commented 3 years ago

Hi,

I'm trying to modify the 01-ocr notebook to work with custom dataset. However, whenever I execute the cells with WordSegmentationNet or SegmentationNetwork the kernel dies with the following error: [22:11:42] src/c_api/../operator/custom/custom-inl.h:57: New registration is overriding existing custom operator _smoothing_with_dim terminate called after throwing an instance of 'dmlc::Error' what(): [22:11:53] src/io/local_filesys.cc:209: Check failed: allow_null: LocalFileSystem::Open "models/paragraph_segmentation2.params": No such file or directoryStack trace: [bt] (0) /usr/local/lib/python3.6/dist-packages/mxnet/libmxnet.so(+0x3c598b8) [0x7f8202e098b8]

Any ideas?

Thanks in advance :)

jonomon commented 3 years ago

Hi did you run this?

https://github.com/awslabs/handwritten-text-recognition-for-apache-mxnet#pretrained-models

nos111 commented 3 years ago

Hi Yeah I figured out that I forgot to run that part. my bad. Thank you for answering :)