You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was intended to use your SpatialTransformer layer, but it just doesn't work (tensorflow 2.3).
First my problem was that the SpatialTransformer2dAffine/forward function returned with a tensor with wrong shape (including Nones), but it could be fixed by changing the line
batch_size=theta_input.shape[0]
to
batch_size=tf.shape(theta_input)[0]
After I fixed this, the python interpreter stopped at tensorlayer.layers.core.Layer/_add_node, because the tensor objects have no _info attribute.
Can you please double-check if your spatial transformer works as intended under tf2? Thanks. ^^
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Issue Description
I was intended to use your SpatialTransformer layer, but it just doesn't work (tensorflow 2.3).
First my problem was that the SpatialTransformer2dAffine/forward function returned with a tensor with wrong shape (including Nones), but it could be fixed by changing the line
to
After I fixed this, the python interpreter stopped at tensorlayer.layers.core.Layer/_add_node, because the tensor objects have no _info attribute.
Can you please double-check if your spatial transformer works as intended under tf2? Thanks. ^^
The text was updated successfully, but these errors were encountered: