e6629a767b52e1bd4ae63b2ed9fe79ab94f302bf,nni/tools/nnictl/updater.py,,import_data,#Any#,114
Before Change
validate_dispatcher(args)
content = load_search_space(args.filename)
nni_config = Config(get_config_filename(args))
rest_port = nni_config.get_config("restServerPort")
rest_pid = nni_config.get_config("restServerPid")
if not detect_process(rest_pid):
print_error("Experiment is not running...")
return
After Change
experiments_dict = Experiments().get_all_experiments()
experiment_id = get_config_filename(args)
rest_port = experiments_dict.get(experiment_id).get("port")
rest_pid = experiments_dict.get(experiment_id).get("pid")
if not detect_process(rest_pid):
print_error("Experiment is not running...")
return
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: microsoft/nni
Commit Name: e6629a767b52e1bd4ae63b2ed9fe79ab94f302bf
Time: 2021-01-24
Author: 33053116+J-shang@users.noreply.github.com
File Name: nni/tools/nnictl/updater.py
Class Name:
Method Name: import_data
Project Name: microsoft/nni
Commit Name: f68ba4a632ca97b070f2ae40398b59b47e641f77
Time: 2021-01-04
Author: 33053116+J-shang@users.noreply.github.com
File Name: nni/tools/nnictl/tensorboard_utils.py
Class Name:
Method Name: stop_tensorboard
Project Name: microsoft/nni
Commit Name: e6629a767b52e1bd4ae63b2ed9fe79ab94f302bf
Time: 2021-01-24
Author: 33053116+J-shang@users.noreply.github.com
File Name: test/ut/tools/nnictl/mock/experiment.py
Class Name:
Method Name: stop_mock_experiment