85fd39a74d4c8f3e671c23901099db0bd2c7c085,nni/retiarii/experiment/pytorch.py,RetiariiExperiment,_start_strategy,#RetiariiExperiment#,95

Before Change


            self.applied_mutators = mutators

        _logger.info("Starting strategy...")
        Thread(target=self.strategy.run, args=(base_model_ir, self.applied_mutators)).start()
        _logger.info("Strategy started!")

    def start(self, port: int = 8080, debug: bool = False) -> None:
        

After Change


        self._strategy_thread = Thread(target=self.strategy.run, args=(base_model_ir, self.applied_mutators))
        self._strategy_thread.start()
        _logger.info("Strategy started!")
        Thread(target=self._strategy_monitor).start()

    def start(self, port: int = 8080, debug: bool = False) -> None:
        
        Start the experiment in background.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: Microsoft/nni
Commit Name: 85fd39a74d4c8f3e671c23901099db0bd2c7c085
Time: 2021-03-05
Author: Yuge.Zhang@microsoft.com
File Name: nni/retiarii/experiment/pytorch.py
Class Name: RetiariiExperiment
Method Name: _start_strategy


Project Name: CoderEugene/DL-Gesture-Recognition
Commit Name: 772e311f63b18152aa2db5c141a4fb64d533613c
Time: 2018-03-22
Author: ycbnice@gmail.com
File Name: GestureGUI/GUI/interface.py
Class Name: Thread
Method Name: run


Project Name: Cadene/bootstrap.pytorch
Commit Name: 42f67ff9068c3bc92e53f2d624c2bc755de4470f
Time: 2018-05-20
Author: remi.cadene@icloud.com
File Name: bootstrap/engines/engine.py
Class Name: Engine
Method Name: generate_view


Project Name: hyperdashio/hyperdash-sdk-py
Commit Name: f7dec7f24e05ed7cdf629243e9a8b9b00e4dbb46
Time: 2017-09-07
Author: andrew.schreiber1@gmail.com
File Name: hyperdash/experiment.py
Class Name: Experiment
Method Name: __init__