Comments (20)
Traceback (most recent call last):
File "demo/demo.py", line 74, in
demo = VisualizationDemo(cfg)
File "/nfs/project/huangzhipeng/tools/opensorce/AdelaiDet/demo/predictor.py", line 37, in init
self.predictor = DefaultPredictor(cfg)
File "/home/huangzhipeng/miniconda3/envs/blendmask/lib/python3.7/site-packages/detectron2/engine/defaults.py", line 184, in init
self.model = build_model(self.cfg)
File "/home/huangzhipeng/miniconda3/envs/blendmask/lib/python3.7/site-packages/detectron2/modeling/meta_arch/build.py", line 21, in build_model
model = META_ARCH_REGISTRY.get(meta_arch)(cfg)
File "/nfs/project/huangzhipeng/tools/opensorce/AdelaiDet/adet/modeling/blendmask/blendmask.py", line 58, in init
pixel_mean = torch.Tensor(cfg.MODEL.PIXEL_MEAN).to(self.device).view(3, 1, 1)
File "/home/huangzhipeng/miniconda3/envs/blendmask/lib/python3.7/site-packages/torch/cuda/init.py", line 149, in _lazy_init
_check_driver()
File "/home/huangzhipeng/miniconda3/envs/blendmask/lib/python3.7/site-packages/torch/cuda/init.py", line 63, in _check_driver
of the CUDA driver.""".format(str(torch._C._cuda_getDriverVersion())))
AssertionError:
The NVIDIA driver on your system is too old (found version 10010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.
from adelaidet.
my cuda version is CUDA Version 10.0.130
CUDA Patch Version 10.0.130.1
from adelaidet.
Hi zhepherd, AdelaiDet supports CUDA 10.0.
Please make sure you have compiled AdelaiDet with the same cuda as your python runtime. This error typically happens when the cuda in your python environment is of a lower version.
Also, you can check official Detectron2 demos. If those work, BlendMask should also work.
from adelaidet.
which python version need??my python version is 3.7
from adelaidet.
@zhepherd same as Detectron2, python >= 3.6
from adelaidet.
my python is 3.7 why has cuda error? i try as detectron2 install.md,but also has the error! pls help
from adelaidet.
from adelaidet.
@zhepherd As I said before, it is probably because you did not compile detectron2/AdelaiDet with the same cuda as your python runtime.
Please make sure you have installed the correct precompiled detectron2 or have compiled with the right nvcc.
I also suggest you go to Detectron2's repo for help.
from adelaidet.
i am think i compile detectron2 with the same cuda as my python runtime
from adelaidet.
from adelaidet.
So how did you install pytorch?
If with conda, please try
conda list | grep torch
and make sure torch is compiled with the same version of CUDA
from adelaidet.
from adelaidet.
It seems to me the torch version you installed is not compiled to support CUDA 10.0.
The NVIDIA driver on your system is too old (found version 10010).
Please update your GPU driver by downloading and installing a new
version from the URL: http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install
a PyTorch version that has been compiled with your version
of the CUDA driver.
from adelaidet.
which torch and torchvision should i install ?
from adelaidet.
if you insist on using cuda 10.0, try pytorch 1.3 with cuda 10.0. Remember to specify the CUDA version when you install.
from adelaidet.
specify cuda version when install ? how to specify? not the sys default cuda 10.0?
from adelaidet.
Something like this
pip install torch==1.3.1+cu100 torchvision==0.4.2+cu100 -f https://download.pytorch.org/whl/torch_stable.html
or this
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
If you have further questions, join our discord channel here
The issues are for bug reports and feature requests. Not general QAs
from adelaidet.
i look my runtime cuda ,find is not the same as sys cuda
from adelaidet.
i solve this problem after update the nvidia driver,but has anther problem
from adelaidet.
thx very much, i solve this problem after reinstall ,thx very much for help!!! @stan-haochen
from adelaidet.
Related Issues (20)
- 想问一下数BoxInst做自己的数据集时候,用labelme标注同一类别不同实例如何命名呢?I would like to ask how to name different instances of the same category with labelme when using BoxInst as your own data set? HOT 1
- How do we understand '_C' in adet? HOT 4
- FileNotFoundError: [Errno 2] No such file or directory: 'datasets/totaltext/weak_voc_new.txt'
- AsyncPredictor cost more time
- Blendmask changes the bifpn problem HOT 2
- detectron2的注册机制 HOT 1
- Hi,how to determine the control points of Bezier curve when generating Bezier curve for polygonal label curved text? HOT 1
- ABCNetv2 long text detect
- Why dice smoothing only applied in denominator?
- 对于文本不是正的Bazier曲线拉直
- Installation issue on google colab HOT 4
- RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu) when run demo.py in colab HOT 2
- when training boxinst,the pairwise loss is increasing,why? HOT 1
- Keyerror in convert_fcos_weights.py
- About the problem that the picture is blurred after biezeralign processing
- export the model into torchscript
- How can i install on cpu?
- _pickle.UnpicklingError: invalid load key, '<'. HOT 1
- How to do model.pth to model.pt , HOT 1
- ABCNet data clockwise ? HOT 2
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 adelaidet.