Tensorflow 训练模型速度
Tensorflow trained model speed
我是 Tensorflow 新手,我正在尝试训练 1 class 对象检测模型。特别是我正在尝试识别如下箭头:
我需要非常快速的识别,所以我开始想知道预训练模型是否可以包含这种形状。
不幸的是没有找到任何类似的东西,因此我开始使用 faster_rcnn_inception_v2_coco_2018_01_28.
作为模型自己训练箭头
我正在使用他的管道配置,我也在使用他的 fine_tune_checkpoint,考虑到我必须训练一个完全不同的对象,这样对吗?
结果是训练的准确性非常好但速度很慢。我需要提高帧率,我还不明白 "training loss" 越少 "object recognition speed" 越多,还是不。
关于如何加快检测的任何建议?
I'm using his pipeline config, and I'm using his fine_tune_checkpoint
as well, is this right considering that I have to train a completely
different object?
是的!每次你想改变深度神经网络的输出时,你都应该采用预训练模型。从头开始训练模型可能需要数周时间,而且您永远无法自行生成足够的数据。采用预训练模型并对其进行微调是一种可行的方法。
I didn't understand yet if the
less is the "training loss" the more is the "object recognition
speed", or not.
没有。训练损失只是告诉您模型在训练集方面的表现如何。
您遇到的问题是典型的速度与准确性权衡。我鼓励您查看 this table 并找到一个对您来说足够快(即最低 运行 时间)但具有不错准确性的模型。我会先在这里查看 SSD
。
The result is a training with a very good accuracy but very low speed.
您的算法执行多少 FPS?
由于您已经准备好数据集,我建议使用 Tiny-Yolo,它在 COCO 数据集上执行 244 FPS https://pjreddie.com/darknet/yolo/
如果你使用这个 repository
,那么为 Tiny-Yolo 准备训练数据集会非常容易
和
I didn't understand yet if the less is the "training loss" the more is the "object recognition speed"
训练损失与速度无关。
我是 Tensorflow 新手,我正在尝试训练 1 class 对象检测模型。特别是我正在尝试识别如下箭头:
我需要非常快速的识别,所以我开始想知道预训练模型是否可以包含这种形状。 不幸的是没有找到任何类似的东西,因此我开始使用 faster_rcnn_inception_v2_coco_2018_01_28.
作为模型自己训练箭头我正在使用他的管道配置,我也在使用他的 fine_tune_checkpoint,考虑到我必须训练一个完全不同的对象,这样对吗?
结果是训练的准确性非常好但速度很慢。我需要提高帧率,我还不明白 "training loss" 越少 "object recognition speed" 越多,还是不。
关于如何加快检测的任何建议?
I'm using his pipeline config, and I'm using his fine_tune_checkpoint as well, is this right considering that I have to train a completely different object?
是的!每次你想改变深度神经网络的输出时,你都应该采用预训练模型。从头开始训练模型可能需要数周时间,而且您永远无法自行生成足够的数据。采用预训练模型并对其进行微调是一种可行的方法。
I didn't understand yet if the less is the "training loss" the more is the "object recognition speed", or not.
没有。训练损失只是告诉您模型在训练集方面的表现如何。
您遇到的问题是典型的速度与准确性权衡。我鼓励您查看 this table 并找到一个对您来说足够快(即最低 运行 时间)但具有不错准确性的模型。我会先在这里查看 SSD
。
The result is a training with a very good accuracy but very low speed.
您的算法执行多少 FPS? 由于您已经准备好数据集,我建议使用 Tiny-Yolo,它在 COCO 数据集上执行 244 FPS https://pjreddie.com/darknet/yolo/
如果你使用这个 repository
,那么为 Tiny-Yolo 准备训练数据集会非常容易和
I didn't understand yet if the less is the "training loss" the more is the "object recognition speed"
训练损失与速度无关。