142334f3e098496b511170d9b6494e3c60b7c280,luminoth/utils/checkpoint_downloader.py,,get_checkpoint_path,#Any#,25
Before Change
def get_checkpoint_path(path=DEFAULT_PATH):
tf.logging.debug("Creating folder "{}" to save checkpoints.".format(path))
full_path = os.path.abspath(os.path.expanduser(path))
tf.gfile.MakeDirs(full_path)
return full_path
After Change
if not path.startswith("gs://"):
// We don"t need to create Google cloud storage "folders"
path = os.path.abspath(path)
tf.gfile.MakeDirs(path)
return path
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances Project Name: tryolabs/luminoth
Commit Name: 142334f3e098496b511170d9b6494e3c60b7c280
Time: 2017-10-25
Author: javirey@gmail.com
File Name: luminoth/utils/checkpoint_downloader.py
Class Name:
Method Name: get_checkpoint_path
Project Name: dmlc/gluon-cv
Commit Name: 4280cb121364e5a6d3f15df26c6113dfeae58dd7
Time: 2021-02-17
Author: cheungchih@gmail.com
File Name: gluoncv/auto/estimators/base_estimator.py
Class Name: BaseEstimator
Method Name: __init__
Project Name: NifTK/NiftyNet
Commit Name: ce4f7fccddab7bcf9fdfade1c4d5558b1f9eb1a2
Time: 2017-09-04
Author: d.shakir@ucl.ac.uk
File Name: doc/source/conf.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: d77f57297a08050a091cd9483230970e188766c3
Time: 2017-11-07
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/filename_matching.py
Class Name: KeywordsMatching
Method Name: from_tuple
Project Name: streamlit/streamlit
Commit Name: 71f188929c712d3fe83fa48a0f95f415dd34bdee
Time: 2019-10-08
Author: monchier@users.noreply.github.com
File Name: lib/streamlit/hashing.py
Class Name: CodeHasher
Method Name: _to_bytes