当前位置:网站首页>AssertionError: CUDA unavailable, invalid device 0 requested
AssertionError: CUDA unavailable, invalid device 0 requested
2022-06-25 01:34:00 【Little markk】
In the use of yolov5 During training , Prompt this error , see torch.cuda.is_available() The return value is false
see nvidia-smi Information can be seen
Due to previous use conda Installed torch1.9.0
Use here pip reinstall :
pip3 install torch == 1.9.0+cu111 torchvision == 0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html
After installation , Re execution torch.cuda.is_available() when
You can see the correct result
Reference resources :AssertionError: CUDA unavailable, invalid device 0 requested_ eliminate BUG Duck blog -CSDN Blog _cuda unavailable
边栏推荐
- Deep learning LSTM model for stock analysis and prediction
- Abnova丨5-甲基胞嘧啶多克隆抗体中英文说明
- CCNP的BGP部分笔记
- Tencent cloud wecity Industry joint collaborative innovation to celebrate the New Year!
- 字符串常用方法
- Some Modest Advice for Graduate Students - by Stephen C. Stearns, Ph.D.
- How to store dataframe data in pandas into MySQL
- 这个国庆!腾讯云WeCity陪您一同出行,点亮城市地标...
- 15.线程同步的几种方法
- 胰蛋白酶中英文说明书
猜你喜欢
新一代可级联的以太网远程I/O数据采集模块
Cobalt strike installation tutorial
Pbcms adding cyclic digital labels
1. package your own scaffold 2 Create code module
Abnova a4gnt polyclonal antibody
(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
15.线程同步的几种方法
Assembly language (4) function transfer parameters
Bi-sql select into
同一服务器两个端口不同的应用session覆盖解决方案
随机推荐
Deoxyribonuclease I instructions in Chinese and English
Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations
Bi SQL alias
matlab 取整
Is it reliable to open an account on the flush with a mobile phone? Is there any hidden danger in this way
Tencent moved!
15. several methods of thread synchronization
Bi-sql - join
ICML2022 | 用神经控制微分方程建立反事实结果的连续时间模型
PHP easywechat and applet realize long-term subscription message push
Bi SQL drop & alter
音频PCM数据计算声音分贝值,实现简单VAD功能
高考之后,必然会出现以下四种情况:
TC对象结构和简称
Audio PCM data calculates sound decibel value to realize simple VAD function
结合实操带你吃透Redis持久化
Abnova丨5-甲基胞嘧啶多克隆抗体中英文说明
在两个有序数组中找到整体第K小的数可以做到O(log(Min(M,N)))
梦想CAD云图与GIS结合演示
Texture enhancement