4737b92f63170d4d27a1335908995827a501c1df,pyntcloud/learn/datasets/modelnet.py,,get_and_setup_modelnet,#,54
Before Change
print(f"Downloading ModelNet")
urllib.request.urlretrieve(MODELNET_URLS[N], zip_file)
os.makedirs(extract_folder)
print("Unzipping ModelNet")
with zipfile.ZipFile(zip_file) as zf:
zf.extractall(extract_folder)
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: 4
Non-data size: 6
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: floodsung/Deep-Learning-Papers-Reading-Roadmap
Commit Name: 1ef2808c90ce7f904400f10716db3feb14fafe31
Time: 2017-01-03
Author: jun.yang@transwarp.io
File Name: download.py
Class Name:
Method Name:
Project Name: timbmg/Sentence-VAE
Commit Name: 9e94aa28133b75152f90b2b63f30c17b377c9748
Time: 2018-03-08
Author: baumgaertner.t@gmail.com
File Name: train.py
Class Name:
Method Name: main
Project Name: HDI-Project/ATM
Commit Name: afbd9676c06dd1ae08ecef339b66b2d023a31216
Time: 2019-04-02
Author: carles@pythiac.com
File Name: atm/cli.py
Class Name:
Method Name: _make_config