Giter VIP home page Giter VIP logo

Comments (3)

lbq779660843 avatar lbq779660843 commented on July 17, 2024 2

我在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.

Yuxin-CV avatar Yuxin-CV commented on July 17, 2024

Hi @lbq779660843,感谢你对我们工作的关注。

我们没有在windows系统下测试过QueryInst的代码。但是看你的报错,我觉得也许和路径、环境的问题有关系。
我建议你跑一下mmdetMask R-CNN模型,看看能否跑通。

from queryinst.

dongdongyee avatar dongdongyee commented on July 17, 2024

作者您好!感谢分享优秀的工作。
我在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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.