I am getting the following error in the method _init_inception() after fixing
o.set_shape(tf.TensorShape(new_shape))
The error is
ValueError: Shape must be rank 2 but is rank 1 for 'MatMul' (op: 'MatMul') with input shapes: [2048], [2048,1008].
which is in line 93
logits = tf.matmul(tf.squeeze(pool3), w)
I am getting the following error in the method _init_inception() after fixing
o.set_shape(tf.TensorShape(new_shape))
The error isValueError: Shape must be rank 2 but is rank 1 for 'MatMul' (op: 'MatMul') with input shapes: [2048], [2048,1008].
which is in line 93
logits = tf.matmul(tf.squeeze(pool3), w)