Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

Unsupported Mean Operation

idata
Employee
1,098 Views

Hi,

 

i am writing a code where i'm executing batch normalization using Tensorflow default methods (tf.nn.moments and tf.nn.batch_normalization).

 

When i try to compile the model for Movidius graph, the message "Unsupported Mean Operation" appears.

 

If i remove the batch normalization, everything works fine.

 

conv1 = tf.layers.conv2d(inputs=x, filters=32, kernel_size=[3,3], padding='same', use_bias=True, trainable=True)

 

mean1, variance1 = tf.nn.moments(conv1, axes=[0,1])

 

norm1 = tf.nn.batch_normalization(x= conv1, mean= mean1, variance= variance1, variance_epsilon=1e-5, offset=0, scale=0.95)

 

actv1 = tf.nn.relu(norm1)

 

The method moments don't have support for Movidius?

 

Thanks,

 

João
0 Kudos
2 Replies
idata
Employee
839 Views

@joaoreiser What is the network are you trying to compile? At the moment, the NCSDK doesn't have support for tf.nn.moments. It is a feature that we will be reviewing and considering for a future release.

0 Kudos
idata
Employee
839 Views

@Tome_at_Intel It is not an example one. It's a network that i coded it by myself. I will try the batch normalization another way. Any suggestion?

 

Thanks!

0 Kudos
Reply