Skip to content
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

inconsistent error message with drum push #555

Open
ToonWeyens opened this issue Jan 26, 2022 · 0 comments
Open

inconsistent error message with drum push #555

ToonWeyens opened this issue Jan 26, 2022 · 0 comments

Comments

@ToonWeyens
Copy link

Running !drum push --code-dir ./custom_model for my Mission 3 assignment errors out

2022-01-26 14:28:58,717 WARNING drum:  Looks like there is a problem. To get more output information try to run with: --verbose
Traceback (most recent call last):
  File "/Users/toon.weyens/.pyenv/versions/3.8.12/bin/drum", line 8, in <module>
    main()
  File "/Users/toon.weyens/.pyenv/versions/3.8.12/lib/python3.8/site-packages/datarobot_drum/drum/main.py", line 110, in main
    CMRunner(runtime).run()
  File "/Users/toon.weyens/.pyenv/versions/3.8.12/lib/python3.8/site-packages/datarobot_drum/drum/drum.py", line 83, in __init__
    self._resolve_target_type()
  File "/Users/toon.weyens/.pyenv/versions/3.8.12/lib/python3.8/site-packages/datarobot_drum/drum/drum.py", line 143, in _resolve_target_type
    raise DrumCommonException(
datarobot_drum.drum.exceptions.DrumCommonException: Target type is missing. It must be provided in --target-type argument, TARGET_TYPE env var or model config file.

Though in the drum push -h message, there is no mention of --target-type, I follow above message with !drum push --code-dir ./custom_model --target-type binary and get

drum: error: unrecognized arguments: --target-type binary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant