masktextspotter.caffe2 icon indicating copy to clipboard operation
masktextspotter.caffe2 copied to clipboard

cannot import name test_retinanet

Open archanray opened this issue 5 years ago • 2 comments

Hi @lvpengyuan,

I am getting the following error while running python tools/test_net.py --cfg configs/text/mask_textspotter.yaml Traceback (most recent call last): File "tools/test_net.py", line 42, in from core.test_retinanet import test_retinanet ImportError: cannot import name test_retinanet

archanray avatar Jun 20 '19 15:06 archanray

same question! I can't find the test_retinanet function in the test_retinanet.py

brooklyn1900 avatar Jul 19 '19 01:07 brooklyn1900

Hi @lvpengyuan,

I am getting the following error while running python tools/test_net.py --cfg configs/text/mask_textspotter.yaml Traceback (most recent call last): File "tools/test_net.py", line 42, in from core.test_retinanet import test_retinanet ImportError: cannot import name test_retinanet

Solved this. It's in masktextspotter.caffe2/lib/core/test_retinanet

brooklyn1900 avatar Jul 19 '19 07:07 brooklyn1900