albertomontesg / keras-model-zoo

Keras Model Zoo
208 stars 28 forks source link

Can the pre-trained model easily transferred to be used in Tensorflow? #5

Closed bryanyzhu closed 8 years ago

bryanyzhu commented 8 years ago

Hi @albertomontesg thanks for the great work. If i want to use Tensorflow to do video classification task with C3D model. is there an easy way to load the Sports-1M pre-trained model? Thanks.

albertomontesg commented 8 years ago

Hi @bryanyzhu, at this moment Tensorflow does not support 3D convolution and pooling so its not possible to operate with this framework. Checking the issues, they are finishing to work internally to implement them, so stay tuned about it. When they release this feature, it will be necessary to wait until Keras implements the 3D convolution with the Tensorflow backend and then it would be possible to work with the C3D model on Tensorflow. At this moment I recommend to try using Theano backend.

bryanyzhu commented 8 years ago

Thanks a lot, I got it. @albertomontesg

futurely commented 8 years ago

https://github.com/tensorflow/tensorflow/pull/2213#issuecomment-217081951

hx173149 commented 8 years ago

example code for c3d to ufc101 dataset: https://github.com/hx173149/C3D-tensorflow and the pretrained model sports1M have been finetuning to UCF101,you can download them from here: https://www.dropbox.com/sh/8wcjrcadx4r31ux/AAAkz3dQ706pPO8ZavrztRCca?dl=0

chuckcho commented 7 years ago

Also, my instructions / scripts may be of help: https://github.com/chuckcho/c3d-keras/