Closed carbonox-infernox closed 5 years ago
Hi @carbonox-infernox, as you can see in the main.py --dev_mode
is a flag, and you have to add it after main.py file, not before (in your command).
It is main.py argument, not neptune argument
@kamil-kaczmarek
That's exactly what I did, and it told me:
neptune: Error: No value provided for parameter 'dev_mode'
@carbonox-infernox, can you paste entire command here?
@kamil-kaczmarek
CUDA_VISIBLE_DEVICES=0 python main.py -- train --dev_mode --pipeline_name unet_weighted
also tried
CUDA_VISIBLE_DEVICES=0 python main.py -- train --pipeline_name unet_weighted --dev_mode
I ended up just doing it manually by adding:
meta_train = meta_train.sample(
in pipeline_manager.py
I have tried several different ways to use the argument --dev_mode: (in this case with -- train)
-d
neptune: Error: Invalid parameter '-d'. Parameter names must begin with double dash.
so then i tried the double dash version:
--dev_mode
neptune: Error: No value provided for parameter 'dev_mode'
I guess it needs a parameter? I tried:
--dev_mode True --dev_mode true --dev_mode 1 --dev_mode on
Error: Got unexpected extra argument ('option i tried')
So does it expect a parameter or not?
I've also tried moving around the argument order without luck. How do I get this to work?