Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

where is u.zip #14

Open
daddydrac opened this issue Apr 17, 2020 · 4 comments
Open

where is u.zip #14

daddydrac opened this issue Apr 17, 2020 · 4 comments

Comments

@daddydrac
Copy link

where is u.zip?

@Wovchena
Copy link
Owner

It's generated by zip -jmq runs/u.zip res/*

@daddydrac
Copy link
Author

daddydrac commented Apr 17, 2020

@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

@daddydrac
Copy link
Author

@Wovchena friendly bump ^

@Wovchena
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants