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

something error in prepare.py #110

Open
AltoriaDD opened this issue May 31, 2022 · 1 comment
Open

something error in prepare.py #110

AltoriaDD opened this issue May 31, 2022 · 1 comment

Comments

@AltoriaDD
Copy link

Hello,Thank you for your work
I find some Picture address error if you run as preapare.py set, in the line of 24,25, 26 ,78
cv2.imwrite(str(test_real_dir)+'{:05}.png'.format(img_idx),img)
The picture cannot be put into the address correctly, resulting in the subsequent py files not running normally.
So I made some changes:
cv2.imwrite(os.path.join(test_real_dir,'{:05}.png'.format(img_idx)),img)
Make the same change for similar parts
Hope it can be helpful for novices.

@wangxihao
Copy link

cv2.imwrite(os.path.join(test_real_dir,'{:05}.png'.format(img_idx)),img)

So kind, 3Q!

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