KaihuaTang/Scene-Graph-Benchmark.pytorch

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

Opened this issue · 1 comments

❓ Questions and Help

edace15e2ef943a2590669f7102d1a3b

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