Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem about setup #4

Open
b856741 opened this issue Aug 3, 2022 · 3 comments
Open

problem about setup #4

b856741 opened this issue Aug 3, 2022 · 3 comments

Comments

@b856741
Copy link

b856741 commented Aug 3, 2022

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?

@GorkaAbad
Copy link

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

It should work now.

@b856741
Copy link
Author

b856741 commented Sep 25, 2022

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

@GorkaAbad
Copy link

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

instead of:
params_loaded = yaml.load(f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants