13986978d4545aa429a7fc233d8e39718d52e255,studio/keyvalue_provider.py,KeyValueProvider,checkpoint_experiment,#KeyValueProvider#Any#Any#,223
Before Change
experiment_dict = self._get(self._get_experiments_keybase() + key)
checkpoint_threads = [
Thread(
target=self.store.put_artifact,
args=(art,))
for _, art in six.iteritems(experiment.artifacts)
if art["mutable"] and art.get("local")]
for t in checkpoint_threads:
t.start()
checkpoint_time = time.time()
experiment.time_last_checkpoint = checkpoint_time
experiment_dict["time_last_checkpoint"] = checkpoint_time
After Change
with ThreadPoolExecutor(max_workers=8) as executor:
for _, art in six.iteritems(experiment.artifacts):
if art["mutable"] and art.get("local"):
workers.append(executor.submit(self.store.put_artifact, art) )
wait(workers)
for worker in workers:
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances Project Name: studioml/studio
Commit Name: 13986978d4545aa429a7fc233d8e39718d52e255
Time: 2020-08-11
Author: andrei.denissov@cognizant.com
File Name: studio/keyvalue_provider.py
Class Name: KeyValueProvider
Method Name: checkpoint_experiment
Project Name: ilastik/ilastik
Commit Name: 0f4cf40066e8504da00a8c7efbf79750fa4dd45d
Time: 2017-04-07
Author: jimmycc80@hotmail.com
File Name: ilastik/applets/objectClassification/objectClassificationGui.py
Class Name: LabelAssistDialog
Method Name: _triggerTableUpdate
Project Name: analysiscenter/batchflow
Commit Name: f655fd8ff333159ffa88e1dfbcf2e32f706c9d97
Time: 2017-04-19
Author: rhudor@gmail.com
File Name: dataset/pipeline.py
Class Name: Pipeline
Method Name: run
Project Name: IndicoDataSolutions/Enso
Commit Name: 36e85bd581d4c660579f690db38a7b0fddf65866
Time: 2017-12-11
Author: madison@indico.io
File Name: enso/experiment/__init__.py
Class Name: Experimentation
Method Name: run_experiments