当前位置:网站首页>yoloV5 使用——训练速度慢,加速训练
yoloV5 使用——训练速度慢,加速训练
2022-08-04 05:29:00 【TigerZ*】
conda create --name yolov5 python=3.8
conda activate yolov5 # linux下2、进入conda环境后,按照官方的程序下载源码和安装依赖
$ git clone https://github.com/ultralytics/yolov5
$ cd yolov5
$ pip install -r requirements.txt$ Python
import torch
torch.__version__ # 打印torch版本
torch.cuda.is_available() # 查看GPU是否可用 4、如果GPU不可用,显示如下:


pip uninstall torch
pip uninstall torchvision
$ Python
import torch
torch.__version__ # 打印torch版本
torch.cuda.is_available() # 查看GPU是否可用 DistributedDataParallel而不要再使用老旧的DataParallel方式。

python -m torch.distributed.launch --nproc_per_node 4 train.py --epochs 100 --batch 128 --data ./data/contraband_rmrb.yaml --weights ./yolov5l.pt --device 0,1,2,3边栏推荐
猜你喜欢

【深度学习21天学习挑战赛】0、搭建学习环境
![[Deep Learning 21-Day Learning Challenge] 3. Use a self-made dataset - Convolutional Neural Network (CNN) Weather Recognition](/img/d0/3b8549b9704278e8ec1df03a90f80e.png)
[Deep Learning 21-Day Learning Challenge] 3. Use a self-made dataset - Convolutional Neural Network (CNN) Weather Recognition

fill_between in Matplotlib; np.argsort() function

Usage of RecyclerView

Dictionary feature extraction, text feature extraction.

MySql--存储引擎以及索引

动手学深度学习__数据操作

YOLOV4流程图(方便理解)

TensorFlow2学习笔记:6、过拟合和欠拟合,及其缓解方案

Jupyter Notebook installed library;ModuleNotFoundError: No module named 'plotly' solution.
随机推荐
MySQL leftmost prefix principle [I understand hh]
简单明了,数据库设计三大范式
【深度学习21天学习挑战赛】备忘篇:我们的神经网模型到底长啥样?——model.summary()详解
pytorch学习-没掌握的点
TensorFlow2学习笔记:4、第一个神经网模型,鸢尾花分类
【论文阅读】Multi-View Spectral Clustering with Optimal Neighborhood Laplacian Matrix
Jupyter Notebook安装库;ModuleNotFoundError: No module named ‘plotly‘解决方案。
光条中心提取方法总结(二)
(十六)图的基本操作---两种遍历
图像线性融合
PP-LiteSeg
MySQL最左前缀原则【我看懂了hh】
【CV-Learning】图像分类
审稿意见回复
剑指 Offer 2022/7/5
0, deep learning 21 days learning challenge 】 【 set up learning environment
Matplotlib中的fill_between;np.argsort()函数
DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better 图像去模糊
oracle的number与postgresql的numeric对比
彻底搞懂箱形图分析