Comments (10)
我程序改的只是流程和网络,整个架构基本没有变,和对应版本的detectron2要求应该不会冲突,不至于改了就不支持本来就支持的cuda版本了。
也许这个可以帮助到你 issue
by the way: 听你的表达很容易血压飙升,你的话可以一击命中程序员的恼怒点
“这个程序真的能直接跑吗”
“这说明你的程序改了后是只能在cuda9.0下跑吗?”
我捂着心脏平复了好一会儿才心态平稳的回复这条issue。
from centerx.
把项目里面的datasets删掉,然后新建一个datasets文件夹
然后把coco文件夹放在datasets文件夹下面就可以了
from centerx.
还有一个问题,就是,在centertrainer类里面,有个super(DefaultTrainer,self).init(model,data_loader, optimizer)
出现错误,
init() take 1 positional argument but 4 were given
我想确定一下,一般出现这种问题,这个程序真的能直接跑吗?
from centerx.
from centerx.
应该是你装的detectron2版本不对,可以根据readme里面的提示安装:
pip install -U 'git+https://github.com/CPFLAME/detectron2.git'
其他的issue也出现了类似的问题,但是也有热心人士解答。你和这个道友遇到的问题一样点这里
from centerx.
我是按照官方安装的detectron2,你的意思是通过你这个命令安装是吧? @CPFLAME
from centerx.
是的
from centerx.
谢谢回答。但是我这显示用你的安装后,from detectreon2 import _C,显示缺少libcudart.so.9.0,这说明你的程序改了后是只能在cuda9.0下跑吗? @CPFLAME
from centerx.
你好,还有个问题,我看到yaml里面有个max_iter设置的是70,但是我看到detectron2里面一般是比较大的数,应该是iter,请问你这里是修改成了epoch吗,才设置成这样? @CPFLAME
from centerx.
是的,就是epoch数目
在代码块中engine/defaults.py我做了一个变换
主要是为了解放使用者的脑力,不用自己手动去算iter数量了
from centerx.
Related Issues (20)
- 导出onnx之后如何转trt HOT 1
- 请问有没有训练好的权重模型?
- 自定义数据集如何使用该工程 HOT 1
- TypeError: __init__() takes 1 positional argument but 4 were given HOT 1
- TypeError: _write_metrics() missing 1 required positional argument: 'data_time' HOT 2
- AP 大于1?
- 转caffe遇到问题 HOT 2
- 自定义数据集
- 训练问题 HOT 3
- Inference/demo.py的一个小问题 HOT 1
- ttf supported?
- issues HOT 3
- SWA in vanilla Detectron2 HOT 2
- 小白提问请问这个有人体关键点检测嘛
- whyCUDA out of memory. Tried to allocate 130.00 MiB (GPU 1; 7.80 GiB total capacity; 5.91 GiB already allocated; 33.56 MiB free; 6.09 GiB reserved in total by PyTorch)
- 自己数据训练问题
- 关于对于keypoints修改的问题
- 编译detectron2出现ninja: build stopped: subcommand failed如何解决?
- N个数据集所对应的N个教师模型,在datasets中如何摆放N个数据集(每个数据集均转成COCO格式)?
- Requests for segmentation or key point detection. HOT 1
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 centerx.