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

The code does not run #132

Closed
1 task done
SMSajadi99 opened this issue Dec 25, 2022 · 10 comments
Closed
1 task done

The code does not run #132

SMSajadi99 opened this issue Dec 25, 2022 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@SMSajadi99
Copy link

SMSajadi99 commented Dec 25, 2022

Search before asking

  • I have searched the HUB issues and found no similar bug report.

HUB Component

Projects, Training, API Key

Bug

WARNING:ultralytics:Ultralytics: Unhandled server error. Retrying 3x for 30s. If this issue persists please visit https://github.com/ultralytics/hub/issues for assistance. (500 #0)

I run it in google collab with the code that the site gives me, but it gives me this error, what should I do?

bug_code

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

@SMSajadi99 SMSajadi99 added the bug Something isn't working label Dec 25, 2022
@github-actions
Copy link

👋 Hello @SMSajadi99, thank you for raising an issue about Ultralytics HUB 🚀! Please visit https://ultralytics.com/hub to learn more, and see our ⭐️ HUB Guidelines to quickly get started uploading datasets and training YOLOv5 models.

If this is a 🐛 Bug Report, please provide screenshots and steps to recreate 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!

@SMSajadi99
Copy link
Author

👋 Hello @SMSajadi99, thank you for raising an issue about Ultralytics HUB 🚀! Please visit https://ultralytics.com/hub to learn more, and see our ⭐️ HUB Guidelines to quickly get started uploading datasets and training YOLOv5 models.

If this is a 🐛 Bug Report, please provide screenshots and steps to recreate 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!

@glenn-jocher
Copy link
Member

@SMSajadi99 hi! I'm sorry to see you are having problems. Is this still happening for you?

@glenn-jocher
Copy link
Member

@SMSajadi99 I just tried training now and everything works well for me. Can you try again and let us know if this issue persists for you? Thanks!

Screenshot 2022-12-27 at 14 40 29

@SMSajadi99
Copy link
Author

@SMSajadi99 I just tried training now and everything works well for me. Can you try again and let us know if this issue persists for you? Thanks!

Screenshot 2022-12-27 at 14 40 29

Hi
Unfortunately, I just now understood where the problem comes from...
When we select the model on the site, if we turn on the previously train-mode to run from the beginning, we will encounter this problem.
But if that button is on, there is no problem and it will run
I got two codes from the site, one for Google colab:
70e53a3ca9386b486074dd132ee540b326db4367fa_eRW57eHtWrOVhxlQBxp7

And another on my system:
70e53a3ca9386b486074dd132ee540b326db4367fa_cKwKjQ9x8aFUhzHQQAzk

Thank you for helping me how to use the code without first training.

@SMSajadi99
Copy link
Author

SMSajadi99 commented Dec 27, 2022

@glenn-jocher Hi
Unfortunately, I just now understood where the problem comes from...
When we select the model on the site, if we turn on the pre-train mode to run from the beginning, we will encounter this problem.
But if that button is on, there is no problem and it will run
I got two codes from the site, one for Google colab:
70e53a3ca9386b486074dd132ee540b326db4367fa_eRW57eHtWrOVhxlQBxp7

And another on my system:
70e53a3ca9386b486074dd132ee540b326db4367fa_cKwKjQ9x8aFUhzHQQAzk

Thank you for helping me how to use the code without first training.

@SMSajadi99
Copy link
Author

SMSajadi99 commented Dec 27, 2022

@glenn-jocher
The following code is for the mode without previous training:

before

The following code is for the mode with the previous training:

after

@kalenmike kalenmike self-assigned this Jan 2, 2023
@kalenmike
Copy link
Contributor

@SMSajadi99 Thanks for raising this, we confirmed your error and are releasing a fix today.

@SMSajadi99
Copy link
Author

SMSajadi99 commented Jan 2, 2023

@kalenmike Thank you very much, it is an honor to help you.

@kalenmike
Copy link
Contributor

The patch has been released, training without pretrained weights is working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants