Browse Source

Update to 1.3.3

Lutz Roeder 8 years ago
parent
commit
281637cea6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package.json
  2. 1 1
      src/tf-model.js

+ 1 - 1
package.json

@@ -5,7 +5,7 @@
         "email": "[email protected]",
         "url": "lutzroeder.com"
     },
-    "version": "1.3.2",
+    "version": "1.3.3",
     "description": "Viewer neural network models",
     "license": "MIT",
     "repository": "lutzroeder/Netron",

+ 1 - 1
src/tf-model.js

@@ -18,7 +18,7 @@ class TensorFlowModel {
             else {
                 var metaGraphDef = null;
                 var extension = identifier.split('.').pop();
-                if (extension != '.meta') {
+                if (extension != 'meta') {
                     try {
                         var graphDef = tensorflow.GraphDef.decode(buffer);
                         metaGraphDef = new tensorflow.MetaGraphDef();