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

Inference results #1

Open
sina-4 opened this issue Apr 12, 2022 · 2 comments
Open

Inference results #1

sina-4 opened this issue Apr 12, 2022 · 2 comments

Comments

@sina-4
Copy link

sina-4 commented Apr 12, 2022

I tested this repo, the endpoint is created, and the inference is done, but when I check the results I get strange values like [[[[[-0.040722042322158813, -0.05041172727942467, -0.12405179440975189, -0.2721632421016693, -10.471428871154785, -0.9401314854621887, -5.573054313659668, -3.5167489051818848, -5.933956146240234, -6.579037189483643, -6.703894138336182, -6.8030548095703125,...
I think there's a problem with code/inference.py, I tried to modify input_fn and output_fn functions, but I'm juste getting errors, I don't know exactly what I should do !

@jwson97
Copy link

jwson97 commented May 6, 2022

There is no model_fn, predict_fn in code/inference.py. Without two functions, is it possible to predict?

@sbhavani
Copy link
Owner

sbhavani commented May 6, 2022

@jwson97 it uses the default SageMaker inference handlers to load the model and predict.

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

3 participants