dyx@arthur-PR4904P /m/b/2/d/detectron-traffic-signs (villard) [1]>
python tools/infer_simple.py \
--cfg configs/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml \
--output-dir /tmp/detectron-visualizations \
--image-ext jpg \
--wts https://s3-us-west-2.amazonaws.com/detectron/35861858/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml.02_32_51.SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \
demo
Found Detectron ops lib: /home/dyx/anaconda3/envs/caffe2_install/lib/python2.7/site-packages/torch/lib/libcaffe2_detectron_ops_gpu.so
[E init_intrinsics_check.cc:43] CPU feature avx is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
[E init_intrinsics_check.cc:43] CPU feature avx2 is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
[E init_intrinsics_check.cc:43] CPU feature fma is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU.
/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py:1145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
return envu.yaml_load(cfg_to_load)
Traceback (most recent call last):
File "tools/infer_simple.py", line 149, in
main(args)
File "tools/infer_simple.py", line 97, in main
merge_cfg_from_file(args.cfg)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1152, in merge_cfg_from_file
_merge_a_into_b(yaml_cfg, __C)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1212, in _merge_a_into_b
_merge_a_into_b(v, b[k], stack=stack_push)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1200, in _merge_a_into_b
_raise_key_rename_error(full_key)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1241, in _raise_key_rename_error
format(full_key, new_key, msg)
KeyError: u'Key TEST.SCALES was renamed to TEST.SCALE; please update your config. Note: Also convert from a tuple, e.g. (600, ), to a integer, e.g. 600.'
dyx@arthur-PR4904P /m/b/2/d/detectron-traffic-signs (villard) [1]> python tools/infer_simple.py \ --cfg configs/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml \ --output-dir /tmp/detectron-visualizations \ --image-ext jpg \ --wts https://s3-us-west-2.amazonaws.com/detectron/35861858/12_2017_baselines/e2e_mask_rcnn_R-101-FPN_2x.yaml.02_32_51.SgT4y1cO/output/train/coco_2014_train:coco_2014_valminusminival/generalized_rcnn/model_final.pkl \ demo Found Detectron ops lib: /home/dyx/anaconda3/envs/caffe2_install/lib/python2.7/site-packages/torch/lib/libcaffe2_detectron_ops_gpu.so [E init_intrinsics_check.cc:43] CPU feature avx is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU. [E init_intrinsics_check.cc:43] CPU feature avx2 is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU. [E init_intrinsics_check.cc:43] CPU feature fma is present on your machine, but the Caffe2 binary is not compiled with it. It means you may not get the full speed of your CPU. /mnt/big_disk/2020/dyx/detectron/detectron/core/config.py:1145: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. return envu.yaml_load(cfg_to_load) Traceback (most recent call last): File "tools/infer_simple.py", line 149, in
main(args)
File "tools/infer_simple.py", line 97, in main
merge_cfg_from_file(args.cfg)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1152, in merge_cfg_from_file
_merge_a_into_b(yaml_cfg, __C)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1212, in _merge_a_into_b
_merge_a_into_b(v, b[k], stack=stack_push)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1200, in _merge_a_into_b
_raise_key_rename_error(full_key)
File "/mnt/big_disk/2020/dyx/detectron/detectron/core/config.py", line 1241, in _raise_key_rename_error
format(full_key, new_key, msg)
KeyError: u'Key TEST.SCALES was renamed to TEST.SCALE; please update your config. Note: Also convert from a tuple, e.g. (600, ), to a integer, e.g. 600.'
Who can help me? thanks