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

model_run.predict(payload) not working for me. #21

Closed
MaximilianBoemer opened this issue Dec 1, 2020 · 3 comments
Closed

model_run.predict(payload) not working for me. #21

MaximilianBoemer opened this issue Dec 1, 2020 · 3 comments

Comments

@MaximilianBoemer
Copy link

Getting error: {'status_code': 500, 'error': 'An error has occurred, please reach out to [email protected] if you need assistance.'}

When running:
detection = [{'label': '11004', 'type': 'box', 'geometry': {'x': 301.78, 'y': 602.9, 'width': 153.45000000000005, 'height': 224.93000000000006}, 'reference_id': 'Batch_20_81685.jpg', 'confidence': 0.8508, 'metadata': {}}]
model_run.predict({"annotations": detection})

@MaximilianBoemer
Copy link
Author

Uploading annotations works fine at the same time.

Thanks for your help!

@srikanth-scale
Copy link
Contributor

Should be fixed per a PR that went out. Will be deployed today in 2 hours ETA.

@MaximilianBoemer
Copy link
Author

works

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

2 participants