当前位置:网站首页>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边栏推荐
猜你喜欢

Jupyter Notebook installed library;ModuleNotFoundError: No module named 'plotly' solution.

TensorFlow2 study notes: 5. Common activation functions

(九)哈希表

【CV-Learning】语义分割

Linear Regression 02---Boston Housing Price Prediction

【论文阅读】Anchor-Free Person Search

简单说Q-Q图;stats.probplot(QQ图)

Introduction of linear regression 01 - API use cases

fill_between in Matplotlib; np.argsort() function

Install dlib step pit record, error: WARNING: pip is configured with locations that require TLS/SSL
随机推荐
Various commands such as creating a new user in postgresql
Pytorch问题总结
SQL练习 2022/7/5
Usage of Thread, Handler and IntentService
sklearn中的pipeline机制
[Go language entry notes] 13. Structure (struct)
yolov3中数据读入(一)
Postgresql 快照
Logistic Regression --- Introduction, API Introduction, Case: Cancer Classification Prediction, Classification Evaluation, and ROC Curve and AUC Metrics
线性回归02---波士顿房价预测
光条中心提取方法总结(一)
(十三)二叉排序树
TensorFlow2 study notes: 6. Overfitting and underfitting, and their mitigation solutions
【CV-Learning】目标检测&实例分割
【CV-Learning】线性分类器(SVM基础)
Halcon缺陷检测
Endnote编辑参考文献
彻底搞懂箱形图分析
【CV-Learning】Image Classification
TensorFlow2 study notes: 7. Optimizer