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

KeyError when runing the shell script to start training with the default parameters #1

Open
zhaiyunfan opened this issue Apr 2, 2020 · 2 comments

Comments

@zhaiyunfan
Copy link

When I follow each step you show on the instruction page, I try to use the command you give to reproduce and train my model, but I get the following error:
$ ./runtrain.sh config/quartets.cfg manifest_id model_id
Traceback (most recent call last):
File "train.py", line 51, in
model_name = config['train']['model']
File "/home/zhaiyunfan/anaconda3/envs/a2s/lib/python3.7/configparser.py", line 958, in getitem
raise KeyError(key)
KeyError: 'train'

can you give me a hand?
Ubuntu 18.04.4 LTS
python 3.7

@zhaiyunfan
Copy link
Author

I try to use
$sudo ./runtrain.sh config/quartets.cfg manifest_id model_id
but the .sh script can't work
I get a error:
./runtrain.sh: 1: ./runtrain.sh: [[: not found
./runtrain.sh: 10: ./runtrain.sh: python: not found

@mangelroman
Copy link
Owner

mangelroman commented Apr 6, 2020 via email

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