python - 训练新的 Yolo 模型是否需要调整图像大小?

标签 python tensorflow yolo darknet darkflow

I would like to train a new model using my own dataset. I will be using Darkflow/Tensorflow for it.

关于我的疑惑:

(1) 我们是否应该将训练图像调整为特定大小?

(2) 我认为较小的图像可能会节省时间,但较小的图像会损害准确性吗?

(3) 那么对于要预测的图像,我们是否也应该调整它们的大小呢?还是不需要?

最佳答案

(1) 它已经在.cfg 文件中使用random=1 调整了它的大小。答案是"is"。图像的输入分辨率是相同的。你可以自己调整它或者Yolo 可以做吧。

(2)如果你的硬件足够好,我建议你使用大尺寸的图像。另外建议,如果你将使用网络摄像头,使用与网络摄像头使用的分辨率相同的图像。

(3)是的,和训练一样。

关于python - 训练新的 Yolo 模型是否需要调整图像大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51505729/

相关文章:

python - 同时使用 GUI 和 CLI 与我的应用程序交互

Python 程序未按预期运行

image - Tensorflow - 洗牌和分割图像和标签的数据集

YOLO(暗网): How to change the output file directory of a detection (predictions. jpg)?

machine-learning - YOLOv3的损失函数是什么

python - 如何解决ModuleNotFoundError : No module named 'openpyxl.cell._writer' ?

python - 我如何只获得模型中的时间

python - 机器学习: Converting bash script into Python

tensorflow - 在测试期间重新加载 Keras Tokenizer

c# - 如何在 C# 中检测图像中的对象?