Skip to content

Commit 1e751c6

Browse files
authored
added mem map to train
1 parent 1520f6b commit 1e751c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1. O'Reilly Training.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"source": [
9191
"def get_data(annotation_path, feature_path):\n",
9292
" annotations = pd.read_table(annotation_path, sep='\\t', header=None, names=['image', 'caption'])\n",
93-
" return np.load(feature_path), annotations['caption'].values"
93+
" return np.load(feature_path,'r'), annotations['caption'].values"
9494
]
9595
},
9696
{

0 commit comments

Comments
 (0)