-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
AttributeError: 'str' object has no attribute 'get' #261
Comments
Please use the latest code from master and try again. |
Thank you. I'd like to know one more thing, please: I was able to work on the train.csv which contais all columns, including features (input variables) and target (output variable). But how do I use ludwig to predict on datasets like the one from test.csv which doesn't contain the target column 'Survived'? |
Read the docs, in the predict section of the user guide. There's a parameter |
@w4nderlust I think in the last version of ludwig (0.4) this is happening again.
Could you maybe double check? |
@vreyespue it's a different error. |
Hi @w4nderlust I got this issue both in macos and linux, simply by doing a |
The PR #1213 was merged. |
@w4nderlust Hi Pierre, I'm getting the same issue as vreyespue. Config file in same directory as python file. Replacing the config YAML with a python dictionary and works as expected. Any thoughts? |
@Judy-Bloom the issue has been solved but we haven't released a new version yet. You can install Ludwig by cloning the |
Thanks man :) looking forward to it.
…On Mon, Jan 10, 2022 at 4:02 PM Piero Molino ***@***.***> wrote:
@Judy-Bloom <https://github.com/Judy-Bloom> the issue has been solved but
we haven't released a new version yet. You can install Ludwig by cloning
the tf-legacy branch in the meantime. We are going to release a v0.4.1
this week anyway ;)
—
Reply to this email directly, view it on GitHub
<#261 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXGPRDGUEO34R5WGUCXEWBTUVNQPVANCNFSM4HCRBBVQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello. 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
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'
The text was updated successfully, but these errors were encountered: