1147d0a4c7a196b9a5aadb445542518df2f2fa02,studio/local_worker.py,,worker_loop,#Any#Any#Any#Any#Any#Any#Any#,176
Before Change
logger.info(
"Setting up python packages for experiment")
for pkg in experiment.pythonenv:
pipp = subprocess.Popen(
["pip", "install", pkg],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
pipout, _ = pipp.communicate()
logger.info("pip output: \n" + pipout)
for tag, art in six.iteritems(experiment.artifacts):
if fetch_artifacts or "local" not in art.keys():
After Change
if setup_pyenv:
logger.info(
"Setting up python packages for experiment")
if pip_install_packages(
experment.pythonenv, logger) != 0:
logger.info(
"Installation of all packages together " +
" failed, "
"trying one package at a time")
for pkg in experiment.pythonenv:
pip_install_packages([pkg], logger)
for tag, art in six.iteritems(experiment.artifacts):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: studioml/studio
Commit Name: 1147d0a4c7a196b9a5aadb445542518df2f2fa02
Time: 2017-09-30
Author: peter.zhokhov@sentient.ai
File Name: studio/local_worker.py
Class Name:
Method Name: worker_loop
Project Name: studioml/studio
Commit Name: 34df73c2d2d2a305efd438d7dcd9a01b3ed176f0
Time: 2017-09-08
Author: jason.liang@sentient.ai
File Name: studio/tartifact_store.py
Class Name: TartifactStore
Method Name: put_artifact
Project Name: vatlab/SoS
Commit Name: bc823da8c38eae03a311d0ba0627b23b84939b56
Time: 2017-07-30
Author: ben.bog@gmail.com
File Name: src/sos/actions.py
Class Name: SoS_ExecuteScript
Method Name: run