Typeerror: __init__() Got Multiple Values For Keyword Argument 'add_config_file_help'
I'm trying to run Retrieval-eval.py, but I am encountering the following error: TypeError: __init__() got multiple values for keyword argument 'add_config_file_help
Solution 1:
This is mainly due to a bug in latest version of ConfigArgParse. For now to get you unblocked please install some version other than latest by running this command:
pip install --no-cache-dir ConfigArgParse>=0.10.0,<0.13.0
If you are running from within a shell you may want to escape some chars:
pip install --no-cache-dir ConfigArgParse\>\=0.10.0,\<0.13.0
and now you should be able to run the example: `
$ python examples/mnist_mlp.py -b cpu
Epoch 0 [Train |████████████████████| 469/469 batches, 0.27 cost, 1.39s]
Epoch 1 [Train |████████████████████| 469/469 batches, 0.20 cost, 1.43s]
Epoch 2 [Train |████████████████████| 469/469 batches, 0.18 cost, 1.44s]
Epoch 3 [Train |████████████████████| 468/468 batches, 0.14 cost, 1.44s]
Epoch 4 [Train |████████████████████| 468/468 batches, 0.12 cost, 1.45s]
Epoch 5 [Train |████████████████████| 468/468 batches, 0.11 cost, 1.45s]
Epoch 6 [Train |████████████████████| 468/468 batches, 0.11 cost, 1.44s]
Epoch 7 [Train |████████████████████| 468/468 batches, 0.09 cost, 1.45s]
Epoch 8 [Train |████████████████████| 468/468 batches, 0.09 cost, 1.50s]
Epoch 9 [Train |████████████████████| 468/468 batches, 0.08 cost, 1.44s]
2018-02-27 18:49:54,287 - neon - DISPLAY - Misclassification error = 2.5%`
Post a Comment for "Typeerror: __init__() Got Multiple Values For Keyword Argument 'add_config_file_help'"