I've been trying to get the system up and running in Google Colab using the tutorial. This is the result:
[10/10 14:39:32 fvcore.common.checkpoint]: [Checkpointer] Loading from checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_base1/model_reset_surgery.pth ...
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/few-shot-object-detection/tools/test_net.py", line 211, in
args=(args,),
File "/usr/local/lib/python3.7/dist-packages/detectron2/engine/launch.py", line 62, in launch
main_func(*args)
File "/content/few-shot-object-detection/tools/test_net.py", line 145, in main
ckpt_file, resume=resume
File "/usr/local/lib/python3.7/dist-packages/fvcore/common/checkpoint.py", line 215, in resume_or_load
return self.load(path, checkpointables=[])
File "/usr/local/lib/python3.7/dist-packages/fvcore/common/checkpoint.py", line 141, in load
assert os.path.isfile(path), "Checkpoint {} not found!".format(path)
AssertionError: Checkpoint checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_base1/model_reset_surgery.pth not found!
When running this command after following the tutorial:
from fsdet import model_zoo
model = model_zoo.get("COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml", trained=True)
Which in turn results in:
/content/few-shot-object-detection/fsdet/model_zoo/model_zoo.py in get_config_file(config_path)
150 if not os.path.exists(cfg_file):
151 raise RuntimeError(
--> 152 "{} not available in Model Zoo!".format(config_path)
153 )
154 return cfg_file
RuntimeError: COCO-detection/faster_rcnn_R_101_FPN_ft_all_1shot.yaml not available in Model Zoo!
Hi,
I've been trying to get the system up and running in Google Colab using the tutorial. This is the result:
When running this command after following the tutorial:
In response, I try to download the model using:
Which in turn results in:
Any idea how to solve these problems?