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

test.py can not find test.txt #2

Closed
huntkao opened this issue Dec 2, 2021 · 4 comments
Closed

test.py can not find test.txt #2

huntkao opened this issue Dec 2, 2021 · 4 comments

Comments

@huntkao
Copy link

huntkao commented Dec 2, 2021

using arguments: '--net_cfg SViT_E1_D1_32 --train_cfg CDNet_2014 --save_changemap True'
test.py returns "No such file or directory: './CDNet_2014/data/test.txt' "

@wangle53
Copy link
Owner

wangle53 commented Dec 2, 2021

you can replace 'test.txt' with 'val.txt' . Note that CDNet2014 doesn't contain a test dataset.

@huntkao
Copy link
Author

huntkao commented Dec 2, 2021

OK.

So I need to make symbolic links from {$CD2014_ROOT}./dataset/dynamicBackground/boats/input to {$CD2014_ROOT}./dataset/dynamicBackground/boats/t0 and {$CD2014_ROOT}./dataset/dynamicBackground/boats/t1 as indicated in val.txt ?

@wangle53
Copy link
Owner

wangle53 commented Dec 2, 2021

yes. change dataset path to your own path.

@huntkao huntkao closed this as completed Dec 2, 2021
@huntkao
Copy link
Author

huntkao commented Dec 2, 2021

it works.

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