Skip to content

Commit

Permalink
Fix bias import issue in import_tensorflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbriand-cea committed May 26, 2020
1 parent 9b0e7d2 commit a3c572b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/import_tensorflow.py
Expand Up @@ -49,6 +49,8 @@ def exportFreeParameters(modelName, targetDir):
name[offset] = "scales"
elif name[offset] == "beta":
name[offset] = "biases"
elif name[offset] == "bias":
name[offset] = "biases"
elif name[offset] == "moving_mean":
name[offset] = "means"
elif name[offset] == "moving_variance":
Expand Down

0 comments on commit a3c572b

Please sign in to comment.