b7cd20e62f7dfb7b28407c84cd6b48098fddb915,src/sdk/pynni/nni/bohb_advisor/bohb_advisor.py,BOHB,handle_trial_end,#BOHB#Any#,493

Before Change


        logger.debug("Tuner handle trial end, result is %s", data)

        hyper_params = json_tricks.loads(data["hyper_params"])
        s, i, _ = hyper_params["parameter_id"].split("_")
        hyper_configs = self.brackets[int(s)].inform_trial_end(int(i))

        if hyper_configs is not None:

After Change


        logger.debug("Tuner handle trial end, result is %s", data)
        hyper_params = json_tricks.loads(data["hyper_params"])
        self._handle_trial_end(hyper_params["parameter_id"])
        if data["trial_job_id"] in self.job_id_para_id_map:
            del self.job_id_para_id_map[data["trial_job_id"]]

    def _send_new_trial(self):
        while self.unsatisfied_jobs:
            ret = self._get_one_trial_job()
            if ret is None:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: Microsoft/nni
Commit Name: b7cd20e62f7dfb7b28407c84cd6b48098fddb915
Time: 2019-07-11
Author: Quanlu.Zhang@microsoft.com
File Name: src/sdk/pynni/nni/bohb_advisor/bohb_advisor.py
Class Name: BOHB
Method Name: handle_trial_end


Project Name: ilastik/ilastik
Commit Name: 9418883d418ecccd7fe5da4dddffdc01064efb23
Time: 2014-03-26
Author: bergs@janelia.hhmi.org
File Name: ilastik/workflows/carving/splitBodyCarvingWorkflow.py
Class Name: SplitBodyCarvingWorkflow
Method Name: __init__


Project Name: facebook/FAI-PEP
Commit Name: af581ed5f15e27b4652e601dc4ff0b515591972f
Time: 2019-01-06
Author: feisun@fb.com
File Name: benchmarking/utils/subprocess_with_logger.py
Class Name:
Method Name: processRun