We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1520f6b commit 1e751c6Copy full SHA for 1e751c6
1. O'Reilly Training.ipynb
@@ -90,7 +90,7 @@
90
"source": [
91
"def get_data(annotation_path, feature_path):\n",
92
" annotations = pd.read_table(annotation_path, sep='\\t', header=None, names=['image', 'caption'])\n",
93
- " return np.load(feature_path), annotations['caption'].values"
+ " return np.load(feature_path,'r'), annotations['caption'].values"
94
]
95
},
96
{
0 commit comments