PaperEdge icon indicating copy to clipboard operation
PaperEdge copied to clipboard

Question about train.py

Open JiangY03 opened this issue 1 year ago • 2 comments

usage: train.py [-h] --config CONFIG train.py: error: the following arguments are required: --config

Hello, I am a student who has just started self-study. This problem has troubled me for a long time. I don't know how to solve it.Can I ask for your help. Thank you!

JiangY03 avatar Mar 13 '23 07:03 JiangY03

you should try the train.sh file, simplely cd to the path of train.sh and use 'bash train.sh', the CONFIG here represents train.json or eval.json in configs folder

Noah2018 avatar Mar 13 '23 07:03 Noah2018

you should try the train.sh file, simplely cd to the path of train.sh and use 'bash train.sh', the CONFIG here represents train.json or eval.json in configs folder

I'm sorry I didn't reply to you in time. After using bash train.sh, I encountered a lot of error reporting problems (because the target computer actively refused to connect). The same is true for running eval.py

JiangY03 avatar Mar 14 '23 07:03 JiangY03