4737b92f63170d4d27a1335908995827a501c1df,pyntcloud/learn/datasets/modelnet.py,,get_and_setup_modelnet,#,54
Before Change
f.close()
if lines[0].strip().lower() != "off":
print(path)
print(lines[0])
splits = lines[0][3:].strip().split(" ")
n_verts = int(splits[0])
After Change
print(f"Downloading ModelNet{N}")
urllib.request.urlretrieve(MODELNET_URLS[N], zip_file)
if not os.path.exists(extract_folder):
os.makedirs(extract_folder)
print("Unzipping ModelNet")
with zipfile.ZipFile(zip_file) as zf:
zf.extractall(extract_folder)
print("Removing __MACOSX")
// Thanks, Steve Jobs
try:
rmtree(f"{extract_folder}/__MACOSX")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: daavoo/pyntcloud
Commit Name: 4737b92f63170d4d27a1335908995827a501c1df
Time: 2017-05-08
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/learn/datasets/modelnet.py
Class Name:
Method Name: get_and_setup_modelnet
Project Name: xinntao/BasicSR
Commit Name: 29ab5e1965503be3ffe87462e973edf1d457af6e
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/extract_subimgs_single.py
Class Name:
Method Name: main
Project Name: chuanqi305/MobileNet-SSD
Commit Name: 5550330f7d7ad5e2b5e026a0ae027359553a675e
Time: 2018-10-15
Author: yaochuanqi888@163.com
File Name: demo.py
Class Name:
Method Name: