Closed ChenCong7375 closed 2 years ago
Is your MMOCR up-to-date? I remember that it's due to the wrong link to FCENet in ocr.py
but it already got fixed.
Is your MMOCR up-to-date? I remember that it's due to the wrong link to FCENet in
ocr.py
but it already got fixed.
I use v0.3.0 I'll try to re-download the model
Does it work?
Similar to #516, this checkpoint turns out to be saved by newer PyTorch which offers no backward compatibility by default (https://github.com/pytorch/pytorch/issues/43106). We will run a thorough check and fix any incompatible checkpoints soon. Thanks for reporting!
I just started using mmocr and hit the same issue
e.g. python mmocr/utils/ocr.py demo/demo_text_det.jpg --print-result --output test_results --details --det FCE_CTW_DCNv2
-> RuntimeError: Only one file(not dir) is allowed in the zipfile
@gaotongxiao any quick workaround?
FYI got the same error with https://download.openmmlab.com/mmocr/textdet/drrg/drrg_r50_fpn_unet_1200e_ctw1500-1abf4f67.pth
@usuyama Upload your PyTorch to 1.8.0 can be a quick fix
When I test FCE model to detect the error raised.