question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ValueError: model.yml features:encoding:type target unrecognized

See original GitHub issue

I’m getting this error when running the examples.

Any ideas?

Traceback (most recent call last):
  File "/usr/local/bin/alphapy", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/alphapy/__main__.py", line 471, in main
    specs = get_model_config()
  File "/usr/local/lib/python3.7/site-packages/alphapy/model.py", line 270, in get_model_config
    raise ValueError("model.yml features:encoding:type %s unrecognized" % encoder)
ValueError: model.yml features:encoding:type target unrecognized

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21

github_iconTop GitHub Comments

1reaction
jim-schwoebelcommented, Apr 24, 2020

Nevermind - I got it all working. Just updated a few dependencies here and the YAML file and it worked fine.

0reactions
jim-schwoebelcommented, Apr 22, 2020

I’m running Python 3.6.9 on Ubuntu (shown below):

release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unrecognized configuration class <class 'transformers.models ...
Describe the bug Default Hugging face command gives an error for both 1,3B and 2.7B models. To Reproduce Steps to reproduce the behaviour:...
Read more >
Release 2.5.0 Mark Conway, Robert D. Scott II
In market.yml, we limit our model to six stocks in the target group test, ... Raises ValueError – Unrecognized value of a model.yml...
Read more >
Instantiating one of AutoConfig, AutoModel ... - Stack Overflow
ValueError : Unrecognized model in ./MRPC/. Should have a `model_type` key in ... Error occurs in Section 1.2, only for these 2 new...
Read more >
Model configurations | dbt Developer Hub
yml file, under the models: key. Model configurations are applied hierarchically. The most-specific config always "wins": In the project file, ...
Read more >
dbt Guide - GitLab
This macro takes the configuration (target name and schema) supplied in the profiles.yml as well as the schema configuration provided in the model...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found