lct1997 / BasicSTISR

BasicSTISR (Basic Scene Text Image Super Resolution) 是一个基于 PyTorch 的开源场景文本图像超分辨率工具箱.
Apache License 2.0
7 stars 0 forks source link

Test error ValueError: too many values to unpack (expected 2) #3

Open huangguifeng opened 2 weeks ago

huangguifeng commented 2 weeks ago

image loading pretrained crnn model from pretrained/crnn.pth loading pre-trained moran model from pretrained/moran.pth recognizer_path: None loading pretrained crnn model from pretrained/crnn.pth Traceback (most recent call last): File "E:\BasicSTISR-master\BasicSTISR-master\main.py", line 45, in main(config, args) File "E:\BasicSTISR-master\BasicSTISR-master\main.py", line 14, in main Mission.train() File "E:\BasicSTISR-master\BasicSTISR-master\interfaces\super_resolution.py", line 188, in train cascade_images, pre_mask = model_list[0](cascade_images, label_vecs_final.detach()) ValueError: too many values to unpack (expected 2)

huangguifeng commented 2 weeks ago

"tatt", "tpgsr", "tbsrn" Using these algorithms will cause an error. Changing TSRN to this will allow normal training.