A
A
Alexey Belov2019-07-06 16:59:10
Neural networks
Alexey Belov, 2019-07-06 16:59:10

How to achieve this look in a convolutional network?

I would like to get the following result:
5d20a8e16812f166661125.png
I'm trying to repeat someone else's mesh, but for some reason everything turns out differently on the fully_connected layer.
The Reshape layer appears and there is no multiplication by 40 in the fully_connected layer
5d20a8d8f2659956186848.png

conv7 = conv2d(conv6, weights['wc7'], biases['bc7'])

    # Fully connected layer
    fc1 = tf.contrib.layers.fully_connected(conv7, int(biases['bc8'].get_shape()[0]), activation_fn=tf.nn.relu, weights_initializer=None)

    sfm = tf.nn.softmax(
        fc1,
        axis=None,
        name="labels_softmax",
        dim=None
    )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivodopyanov, 2019-07-08
@ivodopyanov

In theory, you need to insert reshape before fully connected to bring (None, 10, 4, 32) -> (None, 1280)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question