predict.py run time error
kienchen opened this issue · 2 comments
kienchen commented
run predict.py
without option of --validate
python3 predict.py --G 0 --model_path /data/data/CRNN_OCR_keras/data/OCR_IAM_ver1
--image_path /data/data/CRNN_OCR_keras/data/IAM_processed
--num_instances 128
has three errors
- not found: set_offset_monochrome
- not found: padd
- img = cv2.cvtColor(img.astype(np.uint8), cv2.COLOR_BGR2GRAY)
AttributeError: 'NoneType' object has no attribute 'astype'
gasparian commented
Hi!
I'm making refactoring right now, so I think it will be a small description and some example results in ~ 3-5 days. So it all will work soon ;)
kienchen commented
Many thanks for your reply!
…Sent from my iPad
On Feb 12, 2019, at 10:52 AM, Andrey Gasparyan ***@***.***> wrote:
Hi!
I'm making refactoring right now, so I think it will be a small description and some example results in ~ 5 days. So it all will work soon ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.