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 test on new images? #8

Closed
manapshymyr-OB opened this issue Mar 3, 2022 · 1 comment
Closed

How to test on new images? #8

manapshymyr-OB opened this issue Mar 3, 2022 · 1 comment
Labels
question Further information is requested

Comments

@manapshymyr-OB
Copy link

Hello! I was reviewing the demo but could not find where are you loading new data to test? can you please mention with code?

@wgcban
Copy link
Owner

wgcban commented Mar 3, 2022

Hi @manapshymyr-OB,
The dataset path is configured inside the get_args() function by setting the argument --output_folder.

Place the images that you want to test inside the --output_folder directory. Or you can change the --output_folder argument to direct to your own folder location by modifying the following line for the DSIFN-CD:

parser.add_argument('--output_folder', default='samples_DSIFN/predict_ChangeFormerV6', type=str)

and for the LEVIR-CD:
parser.add_argument('--output_folder', default='samples_LEVIR/predict_CD_ChangeFormerV6', type=str)
.

Also, I recommend you to read this discussion #6 (comment) to get more insight about how to test on your data.

Best
Chaminda.

@wgcban wgcban added the question Further information is requested label Mar 3, 2022
@wgcban wgcban closed this as completed Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants