Skip to content

Commit

Permalink
Test for nncf vs keras.applications model graph equality (openvinotoo…
Browse files Browse the repository at this point in the history
…lkit#925)

- Added test which compares nncf-defined models and keras.applications models
- Models which have been updated in NNCF (minor changes) to pass the test: InceptionResNetV2, ResNet50V2, MobileNet v1, and v2
  • Loading branch information
negvet committed Sep 13, 2021
1 parent f262317 commit 4bc7b2f
Show file tree
Hide file tree
Showing 31 changed files with 2,628 additions and 2,994 deletions.
Git LFS file not shown
Git LFS file not shown

This file was deleted.

Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown

This file was deleted.

Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown

This file was deleted.

Git LFS file not shown
Git LFS file not shown
Git LFS file not shown

This file was deleted.

Git LFS file not shown

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
strict digraph {
self [op=Placeholder];
"mobilenet_1.00_128/conv1_pad/Pad/paddings" [op=Const];
"mobilenet_1.00_128/conv1_pad/Pad" [op=Pad];
"mobilenet_1.00_128/conv1/Sigmoid/ReadVariableOp/resource" [op=Placeholder];
"mobilenet_1.00_128/conv1/Sigmoid/ReadVariableOp" [op=ReadVariableOp];
"mobilenet_1.00_128/conv1/Sigmoid" [op=Sigmoid];
Expand Down Expand Up @@ -556,9 +554,7 @@ self [op=Placeholder];
"mobilenet_1.00_128/reshape_2/Reshape" [op=Reshape];
"mobilenet_1.00_128/predictions/Softmax" [op=Softmax];
Identity [op=Identity];
self -> "mobilenet_1.00_128/conv1_pad/Pad";
"mobilenet_1.00_128/conv1_pad/Pad/paddings" -> "mobilenet_1.00_128/conv1_pad/Pad";
"mobilenet_1.00_128/conv1_pad/Pad" -> "mobilenet_1.00_128/conv1/Conv2D";
self -> "mobilenet_1.00_128/conv1/Conv2D";
"mobilenet_1.00_128/conv1/Sigmoid/ReadVariableOp/resource" -> "mobilenet_1.00_128/conv1/Sigmoid/ReadVariableOp";
"mobilenet_1.00_128/conv1/Sigmoid/ReadVariableOp" -> "mobilenet_1.00_128/conv1/Sigmoid";
"mobilenet_1.00_128/conv1/Sigmoid" -> "mobilenet_1.00_128/conv1/Round";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
strict digraph {
self [op=Placeholder];
"mobilenetv2_1.00_96/Conv1_pad/Pad/paddings" [op=Const];
"mobilenetv2_1.00_96/Conv1_pad/Pad" [op=Pad];
"mobilenetv2_1.00_96/Conv1/Sigmoid/ReadVariableOp/resource" [op=Placeholder];
"mobilenetv2_1.00_96/Conv1/Sigmoid/ReadVariableOp" [op=ReadVariableOp];
"mobilenetv2_1.00_96/Conv1/Sigmoid" [op=Sigmoid];
Expand Down Expand Up @@ -988,9 +986,7 @@ self [op=Placeholder];
"mobilenetv2_1.00_96/predictions/BiasAdd" [op=BiasAdd];
"mobilenetv2_1.00_96/predictions/Softmax" [op=Softmax];
Identity [op=Identity];
self -> "mobilenetv2_1.00_96/Conv1_pad/Pad";
"mobilenetv2_1.00_96/Conv1_pad/Pad/paddings" -> "mobilenetv2_1.00_96/Conv1_pad/Pad";
"mobilenetv2_1.00_96/Conv1_pad/Pad" -> "mobilenetv2_1.00_96/Conv1/Conv2D";
self -> "mobilenetv2_1.00_96/Conv1/Conv2D";
"mobilenetv2_1.00_96/Conv1/Sigmoid/ReadVariableOp/resource" -> "mobilenetv2_1.00_96/Conv1/Sigmoid/ReadVariableOp";
"mobilenetv2_1.00_96/Conv1/Sigmoid/ReadVariableOp" -> "mobilenetv2_1.00_96/Conv1/Sigmoid";
"mobilenetv2_1.00_96/Conv1/Sigmoid" -> "mobilenetv2_1.00_96/Conv1/Round";
Expand Down
Loading

0 comments on commit 4bc7b2f

Please sign in to comment.