Skip to content

Add test data for Shufflenet ONNX - #523

Merged
alalek merged 2 commits into
opencv:3.4from
l-bat:l-bat/shufflenet_onnx
Oct 10, 2018
Merged

alalek merged 2 commits into
opencv:3.4from
l-bat:l-bat/shufflenet_onnx

Conversation

@l-bat

@l-bat l-bat commented Sep 20, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@dkurt

dkurt commented Sep 22, 2018 •

Copy link
Copy Markdown
Member

@l-bat, please check diffs page. Does all the files need to be changed?

@l-bat
l-bat force-pushed the l-bat/shufflenet_onnx branch 2 times, most recently from 5ec4b44 to a482a94 Compare September 24, 2018 04:41
@l-bat
l-bat force-pushed the l-bat/shufflenet_onnx branch from a482a94 to e31076d Compare September 24, 2018 05:05
@dkurt

dkurt commented Sep 26, 2018

Copy link
Copy Markdown
Member

Please consider #499 (review) in this PR.

@l-bat
l-bat force-pushed the l-bat/shufflenet_onnx branch 3 times, most recently from 3318bad to 448a7b0 Compare September 27, 2018 10:52

def __init__(self):
super(Transpose, self).__init__()
self.squeeze1 = nn.Linear(3, 4, bias=True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@l-bat, could you please replace it to nn.ReLU because we already faced an unstable test case for a fully connected layer for this dimensions (OCV/OCL_FP16):

inp = tf.placeholder(tf.float32, [2, 3], 'input')
biases = tf.Variable(tf.random_normal([4]), name='matmul_biases')
weights = tf.Variable(tf.random_normal([3, 4]), name='matmul_weights')
mm = tf.matmul(inp, weights) + biases
save(inp, mm, 'matmul')

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@l-bat
l-bat force-pushed the l-bat/shufflenet_onnx branch 2 times, most recently from 82ec751 to a3ef073 Compare October 5, 2018 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants