AdelaiDet
AdelaiDet copied to clipboard
run demo.py error
When I run
python demo/demo.py
--config-file configs/FCOS-Detection/R_50_1x.yaml
--input input1.jpg input2.jpg
--opts MODEL.WEIGHTS fcos_R_50_1x.pth
error : Config 'configs/FCOS-Detection/R_50_1x.yaml' has no VERSION. Assuming it to be compatible with latest v2
Please help me,than you so much.
this is a warning, not the error
I met the same question ,if you solve the problem ,Please let me know.Thank you so much
Traceback (most recent call last):
File "demo/demo.py", line 75, in
我出现这个错
Traceback (most recent call last): File "demo/demo.py", line 75, in demo = VisualizationDemo(cfg) File "/root/code/adet/demo/predictor.py", line 40, in init self.predictor = DefaultPredictor(cfg) File "/root/code/detectron2/detectron2/engine/defaults.py", line 188, in init checkpointer.load(cfg.MODEL.WEIGHTS) File "/root/anaconda3/lib/python3.8/site-packages/fvcore-0.1.1.post20200716-py3.8.egg/fvcore/common/checkpoint.py", line 117, in load File "/root/code/detectron2/detectron2/checkpoint/detection_checkpoint.py", line 42, in _load_file loaded = super()._load_file(filename) # load native pth checkpoint File "/root/anaconda3/lib/python3.8/site-packages/fvcore-0.1.1.post20200716-py3.8.egg/fvcore/common/checkpoint.py", line 213, in _load_file File "/root/anaconda3/lib/python3.8/site-packages/torch/serialization.py", line 593, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/root/anaconda3/lib/python3.8/site-packages/torch/serialization.py", line 763, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) EOFError: Ran out of input
我出现这个错
@tkone2018 你好,这个问题解决了吗,我也是报这个错