Skip to content

Commit

Permalink
Update h5py_patch_README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taki0112 authored Dec 28, 2017
1 parent f3e8d78 commit 9c4db39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions preprocessing/README/h5py_patch_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,10 @@ get_data_num = 64
def nodule_hf(idx):
with h5py.File(image_patch, 'r') as hf:
nodule = hf['nodule'][idx:idx + get_data_num]
# print(np.shape(nodule))
return nodule

pool = Pool(processes = process_num)
pool_nodule = pool.map(nodule_hf, nodule_range)

pool.close()

nodule = []
Expand Down

0 comments on commit 9c4db39

Please sign in to comment.