You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need help in implementing VGG16 for Faster R-CNN for my graduation thesis. This is my first time using mmdetection so I don't really have a clear idea how to create, train, and customize a custom model.
My environment is in google colab with CUDA 12.2.
l ran this code with no issue:
Traceback (most recent call last):
File "/content/ta-mmdetection/tools/train.py", line 121, in <module>
main()
File "/content/ta-mmdetection/tools/train.py", line 110, in main
runner = Runner.from_cfg(cfg)
File "/usr/local/lib/python3.10/dist-packages/mmengine/runner/runner.py", line 463, in from_cfg
model=cfg['model'],
File "/usr/local/lib/python3.10/dist-packages/mmengine/config/config.py", line 1502, in __getitem__
return self._cfg_dict.__getitem__(name)
File "/usr/local/lib/python3.10/dist-packages/mmengine/config/config.py", line 138, in __getitem__
return self.build_lazy(super().__getitem__(key))
File "/usr/local/lib/python3.10/dist-packages/mmengine/config/config.py", line 105, in __missing__
raise KeyError(name)
KeyError: 'model'
is there anything wrong with my code? I'm willing to change anything as long as it fix the code.
Hope anyone can help me ASAP since I'm short in time.
Thank you for your help!
The text was updated successfully, but these errors were encountered:
I need help in implementing VGG16 for Faster R-CNN for my graduation thesis. This is my first time using mmdetection so I don't really have a clear idea how to create, train, and customize a custom model.
My environment is in google colab with CUDA 12.2.
l ran this code with no issue:
I'm using a custom dataset from roboflow with COCO format with this format:
This is my config in
mmdetection > configs > faster_rcnn > faster_rcnn_v16_platBS16E20.py
this is the model in
mmdetection > configs > _base_ > models > faster-rcnn_v16.py
and this is my VGG model in
mmdetection > mmdet > models > backbones > vgg.py
I've also added the VGG class in
__init__.py
file.I'm getting this error when i run this command on my colab
this is the error:
is there anything wrong with my code? I'm willing to change anything as long as it fix the code.
Hope anyone can help me ASAP since I'm short in time.
Thank you for your help!
The text was updated successfully, but these errors were encountered: