当前位置:网站首页>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.htmlAfter 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
边栏推荐
- PHP 利用getid3 获取mp3、mp4、wav等媒体文件时长等数据
- 脱氧核糖核酸酶I中英文说明书
- Tianshu night reading notes -- disassembly engine xde32
- (CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds
- MySQL gets the primary key and table structure of the table
- 为猪脸识别而进行自己数据集的构建、训练「建议收藏」
- Poj3669 meteor shower (BFS pretreatment)
- 期望与方差
- Ideas and examples of divide and conquer
- Hands on data analysis data modeling and model evaluation
猜你喜欢
The latest QQ wechat domain name anti red PHP program source code + forced jump to open

1. 封装自己的脚手架 2.创建代码模块

15. several methods of thread synchronization
![最长连续序列[扩散法+空间换时间]](/img/db/7b0d1b0db7015e887340723505153a.png)
最长连续序列[扩散法+空间换时间]

Install mysql5.6 under linux64bit - the root password cannot be modified

(CVPR 2020) Learning Object Bounding Boxes for 3D Instance Segmentation on Point Clouds

Powerbi - for you who are learning

Icml2022 | establishing a continuous time model of counterfactual results using neural control differential equations

Bi SQL constraints

"One good programmer is worth five ordinary programmers!"
随机推荐
How much commission does CICC wealth securities open an account? Is stock account opening and trading safe and reliable?
MySQL gets the primary key and table structure of the table
腾讯完成全面上云 打造国内最大云原生实践
期望与方差
C语言边界计算和不对称边界
void* 指针
音频PCM数据计算声音分贝值,实现简单VAD功能
修身励学篇
lnmp环境安装ffmpeg,并在Yii2中使用
TC对象结构和简称
Audio PCM data calculates sound decibel value to realize simple VAD function
Reading notes at night -- deep into virtual function
胰蛋白酶中英文说明书
Powerbi - for you who are learning
Assembly language (3) 16 bit assembly basic framework and addition and subtraction loop
数组中关于sizeof()和strlen
Combined with practice, you will understand redis persistence
Tencent cloud wecity Industry joint collaborative innovation to celebrate the New Year!
最长连续序列[扩散法+空间换时间]
Basic knowledge of assembly language (2) -debug