jianf-wang / grcnn Goto Github PK
View Code? Open in Web Editor NEWThis is an implementation of the paper "Convolutional Neural Networks with Gated Recurrent Connections".
License: MIT License
This is an implementation of the paper "Convolutional Neural Networks with Gated Recurrent Connections".
License: MIT License
My objective is to test mask_rcnn_grcnn on COCO dataset. Please advise me the correct sequence of commands to do so
GRCNN model not registered as model in model registry
pwd
/GRCNN/mmdetection
Now, on executing
python tools/test.py configs/GRCNN/mask_rcnn_grcnn109_fpn_2x_coco.py checkpoints/checkpoint_params_grcnn109.pt --eval bbox segm
I am getting the following error
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
loading annotations into memory...
Done (t=0.42s)
creating index...
index created!
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 52, in build_from_cfg
return obj_cls(**args)
File "/mmdetection/mmdet/models/detectors/mask_rcnn.py", line 27, in __init__
init_cfg=init_cfg)
File "/mmdetection/mmdet/models/detectors/two_stage.py", line 32, in __init__
self.backbone = build_backbone(backbone)
File "/mmdetection/mmdet/models/builder.py", line 20, in build_backbone
return BACKBONES.build(cfg)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 212, in build
return self.build_func(*args, **kwargs, registry=self)
File "/opt/conda/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 45, in build_from_cfg
f'{obj_type} is not in the {registry.name} registry')
KeyError: 'GRCNN is not in the models registry'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/test.py", line 237, in <module>
main()
File "tools/test.py", line 186, in main
model = build_detector(cfg.model, test_cfg=cfg.get('test_cfg'))
File "/mmdetection/mmdet/models/builder.py", line 59, in build_detector
cfg, default_args=dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 212, in build
return self.build_func(*args, **kwargs, registry=self)
File "/opt/conda/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "MaskRCNN: 'GRCNN is not in the models registry'"
I can see that in mmdet/models/backbones/GRCNN.py
@BACKBONES.register_module() is called but I am not sure how to execute GRCNN.py so that it gets registered as a model.
My directory structure looks like
mmdetection
├── data
│ ├── coco
│ │ ├── annotations
│ │ ├── train2017
│ │ ├── val2017
│ │ ├── test2017
├── configs
├── checkpoints
├── tools
├── mmdet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.