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

Cannot test #17

Open
EXGHLI opened this issue May 20, 2024 · 2 comments
Open

Cannot test #17

EXGHLI opened this issue May 20, 2024 · 2 comments

Comments

@EXGHLI
Copy link

EXGHLI commented May 20, 2024

I used the following command to execute test.py but no results appeared.

python src/test.py --dir_image data/pconv/ --pre_train experiments/aotgan_images_pconv512/G0001000.pt

Can you tell me how to handle it? Are there any parameters that I didn't provide?
Thank you very much!

@ads2d
Copy link

ads2d commented Jun 3, 2024

bHave you resolved the problem? I am struggling with this.

@Enid-Ning
Copy link

This command functions correctly. If the code doesn't find any images in --dir_image, it won't perform testing on any images.
!python test.py
--dir_image='/content/drive/MyDrive/Colab Notebooks/test/FFHQ_test'
--dir_mask='/content/drive/MyDrive/Colab Notebooks/test/test_mask'
--data_test='FFHQ_test'
--image_size=256
--outputs='../outputs/pla/FFHQ_test'
--pre_train="/content/drive/MyDrive/Colab Notebooks/AOT-GAN-for-Inpainting/experiments/place2_1/aotgan_place2_train_pconv256/G0040000.pt"

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

3 participants