cfb8afb2499b661d3a930e6b38af112977cb1a74,studio/model.py,FirebaseProvider,get_artifacts,#FirebaseProvider#Any#,588
Before Change
def get_artifacts(self, key):
experiment = self.get_experiment(key, getinfo=False)
base = self._get_experiments_keybase() + key
return {
key: self._get_file_url(base + "/" + key + ".tgz" ) for
key in experiment.artifacts.keys()
}
After Change
def get_artifacts(self, key):
experiment = self.get_experiment(key, getinfo=False)
if experiment.artifacts is None:
return {}
return {
tag: self._get_file_url(art["key"]) for
tag, art in experiment.artifacts.iteritems()
}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: studioml/studio
Commit Name: cfb8afb2499b661d3a930e6b38af112977cb1a74
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: get_artifacts
Project Name: studioml/studio
Commit Name: addbe43e93bea82a3eda2b8051df6b7e40fd9ec1
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: checkpoint_experiment
Project Name: studioml/studio
Commit Name: addbe43e93bea82a3eda2b8051df6b7e40fd9ec1
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/lworker.py
Class Name:
Method Name: worker_loop