few-shot-object-detection
few-shot-object-detection copied to clipboard
TypeError: '>' not supported between instances of 'NoneType' and 'int'
when i run "python tools/train_net.py --num-gpus 1
--config-file configs/PascalVOC-detection/split1/faster_rcnn_R_101_base1.yaml"
TypeError: '>' not supported between instances of 'NoneType' and 'int'
Traceback (most recent call last):
File "/home/fyz/anaconda3/envs/pytorch1.13.1/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/fyz/anaconda3/envs/pytorch1.13.1/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/fyz/few-shot-object-detection/tools/train_net.py", line 113, in
Hii, Check your dataset and ensure that the necessary data, such as annotations or labels, is present and correctly formatted. If data is missing or improperly labeled, it can lead to None values in critical places.