Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-08 Thread Pedro Arthur
Pushed. Thanks. 2018-06-07 12:29 GMT-03:00 Sergey Lavrushkin : > 2018-06-06 17:22 GMT+03:00 Pedro Arthur : >> >> Hi, >> >> 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : >> > Here is the patch, that fixes described issues. >> When I try to run (video input), when tf is not enabled in configure

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-07 Thread Sergey Lavrushkin
2018-06-06 17:22 GMT+03:00 Pedro Arthur : > Hi, > > 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : > > Here is the patch, that fixes described issues. > When I try to run (video input), when tf is not enabled in configure it > crashes. > > > $ffmpeg -i in.mp4 -vf srcnn=dnn_backend=tensorflow

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-06 Thread Pedro Arthur
Hi, 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : > Here is the patch, that fixes described issues. When I try to run (video input), when tf is not enabled in configure it crashes. $ffmpeg -i in.mp4 -vf srcnn=dnn_backend=tensorflow out.mp4 ffmpeg version N-91232-g256386fd3e Copyright (c)

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread Sergey Lavrushkin
2018-06-05 17:20 GMT+03:00 James Almer : > On 6/3/2018 3:02 PM, Sergey Lavrushkin wrote: > > diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c > > index d6efe9b478..5c5e26b33a 100644 > > --- a/libavfilter/vf_srcnn.c > > +++ b/libavfilter/vf_srcnn.c > > @@ -41,7 +41,6 @@ typedef struct

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread James Almer
On 6/3/2018 3:02 PM, Sergey Lavrushkin wrote: > diff --git a/libavfilter/vf_srcnn.c b/libavfilter/vf_srcnn.c > index d6efe9b478..5c5e26b33a 100644 > --- a/libavfilter/vf_srcnn.c > +++ b/libavfilter/vf_srcnn.c > @@ -41,7 +41,6 @@ typedef struct SRCNNContext { > DNNData input_output; > }

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-05 Thread Pedro Arthur
Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-04 Thread Pedro Arthur
2018-06-03 17:05 GMT-03:00 Pedro Arthur : > 2018-06-03 16:55 GMT-03:00 Sergey Lavrushkin : >>> My concern is when we add more models, currently we have to store 2 >>> models, one for the "native" implementation and one for the TF >>> backend. >>> There is also the case were one wants to update the

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-03 Thread Pedro Arthur
2018-06-03 16:55 GMT-03:00 Sergey Lavrushkin : >> My concern is when we add more models, currently we have to store 2 >> models, one for the "native" implementation and one for the TF >> backend. >> There is also the case were one wants to update the weights for a >> model, it will be necessary to

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-03 Thread Sergey Lavrushkin
> > My concern is when we add more models, currently we have to store 2 > models, one for the "native" implementation and one for the TF > backend. > There is also the case were one wants to update the weights for a > model, it will be necessary to update both the native and TF data. > Having

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-03 Thread Pedro Arthur
2018-06-03 15:25 GMT-03:00 Sergey Lavrushkin : > 2018-06-03 19:57 GMT+03:00 Pedro Arthur : >> >> 2018-05-31 12:01 GMT-03:00 Sergey Lavrushkin : >> > Hello, >> > >> > This patch introduces TensorFlow backend for DNN inference module. >> > This backend uses TensorFlow binary models and requires from

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-03 Thread Sergey Lavrushkin
2018-06-03 19:57 GMT+03:00 Pedro Arthur : > 2018-05-31 12:01 GMT-03:00 Sergey Lavrushkin : > > Hello, > > > > This patch introduces TensorFlow backend for DNN inference module. > > This backend uses TensorFlow binary models and requires from model > > to have the operation named 'x' as an input

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-03 Thread Pedro Arthur
2018-05-31 12:01 GMT-03:00 Sergey Lavrushkin : > Hello, > > This patch introduces TensorFlow backend for DNN inference module. > This backend uses TensorFlow binary models and requires from model > to have the operation named 'x' as an input operation and the operation > named 'y' as an output

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread James Almer
On 6/2/2018 3:45 PM, Sergey Lavrushkin wrote: > 2018-06-02 19:45 GMT+03:00 James Almer >: > > On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > > diff --git a/Changelog b/Changelog > > index df2024fb59..a667fd045d 100644 > > --- a/Changelog > > +++

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread Sergey Lavrushkin
2018-06-02 19:45 GMT+03:00 James Almer : > On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > > diff --git a/Changelog b/Changelog > > index df2024fb59..a667fd045d 100644 > > --- a/Changelog > > +++ b/Changelog > > @@ -11,6 +11,7 @@ version : > > - support mbedTLS based TLS > > - DNN inference

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread James Almer
On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > diff --git a/Changelog b/Changelog > index df2024fb59..a667fd045d 100644 > --- a/Changelog > +++ b/Changelog > @@ -11,6 +11,7 @@ version : > - support mbedTLS based TLS > - DNN inference interface > - Reimplemented SRCNN filter using DNN

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-01 Thread Sergey Lavrushkin
2018-06-01 6:09 GMT+03:00 Guo, Yejun : > Did you try to build ffmpeg with TENSORFLOW_BACKEND enabled, and run it > without TF library? This case is possible when an end user install > pre-built package on a machine without TF library. > > In function init, the logic is to fall back to cpu path

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-05-31 Thread Guo, Yejun
shkin Sent: Thursday, May 31, 2018 11:01 PM To: FFmpeg development discussions and patches Cc: Pedro Arthur Subject: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module Hello, This patch introduces TensorFlow backend for DNN inference module. This backend uses TensorFlow