text-detection-fots.pytorch
text-detection-fots.pytorch copied to clipboard
where is u.zip
where is u.zip?
It's generated by zip -jmq runs/u.zip res/*
@Wovchena, error: ZIP entry not valid: res_1.txt, how do I fix?
python3 test.py --images-folder test/ --output-folder result/ --checkpoint epoch_582_checkpoint.pt && zip -jmq runs/u.zip result/* && python2 script.py -g=gt.zip -s=runs/u.zip
Epoch 582
Test: 100%|████████████████████████████████| 1/1 [00:03<00:00, 3.79s/it, 1.png]
zip I/O error: No such file or directory
zip error: Could not create output file (runs/u.zip)
root@71dce785c0f9:/app/app/textRx# python3 test.py --images-folder test/ --output-folder result/ --checkpoint epoch_582_checkpoint.pt && zip -jmq runs/u.zip result/* && python2 script.py -g=gt.zip -s=runs/u.zip
Epoch 582
Test: 100%|████████████████████████████████| 1/1 [00:03<00:00, 3.79s/it, 1.png]
Error!
ZIP entry not valid: res_1.txt
@Wovchena friendly bump ^
I don't know what causes the problem.
It works for me with one image in the test folder. May be you have modified something before running. The strange thing is that for the first run you provided, the error is different like if there are no res_*.txt
generated at all. But on the second run it is able to find res_1.txt
. May be something is corrupted: try inspecting your result
folder and its content after running python3 test.py --images-folder test/ --output-folder result/ --checkpoint epoch_582_checkpoint.pt
. If it is fine just zip it manually.