LLebronC / M5-mcv

Master in Computer Vision - M5 Visual recognition
11 stars 8 forks source link

assert arguments.config_path is not None, 'Please provide a configuration'\ #13

Closed molyswu closed 5 years ago

molyswu commented 6 years ago

python2.7 train.py Using TensorFlow backend. Traceback (most recent call last): File "train.py", line 136, in main() File "train.py", line 105, in main assert arguments.config_path is not None, 'Please provide a configuration'\ AssertionError: Please provide a configurationpath using -c config/pathname in the command line

Thank you for your help!

JoseLGomez commented 6 years ago

As you can see in the assertion error, you need to provide the configuration file when you run the train.py as an argument using -c and the path of this configuration file. You have an execution sample in the readme: CUDA_VISIBLE_DEVICES=0 python train.py -c config/dataset.py -e expName