Skip to content

something error in prepare.py #110

@AltoriaDD

Description

@AltoriaDD

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions