CRFL icon indicating copy to clipboard operation
CRFL copied to clipboard

problem about setup

Open b856741 opened this issue 2 years ago • 3 comments

HI,when I finished build the environment and tried to run python main.py --params configs/mnist_params.yaml, there is a problem showed err and I can't do anything furthermore, do you have any ideas to solve it?

b856741 avatar Aug 03 '22 11:08 b856741

You should remove the parser keyword 'description': parser.add_argument('--params')

It should work now.

GorkaAbad avatar Aug 29 '22 08:08 GorkaAbad

Hi, thanks for replying. when I removed the keyword description and continued, there's a new problem showed err2 is there anything I missed?

b856741 avatar Sep 25 '22 19:09 b856741

Hi, sorry for the late response. Try this: params_loaded = yaml.full_load(f)

instead of: params_loaded = yaml.load(f)

GorkaAbad avatar Oct 05 '22 06:10 GorkaAbad