I'm training Detectron with the following command
python2 tools/train_net.py \ --cfg configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml \ OUTPUT_DIR /tmp/detectron-output
and I'm getting the error below. Everything goes well except at the end when the training model file is about to be saved.
Thanks in advance for your help.
...........
File "/home/username/Documents/Detectron/lib/utils/net.py", line 165, in save_model_to_weights_file
cfg_yaml = yaml.dump(cfg)
File "build/bdist.linux-x86_64/egg/yaml/__init__.py", line 202, in dump
File "build/bdist.linux-x86_64/egg/yaml/__init__.py", line 190, in dump_all
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 28, in represent
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 61, in represent_data
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 447, in represent_object
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 123, in represent_mapping
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 57, in represent_data
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 223, in represent_dict
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 123, in represent_mapping
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 41, in represent_data
File "build/bdist.linux-x86_64/egg/yaml/representer.py", line 142, in ignore_aliases
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()