tdeboissiere / DeepLearningImplementations

Implementation of recent Deep Learning papers
MIT License
1.81k stars 650 forks source link

Issue running the code with tensorflow backend #37

Closed madhumitabehera closed 7 years ago

madhumitabehera commented 7 years ago

I am trying replicate your work on tensorflow as backend. The Decovnet seems pretty generic code however i am getting error at

Tensor for function definitions

self.x = K.T.tensor4('x') what exactly can be changed here for tensorflow to make the same code work.

tdeboissiere commented 7 years ago

You're looking at creating a tensor of 4 dimensions. Have a look at tensorflow's documentation to find the theano equivalent