因为要训练自己的数据集(我的是coco格式),再把一些配置修改完成后,运行
python tools/train_net.py --cfg configs/12_2017_baselines/e2e_faster_rcnn_R-50-FPN_1x.yaml OUTPUT_DIR out_dir
要使用Faster Rcnn,所以在terminal中运行的时候,会显示在下载R-50.pkl
下不下来,速度太慢,报的错:意思就是下不下来
AssertionError: Target URL https://dl.fbaipublicfiles.com/detectron/ImageNetPretrained/MSRA/R-50.pkl appears to be downloaded to the local cache file /tmp/detectron-download-cache/ImageNetPretrained/MSRA/R-50.pkl, but the md5 hash of the local file does not match the reference (actual: a4041c4526ff960b0f18057f8d7502a4 vs. expected: b19105fdd7baafb40480251377de18f2). You may wish to delete the cached file and try again to trigger automatic download.
解决方案: