Skip to content
Browse files

Open modelPickleFile in 'rb' mode

  • Loading branch information...
Kyle Sorensen
Kyle Sorensen committed Nov 29, 2018
1 parent a7a5794 commit 063cd99333c444bcbeb9c83873bcd52767e6ed09
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/nupic/frameworks/opf/
@@ -387,7 +387,7 @@ def load(cls, savedModelDir):
# Load the model
modelPickleFilePath = Model._getModelPickleFilePath(savedModelDir)

with open(modelPickleFilePath, 'r') as modelPickleFile:
with open(modelPickleFilePath, 'rb') as modelPickleFile:
logger.debug("Unpickling Model instance...")

model = pickle.load(modelPickleFile)

0 comments on commit 063cd99

Please sign in to comment.
You can’t perform that action at this time.