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

how to build the test file? #1

Closed
N0ah10f1 opened this issue May 12, 2024 · 2 comments
Closed

how to build the test file? #1

N0ah10f1 opened this issue May 12, 2024 · 2 comments

Comments

@N0ah10f1
Copy link

The test file should consider a config.yaml, images and a model files which save the weights? in the Usege, why does it create a weights folder? python test.py weights/CSBSR_w_PSPNet_beta03/latest --sf_save_image

Thank you

@Yuki-11
Copy link
Owner

Yuki-11 commented May 12, 2024

Hello,

Thank you for bringing up these questions regarding the test setup and configuration. Let me address each of your points for clarity:

  1. Configuration and Model Files: Yes, it is necessary to consider both the config and model files. The config file is recognized from the directory specified in the first command-line argument, under config.yaml. For the model files, you should use the second command-line argument to specify either the iteration number or the model file name, excluding the extension. There is no need to explicitly specify images in test.py, and the --sf_save_image is an optional argument that if used, means that the output images will not be saved.

  2. Creation of a Weights Folder: You are correct in assuming that the folder is created to store the weight files that I have made publicly available. This setup is intended to keep the workflow organized and ensure that weight files are easily accessible during testing.

image

  1. Usage Correction: Regarding the usage in the README, I apologize for the confusion caused by the error. The correct command should indeed be:

python test.py weights/CSBSR_w_PSPNet_beta03 latest --sf_save_image

Please let me know if you need further clarification on any of these points, or if there's anything else I can assist you with.

Best regards,

@Yuki-11
Copy link
Owner

Yuki-11 commented Jun 29, 2024

I have not received any further responses regarding the issue raised in how to build the test file? #1. As a result, I am assuming that the problem has been resolved. Therefore, I will proceed to close this issue.

If the problem persists or you have any additional concerns, please feel free to reopen the issue or create a new one.

Thank you for your understanding and cooperation.

@Yuki-11 Yuki-11 closed this as completed Jun 29, 2024
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