Skip to content

Commit

Permalink
Update data_prep_util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesq34 authored Sep 19, 2019
1 parent d64d239 commit 539db60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/data_prep_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def batch_mkdir(output_folder, subdir_list):

# Write numpy array data and label to h5_filename
def save_h5_data_label_normal(h5_filename, data, label, normal,
data_dtype='float32', label_dtype='uint8', noral_dtype='float32'):
data_dtype='float32', label_dtype='uint8', normal_dtype='float32'):
h5_fout = h5py.File(h5_filename)
h5_fout.create_dataset(
'data', data=data,
Expand Down

0 comments on commit 539db60

Please sign in to comment.