Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

No error message on stdout when configuration is rejected by rest server. #890

Closed
chicm-ms opened this issue Mar 20, 2019 · 0 comments
Closed
Assignees
Labels
bug Something isn't working nnidev

Comments

@chicm-ms
Copy link
Contributor

chicm-ms commented Mar 20, 2019

Short summary about the issue/question:

nnictl create --config /mnt/d/tmp2/experiment_config.yml
when there are some config which is accepted by nnictl by rejected by rest server, the output of nnictl looks like this:
image

nnimanager.log

[3/20/2019, 2:48:57 PM] INFO [ 'Datastore initialization done' ]
[3/20/2019, 2:48:58 PM] INFO [ 'Rest server listening on: http://0.0.0.0:8080' ]
[3/20/2019, 2:48:58 PM] INFO [ 'Construct local machine training service.' ]
[3/20/2019, 2:48:58 PM] INFO [ 'RestServer start' ]
[3/20/2019, 2:48:58 PM] INFO [ 'RestServer base port is 8080' ]
[3/20/2019, 2:48:59 PM] INFO [ 'NNIManager setClusterMetadata, key: trial_config, value: {"command":"python3 mnist.py --batch_num 100","codeDir":"/mnt/d/Repos/nni/examples/trials/mnist","gpuNum":0}' ]
[3/20/2019, 2:48:59 PM] INFO [ 'required GPU number is 0' ]
[3/20/2019, 2:48:59 PM] ERROR [ { statusCode: 400,
error: 'Bad Request',
message:
'child "body" fails because [child "tuner" fails because ["includeIntermeidateResults" is not allowed]]' } ]
[3/20/2019, 2:48:59 PM] INFO [ 'Change NNIManager status from: INITIALIZED to: STOPPING' ]
~ ~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working nnidev
Projects
None yet
Development

No branches or pull requests

3 participants