- 博客(4)
- 收藏
- 关注
原创 Pytorch使用CPU
运行代码后出现“Torch not compiled with CUDA enabled”错误 原因:电脑上没安装cuda报错 解决办法: device = torch.device("cuda:" + str(self.params['gpu_id']) if torch.cuda.is_available() else "cpu") 把有.cuda() 的地方都换成.to(device)或者换成 .to(device="cpu") ...
2020-12-29 20:41:28
4597
2
原创 keras运行yolov4
tensorflow:1.15 keras:2.3.1 参照博客 https://blog.youkuaiyun.com/weixin_43811753/article/details/106734043
2020-07-02 21:46:16
828
原创 windows下安装tensorflow 与keras
1,查看anaconda安装了哪些 conda info --envs 2,查看tensorflow版本 activate tensorflow python import tensorflow as tf print(tf.__version__) 3,查看keras版本 在anaconda中依次输入命令 activate tensorflow python import keras print(keras.__version__) 4,tensorflow与keras版本对应关系 参照 http
2020-07-02 11:53:44
817
原创 使用labelme和labelimg进行图像标注
1、下载anaconda 2、安装好之后点击 Ananconda Prompt 进去,依次输入: conda create --name=labelme python=3.7 activate labelme conda install pyqt5(若Python版本低于3.0,则输入conda install pyqt) pip install labelme (注:有时候需要自己的选择,...
2020-03-09 16:09:30
3710
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅