Skip to content

Commit 6debff4

Browse files
compatibility to windows
1 parent 6f991fe commit 6debff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/Sample_prediction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"np.set_printoptions(suppress=True)\n",
7272
"\n",
7373
"dump_path = '../dumps/2015_07_17_123003.pkl'\n",
74-
"model_data = pickle.load(open(dump_path, 'r'))\n",
74+
"model_data = pickle.load(open(dump_path, 'rb'))\n",
7575
"\n",
7676
"# Let's set the in and output layers to some local vars.\n",
7777
"l_out = model_data['l_out']\n",

0 commit comments

Comments
 (0)