ying09 / TextFuseNet

A PyTorch implementation of "TextFuseNet: Scene Text Detection with Richer Fused Features".
MIT License
474 stars 121 forks source link

Not able to run test #110

Open tobiasraidl opened 1 year ago

tobiasraidl commented 1 year ago

Hello, When I try to run $ python demo/icdar2015_detection.py I get following error:

File "D:\code\TextFuseNetv0.4\demo\icdar2015_detection.py", line 135, in <module> prediction, vis_output, polygons = detection_demo.run_on_image(img) ValueError: not enough values to unpack (expected 3, got 2)

Then I realized that the function detection_demo.run_on_image is called and 3 return values are expected, but only the first 2 are sent. In the predictor.py file where the function is, there is simply no third return value defined. Does anynone else have this problem?