Skip to content

Commit

Permalink
Fix Bugs in partseg.py
Browse files Browse the repository at this point in the history
add mkdir os.path.join(DATA_DIR, 'shapenet_part_seg_hdf5_data')
  • Loading branch information
yuchenlichuck authored Aug 11, 2021
1 parent d213eb4 commit 9c9b3e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def download_shapenetpart():
www = 'https://shapenet.cs.stanford.edu/media/shapenet_part_seg_hdf5_data.zip'
zipfile = os.path.basename(www)
os.system('wget %s --no-check-certificate; unzip %s' % (www, zipfile))
os.mkdir(os.path.join(DATA_DIR, 'shapenet_part_seg_hdf5_data'))
os.system('mv %s %s' % (zipfile[:-4], os.path.join(DATA_DIR, 'shapenet_part_seg_hdf5_data')))
os.system('rm %s' % (zipfile))

Expand Down

0 comments on commit 9c9b3e7

Please sign in to comment.