08af7771d1f1149f3da5a98bcdbf7e65abd409ba,nni/retiarii/strategies/tpe_strategy.py,TPEStrategy,run,#TPEStrategy#Any#Any#,43

Before Change


                self.model_id += 1
                _logger.info("Strategy says: %s", model.metric)
        except Exception:
            _logger.error(logging.exception("message"))

After Change


                self.running_models[self.model_id] = model
                self.model_id += 1
            else:
                time.sleep(2)

            _logger.warning("num of running models: %d", len(self.running_models))
            to_be_deleted = []
            for _id, _model in self.running_models.items():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: Microsoft/nni
Commit Name: 08af7771d1f1149f3da5a98bcdbf7e65abd409ba
Time: 2020-12-27
Author: Quanlu.Zhang@microsoft.com
File Name: nni/retiarii/strategies/tpe_strategy.py
Class Name: TPEStrategy
Method Name: run


Project Name: tensorflow/models
Commit Name: 0265f59c3fde9a82ce1fb1e806ee1837da2e45df
Time: 2020-03-26
Author: gardener@tensorflow.org
File Name: official/nlp/bert/run_squad.py
Class Name:
Method Name: main


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: b53e9baee8a3ff165048424b9be8fd020a78270e
Time: 2020-09-03
Author: tohaowu@google.com
File Name: perfkitbenchmarker/providers/gcp/gce_virtual_machine.py
Class Name: GceVirtualMachine
Method Name: UpdateInterruptibleVmStatus