]> git.sesse.net Git - ffmpeg/commit
dnn: change .model file format to put layer number at the end of file
authorGuo, Yejun <yejun.guo@intel.com>
Thu, 29 Aug 2019 05:53:41 +0000 (13:53 +0800)
committerPedro Arthur <bygrandao@gmail.com>
Fri, 30 Aug 2019 14:41:30 +0000 (11:41 -0300)
commit2d5e39c13e500f96a18729ac16472ff69f8d2cfe
tree79343e50f7dc0efe36ba8f108d71f9e88e912f39
parent09a455a24649af36e8eea81029be7a410201be4c
dnn: change .model file format to put layer number at the end of file

currently, the layer number is at the beginning of the .model file,
so we have to scan twice in python script, the first scan to get the
layer number. Only one scan needed after put the layer number at the
end of .model file.

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
libavfilter/dnn/dnn_backend_native.c
tools/python/convert_from_tensorflow.py