Issue with command line parameters


#1

When I type (as from neptune send documentation):

neptune send main.py --model mlp it does not affect parameters.

(As as side note, it would be nice if main.py was optional, the same way as it is without parameters.)

Screenshots:


#2

Hi @pmigdal,

Command line arguments for your code are not treated as Neptune parameters by default. You can both pass a parameter using -p option (neptune send -p model:mlp) or explicitly tell Neptune to treat arguments as parameters by using a special syntax neptune send main.py --model %mlp.

See
https://docs.neptune.ml/advanced-topics/experiments/#parameters-passed-via-sysargv
and
https://docs.neptune.ml/advanced-topics/experiments/#parameters-passed-via-ctxparams


#3

Thanks @Wajcha ! It was not clear from the examples, though.


#4

Though, it this case I guess there should be an error message. Otherwise its confusing.

Anyway, neptune send -p model:mlp does not work (I didn’t type quotation marks), see:


#5

Hi @pmigdal,

It’s definitely a bug with parsing parameters on our side, I’ll look into it and we should have a fix soon

Best regards & Happy Holiday,
Hubert