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

Implementating tests with the RegDB dataset seems to have some problems. #7

Open
lorenz-liu opened this issue Mar 24, 2021 · 0 comments

Comments

@lorenz-liu
Copy link

lorenz-liu commented Mar 24, 2021

When I finished training on the RegDB dataset, I followed the README.md instructions to run this in my terminal:

python test_ddag.py --dataset regdb --trial 1 --wpa --graph --gpu 1 --resume 'regdb_G_P_3_drop_0.2_4_8_lr_0.1_seed_0_trial_1_best.t'

where regdb_G_P_3_drop_0.2_4_8_lr_0.1_seed_0_trial_1_best.t is the model trained by the RegDB dataset.

The error information told me that, query_loader is not defined:

Traceback (most recent call last):
  File "test_ddag.py", line 200, in <module>
    query_feat, query_feat_att = extract_query_feat(query_loader)
NameError: name 'query_loader' is not defined

So, I went through the codes and tryna make some modifications, but the work is more than I expected, as there were dozens of supplements that need to be added directly to the source codes, apart from query_loader. Though I finally managed to run successfully, and the outcomes look reasonable, I am still befuddled by all the extra work I have to get done.

I AM WONDERING if all these modifications are necessary or there actually exists a way to implement tests on RegDB.

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

1 participant