zh/modes/train/ #8251
Replies: 28 comments 58 replies
-
这个翻译太那啥了吧, train翻译成火车? |
Beta Was this translation helpful? Give feedback.
-
我想了解一下,AMD的7900XTX能进行调用训练吗?我发现在pytorch当中已经出现了ROCm5.7和ROCm6.0的支持 |
Beta Was this translation helpful? Give feedback.
-
谢谢你们开发了这么完善的 yolov8🙏, |
Beta Was this translation helpful? Give feedback.
-
Hello, how can I retain the ability of the preprocessor model to recognize certain classes when training a new model ? For example, the new model still retains the old model, like yolov8n.pt, the ability to recognize a person |
Beta Was this translation helpful? Give feedback.
-
您好,请问我在train时和val时使用多个数据集,类似如下的yaml文件应该怎么配置指定的labels路径呢? |
Beta Was this translation helpful? Give feedback.
-
Hello!"Can YOLOv8 detect lane lines?" |
Beta Was this translation helpful? Give feedback.
-
您好,为什么我训练过程中保存的best.pt和last.pt模型文件(200MB)比官方提供的预训练模型yolov8m.pt(50MB)大很多?以及如果我希望用我训练出来的best.pt来进行预测,我也是直接model = YOLO('best.pt')就可以吗?期待您的回复。 |
Beta Was this translation helpful? Give feedback.
-
你好,请问在目标识别预测测试集的时候,只能预测图像的结果和坐标什么的吗。有没有什么能计算出像训练时候验证集的评价指标的东西来评价测试集。就是测试集的什么精确率召回率,怎么计算。希望解答,谢谢。 |
Beta Was this translation helpful? Give feedback.
-
您好,当我用python -m torch.distributed.run --nproc_per_node x train.py来进行多GPU训练时,每块GPU得到的batch-size是batch-size/num_gpu还是完整的batch-size?之所以会产生这个疑问,是因为我发现当设置同样的batch-size时,4GPU训练的精度似乎并不如2GPU。 |
Beta Was this translation helpful? Give feedback.
-
model = YOLO('yolov8n.pt') # 加载预训练模型(推荐用于训练) 官方文档描述 训练模型,第一次训练100轮,查看训练图型 results.png 正常,重新训练100轮,results.png 出现过拟合现象, |
Beta Was this translation helpful? Give feedback.
-
model = YOLO('yolov8n.pt') # 加载预训练模型(推荐用于训练) 官方文档描述 训练模型,第一次训练100轮,查看训练图型 results.png 正常,重新训练100轮,results.png 出现过拟合现象, |
Beta Was this translation helpful? Give feedback.
-
您好,我想修改一下模型的损失函数,因为我的数据集涉及到数据不均衡问题,所以想使用focal loss,我该在哪里修改呢? |
Beta Was this translation helpful? Give feedback.
-
How to freeze weights for other classes and train weights for new classes only on the training set. |
Beta Was this translation helpful? Give feedback.
-
How can you use yolov8 to train only on new class data sets to achieve incremental learning without forgetting previous detection capabilities。 |
Beta Was this translation helpful? Give feedback.
-
您好,我想让一个数据集被多个模型训练,但是数据集被模型读取后会在datasets文件下生成labels.cache文件,而该文件无法被其他模型使用,所以请问有没有修改方法能够使得模型读取数据集后不生成labels.cache文件,或者能够使一个数据集文件被多个模型同时训练使用呢?万分感谢!Thank you! |
Beta Was this translation helpful? Give feedback.
-
我想用一个python脚本连续训练两个模型,但发现训练完第一个模型后就会出错,请问应该怎么训练多个模型? |
Beta Was this translation helpful? Give feedback.
-
请问在模型训练时,如何不使用albumentation库进行数据增广?在yaml配置文件中没有albumentation相关选项 |
Beta Was this translation helpful? Give feedback.
-
Hi I'm new to this and I was wondering how the .yaml file should be configured to train its own dataset. I didn't find a tutorial about it on our webpage. |
Beta Was this translation helpful? Give feedback.
-
请问YOLOv8模型如何保留其对人的识别能力,并在其基础上添加其他(自己训练其他类别)的目标检测? |
Beta Was this translation helpful? Give feedback.
-
为什么我使用自己训练好的权重去训练会报错?RuntimeError:
|
Beta Was this translation helpful? Give feedback.
-
您好,看到这个教程中可以利用setting来修改预设的参数,尝试了一下并没有生效还是会输出默认的参数,请问一下现在的yolov10-main代码库能用setting来修改预设参数吗?具体代码如下: |
Beta Was this translation helpful? Give feedback.
-
Why do I always get an error when using the GhostConv module from the source code File "D:\ultralyticsain-multralytics\n\modules\block.py", line 698, in init |
Beta Was this translation helpful? Give feedback.
-
您好,我想问两个问题: |
Beta Was this translation helpful? Give feedback.
-
您好,我想在原来17个关键点的基础上,增加新的关键点识别,我在原来的数据集上增加了新的关键点,训练的时候应该怎么去训练,可以保留原来的17个关键点的识别,并且有支持新增关键点识别呢 |
Beta Was this translation helpful? Give feedback.
-
您好: # Build a custom model from YAML, transfer pretrained weights to it and start training on single gpu
yolo detect train model=yolov8_custom.yaml pretrained=yolov8s.pt device=0 脚本2: # Build a custom model from YAML, transfer pretrained weights to it and start training on single gpu
yolo detect train model=yolov8_custom.yaml pretrained=yolov8s.pt device=0, 1 |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to ask if I can modify the number of epochs during breakpoints, i.e. can I increase or decrease the number of epochs? How can I do that? |
Beta Was this translation helpful? Give feedback.
-
Hi, when I train the yolov8 model, the training parameter printed out is ‘augment=False’, does it mean that data augmentation is not enabled during training? |
Beta Was this translation helpful? Give feedback.
-
zh/modes/train/
使用Ultralytics YOLO 训练YOLOv8 模型的分步指南,包括单 GPU 和多 GPU 训练示例
https://docs.ultralytics.com/zh/modes/train/?h=%E8%8B%B9%E6%9E%9C
Beta Was this translation helpful? Give feedback.
All reactions