HRNet-Semantic-Segmentation icon indicating copy to clipboard operation
HRNet-Semantic-Segmentation copied to clipboard

ValueError: too many values to unpack (expected 3)

Open zhaoliu5254 opened this issue 5 years ago • 1 comments

Hello, I am using PyTorch1.1+Python3.6. I have no problem with train and val on my own data set, but test.py reports an error:

=> loading model from /model/........./final_state.pth ...... => loading aux_head.3.bias from pretrained model

0% 0/2129 [00:00<?, ?it/s] 0% 0/2129 [00:00<?, ?it/s] Traceback (most recent call last): File "tools/test.py", line 143, in main() File "tools/test.py", line 135, in main sv_dir=final_output_dir) File "/code/HRNetV2-OCR_torch1.1.0/tools/../lib/core/function.py", line 217, in test image, size, name = batch ValueError: too many values to unpack (expected 3) [DEBUG] EXIT signal received in docker container, exiting ...

zhaoliu5254 avatar Oct 19 '20 01:10 zhaoliu5254

I have the same problem, any suggestions?

anna-debug avatar Jul 21 '21 09:07 anna-debug