Comments (3)
我在windows平台上跑通了,相关细节可以参考https://blog.csdn.net/qq_33642342/article/details/119028324?spm=1001.2014.3001.5501。
I’ve successfully trained the model on the wiondows and the relevant details are recorded in my blog https://blog.csdn.net/qq_33642342/article/details/119028324?spm=1001.2014.3001.5501.
from queryinst.
Hi @lbq779660843,感谢你对我们工作的关注。
我们没有在windows
系统下测试过QueryInst
的代码。但是看你的报错,我觉得也许和路径、环境的问题有关系。
我建议你跑一下mmdet
的Mask R-CNN
模型,看看能否跑通。
from queryinst.
作者您好!感谢分享优秀的工作。
我在linux上用自己的数据集进行训练,只更改了num_classes和数据路径,其他的config没用动,可以成功用tools/train.py 训练,但是测试时,
用python tools/test.py configs/queryinst/coco_v2.py output/epoch_31.pth --format-only --options "jsonfile_prefix=./output"命令,报错:
tools/test.py:96: UserWarning: --options is deprecated in favor of --eval-options
warnings.warn('--options is deprecated in favor of --eval-options')
loading annotations into memory...
Done (t=0.21s)
creating index...
index created!
Traceback (most recent call last):
File "tools/test.py", line 220, in
main()
File "tools/test.py", line 173, in main
model = build_detector(cfg.model, test_cfg=cfg.get('test_cfg'))
File "/search/odin/sdy/anaconda3/envs/mmcv/lib/python3.8/site-packages/mmdet/models/builder.py", line 57, in build_detector
return DETECTORS.build(
File "/search/odin/sdy/anaconda3/envs/mmcv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 210, in build
return self.build_func(*args, **kwargs, registry=self)
File "/search/odin/sdy/anaconda3/envs/mmcv/lib/python3.8/site-packages/mmcv/cnn/builder.py", line 26, in build_model_from_cfg
return build_from_cfg(cfg, registry, default_args)
File "/search/odin/sdy/anaconda3/envs/mmcv/lib/python3.8/site-packages/mmcv/utils/registry.py", line 43, in build_from_cfg
raise KeyError(
KeyError: 'QueryInst is not in the models registry'
问题解决方法:
先安装pytorch 和 mmcv, 不要安装mmdet
然后clone下项目的代码,运行python setup.py develop 即可解决!
from queryinst.
Related Issues (20)
- pytorch2onnx failed HOT 1
- AttributeError: 'EmbeddingRPNHead' object has no attribute 'async_simple_test_rpn' HOT 2
- mAP = 0 all the time HOT 7
- Code navigation: queries HOT 5
- Details about QueryTrack HOT 5
- which learning rate is true? HOT 2
- The parameter of the tracking loss HOT 2
- gpu HOT 2
- how to inference the pretrained model on my test data without GT HOT 1
- KeyError: "QueryInst: 'QueryRoIHead is not in the models registry'" HOT 1
- Base config file does not exist
- Instance Segmentation using CPU fails on certain images when Swin Transformer backbone was used
- cityscapes config HOT 10
- Why use 'batch-nms' in an end2end model?
- 您好,请问代码里是不是没使用预训练模型? HOT 1
- MMCV version
- Loss value when training QueryInst
- test stage mAP(box)=0, mAP(seg)=0.71 HOT 1
- Welcome update to OpenMMLab 2.0
- How to get QueryInst to train on an external dataset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from queryinst.