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

How to run -- what is the first model to deploy? #1

Open
cerkut opened this issue Nov 10, 2024 · 0 comments
Open

How to run -- what is the first model to deploy? #1

cerkut opened this issue Nov 10, 2024 · 0 comments

Comments

@cerkut
Copy link

cerkut commented Nov 10, 2024

Hi,
I am here following your paper "Towards an open-source MLOps architecture" and I'd love to see how the open-source template is put into action. I pulled the two images from this repo

docker pull ghcr.io/khaosresearch/prefect-creditcard:latest
docker pull ghcr.io/khaosresearch/deploy-creditcard:latest

When run, the first image prompts the prefect logo and exists.
The second one asks for a model name (and possibly a service_type) because of:
exec seldon-core-microservice $MODEL_NAME --service-type $SERVICE_TYPE

Could you please provide a model or document how to train mine? Here is the docker run error

2024-11-10 13:25:45,246 - seldon_core.microservice:main:578 - INFO:  Starting microservice.py:main
2024-11-10 14:25:45 2024-11-10 13:25:45,247 - seldon_core.microservice:main:579 - INFO:  Seldon Core version: 1.16.0
2024-11-10 14:25:45 2024-11-10 13:25:45,249 - seldon_core.microservice:main:602 - INFO:  Parse JAEGER_EXTRA_TAGS []
2024-11-10 14:25:45 2024-11-10 13:25:45,249 - seldon_core.microservice:main:605 - INFO:  Annotations: {}
2024-11-10 14:25:45 2024-11-10 13:25:45,249 - seldon_core.microservice:main:609 - INFO:  Importing CreditcardSeldonWrapper
2024-11-10 14:25:45 Traceback (most recent call last):
2024-11-10 14:25:45   File "/usr/local/bin/seldon-core-microservice", line 8, in <module>
2024-11-10 14:25:45     sys.exit(main())
2024-11-10 14:25:45              ^^^^^^
2024-11-10 14:25:45   File "/usr/local/lib/python3.11/site-packages/seldon_core/microservice.py", line 619, in main
2024-11-10 14:25:45     user_object = user_class(**parameters)
2024-11-10 14:25:45                   ^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-10 14:25:45 TypeError: CreditcardSeldonWrapper.__init__() missing 1 required positional argument: 'model_name'

Thanks, BR

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