AttributeError: 'str' object has no attribute 'get'
See original GitHub issueHello. I was able to use ‘ludwig experiment’ on the titanic’s datasets on kaggle, just as described here https://uber.github.io/ludwig/examples/ using the suggested yaml file.
I also tried to use it to train a dataset, but got this on terminal:
$ ludwig train --data_csv train.csv --model_definition modelo.yaml
| |_ _ | | __ ()_ _
| | || / \ V V / / _
|
||_,_,|_/_/|_, |
|__/
ludwig v0.1.0 - Train
Traceback (most recent call last): File “/home/renatochacon/ludwig/venv/bin/ludwig”, line 11, in <module> load_entry_point(‘ludwig==0.1.0’, ‘console_scripts’, ‘ludwig’)() File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/cli.py”, line 86, in main File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/cli.py”, line 64, in init File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/cli.py”, line 70, in train File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/train.py”, line 729, in cli File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/train.py”, line 170, in full_train File “/home/renatochacon/ludwig/venv/lib/python3.5/site-packages/ludwig-0.1.0-py3.5.egg/ludwig/utils/defaults.py”, line 137, in merge_with_defaults AttributeError: ‘str’ object has no attribute ‘get’
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (2 by maintainers)
Top GitHub Comments
@vreyespue it’s a different error. Can you please open a separate issue about it with instructions on how to reproduce it? I run the
simple_model_training.py
in theexamples/titanic
, which I believe is what you were running, and it works fine.@w4nderlust I think in the last version of ludwig (0.4) this is happening again. I get as well the mentioned error message, i.e.
Could you maybe double check? If so, should we reopen this issue, or create a new one? Many thanks and best regards.