Git Product home page Git Product logo

Comments (10)

CPFLAME avatar CPFLAME commented on June 2, 2024 1

我程序改的只是流程和网络,整个架构基本没有变,和对应版本的detectron2要求应该不会冲突,不至于改了就不支持本来就支持的cuda版本了。
也许这个可以帮助到你 issue

by the way: 听你的表达很容易血压飙升,你的话可以一击命中程序员的恼怒点
“这个程序真的能直接跑吗”
“这说明你的程序改了后是只能在cuda9.0下跑吗?”

我捂着心脏平复了好一会儿才心态平稳的回复这条issue。

from centerx.

CPFLAME avatar CPFLAME commented on June 2, 2024

把项目里面的datasets删掉,然后新建一个datasets文件夹
然后把coco文件夹放在datasets文件夹下面就可以了

from centerx.

huanpig avatar huanpig commented on June 2, 2024

还有一个问题,就是,在centertrainer类里面,有个super(DefaultTrainer,self).init(model,data_loader, optimizer)
出现错误,
init() take 1 positional argument but 4 were given
我想确定一下,一般出现这种问题,这个程序真的能直接跑吗?

from centerx.

huanpig avatar huanpig commented on June 2, 2024

@CPFLAME

from centerx.

CPFLAME avatar CPFLAME commented on June 2, 2024

应该是你装的detectron2版本不对,可以根据readme里面的提示安装:
pip install -U 'git+https://github.com/CPFLAME/detectron2.git'

其他的issue也出现了类似的问题,但是也有热心人士解答。你和这个道友遇到的问题一样点这里

from centerx.

huanpig avatar huanpig commented on June 2, 2024

我是按照官方安装的detectron2,你的意思是通过你这个命令安装是吧? @CPFLAME

from centerx.

CPFLAME avatar CPFLAME commented on June 2, 2024

是的

from centerx.

huanpig avatar huanpig commented on June 2, 2024

谢谢回答。但是我这显示用你的安装后,from detectreon2 import _C,显示缺少libcudart.so.9.0,这说明你的程序改了后是只能在cuda9.0下跑吗? @CPFLAME

from centerx.

huanpig avatar huanpig commented on June 2, 2024

你好,还有个问题,我看到yaml里面有个max_iter设置的是70,但是我看到detectron2里面一般是比较大的数,应该是iter,请问你这里是修改成了epoch吗,才设置成这样? @CPFLAME

from centerx.

CPFLAME avatar CPFLAME commented on June 2, 2024

是的,就是epoch数目
在代码块中engine/defaults.py我做了一个变换
主要是为了解放使用者的脑力,不用自己手动去算iter数量了

from centerx.

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.