-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Trained model Preview Error : An error has occurred, pls try again later #609
Comments
👋 Hello @chunyu-visiiontif, thank you for raising an issue about Ultralytics HUB 🚀! Please visit our HUB Docs to learn more:
If this is a 🐛 Bug Report, please provide screenshots and steps to reproduce your problem to help us get started working on a fix. If this is a ❓ Question, please provide as much information as possible, including dataset, model, environment details etc. so that we might provide the most helpful response. We try to respond to all issues as promptly as possible. Thank you for your patience! |
@chunyu-visiiontif hello! Thank you for bringing this issue to our attention. It seems like you're encountering a CORS (Cross-Origin Resource Sharing) policy error when trying to preview your trained model on the Ultralytics HUB. This is typically related to how web browsers enforce security measures to prevent potentially malicious websites from accessing resources and data from another domain without permission. Here are a few steps you can take to troubleshoot and potentially resolve this issue:
If after trying these steps you're still facing the problem, please provide us with any additional details or changes in the error message. This will help us further diagnose and address the issue more effectively. For more detailed guidance on using the Ultralytics HUB, you can refer to our documentation at https://docs.ultralytics.com/hub. We appreciate your patience and are here to help you get back to your work as smoothly as possible! 😊 |
Hi @chunyu-visiiontif! |
@chunyu-visiiontif @dougkote |
Search before asking
HUB Component
Models
Bug
When I tried to preview the trained model and uploaded the image. I got An error has occurred, pls try again later.
For the inspect -> Console I got
Access to XMLHttpRequest at 'https://api.ultralytics.com/v1/predict/MYQpsaF9kjOSevprJRt9' from origin 'https://hub.ultralytics.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
api.ultralytics.com/v1/predict/MYQpsaF9kjOSevprJRt9:1
Failed to load resource: net::ERR_FAILED
Environment
Windows 10
Chrome is up to date
Version 122.0.6261.112 (Official Build) (64-bit)
Minimal Reproducible Example
logon to the hub.
select a model
click preview
upload an image
https://hub.ultralytics.com/models/MYQpsaF9kjOSevprJRt9?tab=preview
Additional
No response
The text was updated successfully, but these errors were encountered: