Comments (15)
自己回复自己吧 最后把报错那句话里面的fsdet全部改成detectron2 就好了,实际我已经用pip命令安装过detectron2包,具体我也不知道为什么改掉就好了
from fsce.
Maybe the versions of pytorch and fsdet do not match the author's.
from fsce.
My environment is set as follows
python -m pip install detectron2==0.2.1 -f
https://dl.fbaipublicfiles.com/detectron2/wheels/cu92/torch1.5/index.html
conda install pytorch==1.5.1 torchvision==0.6.1 cudatoolkit=9.2 -c pytorch
And this setting work! Wish to help you. @a07913838438
from fsce.
i am faced with the same problem and i could not fix it by changing different versions of packages. is there any other reason why someone may get this problem? Thanks.
from fsce.
@zongdaoming which python version are you using tho ?
from fsce.
我现在用的是torch1.5.1 cuda10.1。还是不能导入_c,和楼主一样的问题,但是我ubuntu是20.04版本,下载不了cuda9.2,你用的是哪个版本的ubuntu?
from fsce.
我把 from fsdet import _C 改成 from fsdet.config.default import _C,就没有这个错误了,但是在运行train_net时出现了AttributeError: roi_align_forward,定位到 output = _C.roi_align_forward(
input, roi, spatial_scale, output_size[0], output_size[1], sampling_ratio, aligned
)这行代码,_C中没有这个roi-align_forward方法,所以是不是第一个地方就改错了呢?有人解决_C这个问题了?求助
from fsce.
自己回复自己吧 最后把报错那句话里面的fsdet全部改成detectron2 就好了,实际我已经用pip命令安装过detectron2包,具体我也不知道为什么改掉就好了
请问您的detector的版本对应的cuda和torch版本是多少,我把fsdet改为detectot2后也会出现no attribute 'roi_align_forward'。
from fsce.
cuda11.1+torch1.9.0+detetron2 v0.2.1,把所有出错的from fsdet.config.default import _C改成from detectron2.config.default import _C就能跑了
from fsce.
自己回复自己吧 最后把报错那句话里面的fsdet全部改成detectron2 就好了,实际我已经用pip命令安装过detectron2包,具体我也不知道为什么改掉就好了
请问您的detector的版本对应的cuda和torch版本是多少,我把fsdet改为detectot2后也会出现no attribute 'roi_align_forward
torch 1.5.0 +cuda 10.1+detectron2 0.2.1
from fsce.
请问你怎么装的detectron2 v0.2.1,我换了一台机子环境是cuda11.1+torch1.8,但是我忘了怎么装detectron2的包了,在detectron2的tutorial里看到的v0.2.1 不支持这个环境,不知道该怎么办了
from fsce.
请问你怎么装的detectron2 v0.2.1,我换了一台机子环境是cuda11.1+torch1.8,但是我忘了怎么装detectron2的包了,在detectron2的tutorial里看到的v0.2.1 不支持这个环境,不知道该怎么办了
https://blog.csdn.net/qq_35030874/article/details/116915874
按这篇博文下的,高版本的detectron2会报别的错
from fsce.
这个博客写的是在win下面编译,你也用的win系统吗
from fsce.
这个博客写的是在win下面编译,你也用的win系统吗
我用的ubuntu20.04,差不多的
from fsce.
我也是ubuntu20,在执行sudo python setup.py build develop 编译这一步卡住了,会报nvcc fatal:Unsupported gpu architecture 'compute_86' error:command '/usr/bin/nvcc' failed with exit status 1,你有遇到过吗?我在1080ti都没遇到过 在3070才遇到
from fsce.
Related Issues (20)
- Is there a requirements document here? HOT 3
- 结果是否为多次实验取平均
- GPU: 3090, I can't install cuda10 0, how can I compile it? HOT 2
- prepare dataset error HOT 6
- python setup.py build develop HOT 13
- 1 shot and 2 shot do not use contrastive loss?
- I can not get the same results in split 1 and shot 10? I just have one gpu 3090. HOT 4
- Train on myself dataset
- AssertionError: Box regression deltas become infinite or NaN! HOT 2
- --opts KeyError: 'Non-existent config key: MODEL.WETGHTS'
- Hello~Where should this code be added?
- I have not found where requirements.txt is.
- I only have a V100 32G ,could realize this model?
- How long does the training step take?
- Where is the requirements.txt? HOT 1
- 我想知道fine tune的时候terminal会显示cl loss的变化吗(I want to know if the terminal will display the change of cl loss during fine-tuning)
- 我想知道fine tune的时候terminal会显示cl loss的变化吗(I want to know if the terminal will display the change of cl loss during fine-tuning)
- question about contrastive loss HOT 1
- do we need to change the max_iter according to the number of the shots?
- pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI 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 fsce.