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

AssertionError: Invalid type <class 'NoneType'> for key TO_TEST #206

Open
jack-zzzzz opened this issue Mar 4, 2024 · 1 comment
Open

Comments

@jack-zzzzz
Copy link

❓ Questions and Help

edace15e2ef943a2590669f7102d1a3b

@Maelic
Copy link

Maelic commented Mar 5, 2024

Hi,
New versions of yacs do not allow parameters to have a None value, so you have to change the parameter DATASETS.TO_TEST value to "" (empty string) instead if you don't want to use it, see https://github.com/Maelic/Scene-Graph-Benchmark-Cuda11.7/blob/9f4fbaf11e81843884c6c154eaf8b713db66966d/sgg_benchmark/config/defaults.py#L86

You may also have to change the dataloader accordingly:
https://github.com/Maelic/Scene-Graph-Benchmark-Cuda11.7/blob/9f4fbaf11e81843884c6c154eaf8b713db66966d/sgg_benchmark/data/build.py#L167

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