if nni_config.get_config("experimentConfig").get("trainingServicePlatform") == "adl":
adl_tensorboard_helper(args)
return
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
if experiment_config.get("trainingServicePlatform") == "adl":
adl_tensorboard_helper(args)
return
rest_port = experiments_dict[args.id]["port"]
rest_pid = experiments_dict[args.id]["pid"]
if not detect_process(rest_pid):
print_error("Experiment is not running...")
return