addbe43e93bea82a3eda2b8051df6b7e40fd9ec1,studio/lworker.py,,worker_loop,#Any#Any#Any#Any#Any#,142
Before Change
logger.info("Fetching artifacts")
// TODO rewrite with better artifact management
executor.db._download_dir(
executor.db._get_experiments_keybase() +
experiment.key + "/workspace.tgz",
".")
pass
After Change
if fetch_artifacts:
logger.info("Fetching artifacts...")
for tag, art in experiment.artifacts.iteritems():
if tag == "workspace":
new_local_path = "."
else:
if art["mutable"]:
new_local_path = fs_tracker.get_artifact_cache(
tag,
experiment.key,
)
else:
new_local_path = fs_tracker.get_blob_cache(
art["key"])
art["local"] = new_local_path
executor.db._download_dir(art["local"], art["key"])
executor.run(experiment)
if single_experiment:
logger.info("single_experiment is True, quitting")
return
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
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
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: delete_experiment
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: 5a1e69219fbabaa760c056c60bade01006490c9a
Time: 2017-06-20
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: delete_experiment