google-research / google-research/morph-net

Does MorphNet support conv3d?

Open
#61 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1k
Forks
151
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm applying MorphNet on tf.contrib.layers.conv3d(), but it seems that no ops are found.
`INFO:tensorflow:OpRegularizerManager starting analysis from: [].`
`INFO:tensorflow:OpRegularizerManager found 46 ops and 0 sources.`
`INFO:tensorflow:OpRegularizerManager regularizing 0 groups.`
`WARNING:tensorflow:No supported ops found.`

Here is my code:
`imgs = tf.placeholder(tf.float32, (4, 8, 24, 24, 3))`
`net = tf.contrib.layers.conv3d(imgs, num_outputs=64, kernel_size=7, name='conv1')`
`net = tf.nn.max_pool3d(net, [1, 2, 2, 2, 1], [1, 2, 2, 2, 1], padding='VALID', name='maxpool1')`
`net = tf.contrib.layers.batch_norm(net, center=True, scale=True, is_training=True, scope='bn1')`
`logits = tf.contrib.layers.fully_connected(net, 10, scope='fc')`
`network_regularizer = model_size_regularizer.GammaModelSizeRegularizer([logits.op], gamma_threshold=1e-3)`
`regularization_strength = ....`

Does MorphNet support 3d convolution? Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.