Skip to content

Conversation

@vyokky
Copy link
Contributor

@vyokky vyokky commented Nov 24, 2017

Add deformable CNN and ConvLSTM

add Deformable CNN and ConvLSTM
add Deformable CNN and ConvLSTM
@zsdonghao zsdonghao merged commit c2fe7c7 into tensorlayer:master Nov 24, 2017
@zsdonghao
Copy link
Member

zsdonghao commented Nov 24, 2017

this is an amazing contribution @vyokky thank you very much.

btw, I updated the code for documentation.

@vyokky
Copy link
Contributor Author

vyokky commented Nov 24, 2017

Thanks. I will continue to contribute to this project in the future.

@vyokky
Copy link
Contributor Author

vyokky commented Nov 25, 2017

Hi, I find that the deformable CNN depends on tensorflow 1.4. If this is a problem I can fix later.

@zsdonghao
Copy link
Member

@vyokky TF1.4 doesn't matter, probably adding the following code in deformable CNN API can give some hint to others when error happen.

if tf.__version__ < "1.4":
      raise Exception("xxx")

@zsdonghao
Copy link
Member

hi, it seems you miss some code in the pr.

NameError: name '_get_vals_by_coords' is not defined

@zsdonghao
Copy link
Member

Hi @vyokky , could you provide an example code to use ConvLSTMLayer ?

Many thanks.

@vyokky
Copy link
Contributor Author

vyokky commented Mar 14, 2018

Hello,

Please find the example code below:

network = tl.layers.ConvLSTMLayer(
      network, 
      cell_shape = (11, 11), 
      filter_size=(3, 3), 
      cell_fn = tl.layers.BasicConvLSTMCell, 
      n_steps = 12, 
      feature_map = 3,  
      name='convlstm')

I notice that TF has released a build-in ConvLSTM cell which I will incorporate into TL soon.

luomai pushed a commit that referenced this pull request Nov 21, 2018
Add deformable CNN and ConvLSTM by @vyokky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants