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
Hello,
I am replacing a Convolution layer with a Locally connected layer in ResNet (with Faster RCNN). Tensorflow imports this layer from keras and and it says that the dimensions of the input to this layer should be fully defined. When I run it it throws the below error.
So how to make this keras layer dynamic?
Source code / logs
Bottleneck block from Resnet (resnet_v1.py):
Error:
ValueError: The spatial dimensions of the inputs to a LocallyConnected2D layer should be fully-defined, but layer received the inputs shape (1, None, None, 256)
Hello,
I am replacing a Convolution layer with a Locally connected layer in ResNet (with Faster RCNN). Tensorflow imports this layer from keras and and it says that the dimensions of the input to this layer should be fully defined. When I run it it throws the below error.
So how to make this keras layer dynamic?
Source code / logs
Bottleneck block from Resnet (resnet_v1.py):
residual = slim.conv2d(inputs, depth_bottleneck, [1, 1], stride=1, scope='conv1')
residual = Local_connection.LocallyConnected2D(filters=depth_bottleneck, kernel_size=3, strides = (2,2),
data_format='channels_last')(residual)
residual = slim.conv2d(residual, depth, [1, 1], stride=1,activation_fn=None, scope='conv3')
Error:
ValueError: The spatial dimensions of the inputs to a LocallyConnected2D layer should be fully-defined, but layer received the inputs shape (1, None, None, 256)
Link to the keras layer (check line 309):
https://github.com/tensorflow/models/issues/url
The text was updated successfully, but these errors were encountered: