[FFmpeg-devel] [PATCH 2/2] libavfilter: Removes stored DNN models. Adds support for native backend model file format in tf backend.

Pedro Arthur bygrandao at gmail.com
Fri Aug 17 17:46:11 EEST 2018


Hi,

You did not provided any pre trained model files, so anyone trying to
test it has to perform the whole training!
I'm attaching the models I generated, if anyone is interested in testing it.

When applying the filter with tf backend there are artifacts in the
borders, for both srcnn and espcn (out_[srcnn|espcn]_tf.jpg).
It seems that a few lines in the top row of the image are repeated for
espcn using native backend (out_srcnn_nt.jpg).

The model/model_filename options are not coherent, the model type
should be defined in the file anyway therefore there is no need for
both options.
It is also buggy, if you specify the model_filename but not the model
type it will default to srcnn even if the model file is for espcn, no
error is generated and the output ofc is buggy.

I personally would prefer to use only model=file as it is shorter than
model_filename=file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: espcn.model
Type: application/octet-stream
Size: 85208 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180817/ac78e146/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: srcnn.model
Type: application/octet-stream
Size: 32580 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180817/ac78e146/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out_espcn_nt.jpg
Type: image/jpeg
Size: 112253 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180817/ac78e146/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out_espcn_tf.jpg
Type: image/jpeg
Size: 114711 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180817/ac78e146/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out_srcnn_tf.jpg
Type: image/jpeg
Size: 113519 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180817/ac78e146/attachment-0002.jpg>


More information about the ffmpeg-devel mailing list