Commit 824f80c0 authored by ymir's avatar ymir

correct summarize trainign session

parent 9c78da27
Pipeline #62269 passed with stages
in 5 minutes and 32 seconds
...@@ -211,7 +211,7 @@ def patchTrainingsession(id,trainingChunkSize,saveInterval,comments): ...@@ -211,7 +211,7 @@ def patchTrainingsession(id,trainingChunkSize,saveInterval,comments):
checkresponse(response) checkresponse(response)
# summarize # summarize
def summarizeTrainingsession(id): def summarizeTrainingsession(id):
URL=endPointURL+'/'+TrainerResourcePathType.GLOBAL_TRAININGSESSION.value.replace(TrainerResourceValueType.PERCEPTRON.value,str(id)) URL=endPointURL+'/'+TrainerResourcePathType.TRAININGSESSION_SUMMARY.value.replace(TrainerResourceValueType.PERCEPTRON.value,str(id))
response = get(URL) response = get(URL)
checkresponse(response) checkresponse(response)
print(response.text) print(response.text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment