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

My YOLOv8 model is not uploaded to the hub even though it is trained #12845

Open
1 task
rag0nn opened this issue May 19, 2024 · 8 comments
Open
1 task

My YOLOv8 model is not uploaded to the hub even though it is trained #12845

rag0nn opened this issue May 19, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@rag0nn
Copy link

rag0nn commented May 19, 2024

YOLOv8 Component

Integrations

Bug

I trained YOLOV8 Model on Colab and training process was completely finished. Metrics sended but model not sended to Ultralytics hub. Now ı have weights but i can not use on hub. I tried to train on Colab without using hub but this time it gave error about dataset path: RuntimeError: Dataset '/content/drive/MyDrive/spiral-model/datasets/detect/detect/detect.yaml' error ❌
Dataset '/content/drive/MyDrive/spiral-model/datasets/detect/detect/detect.yaml' images not found ⚠️, missing path '/content/drive/MyDrive/spiral-model/datasets/images/val'
Note dataset download directory is '/content/drive/MyDrive/spiral-model/datasets'. You can update this in '/root/.config/Ultralytics/settings.yaml'

I tried to change the path ı cant find any way to do it.

Ekran görüntüsü 2024-05-19 171523
Ekran görüntüsü 2024-05-19 171535
Ekran görüntüsü 2024-05-19 171547
Ekran görüntüsü 2024-05-19 172043

Environment

No response

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@rag0nn rag0nn added the bug Something isn't working label May 19, 2024
Copy link

👋 Hello @rag0nn, thank you for your interest in Ultralytics YOLOv8 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered.

If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it.

If this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.

Join the vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users.

Install

Pip install the ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.

pip install ultralytics

Environments

YOLOv8 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):

Status

Ultralytics CI

If this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit.

@glenn-jocher
Copy link
Member

Hello! It looks like there are a couple of issues with paths in your setup. For the dataset path error, make sure that the path specified in your detect.yaml file correctly points to where your images are stored. Here's a quick example of how you might adjust your YAML file:

train: /content/drive/MyDrive/spiral-model/datasets/images/train
val: /content/drive/MyDrive/spiral-model/datasets/images/val

Ensure that these paths accurately reflect where your train and val images are located on your drive.

Regarding uploading your model to the Ultralytics HUB, ensure that you are logged into the HUB and have the necessary permissions. If the issue persists, you might want to manually upload the weights through the HUB interface.

If you need further assistance, feel free to reach out! 🚀

@rag0nn
Copy link
Author

rag0nn commented May 20, 2024

Thank for answer! I will try your suggest about path. Is there a guide on adding the model manually? I looked but I couldn't find how to do.

@glenn-jocher
Copy link
Member

@rag0nn hello! Glad to hear you'll try the path suggestion! 🚀 For manually uploading your model to the Ultralytics HUB, you can simply log into the HUB, navigate to the "Models" section, and click on the "Upload Model" button. From there, you can select your model file and follow the prompts to upload it.

If you encounter any issues or need further assistance, don't hesitate to ask. Happy modeling!

@rag0nn
Copy link
Author

rag0nn commented May 21, 2024

I don't see any button for this. Is this only available for the PRO plan?
Ekran görüntüsü 2024-05-21 155340

@glenn-jocher
Copy link
Member

Hello! The feature to upload models manually is available to all users, not just the PRO plan. It seems there might be a UI issue or it could be browser-related. Could you please try refreshing the page or using a different browser? If the problem persists, reaching out to support via the help section on the HUB might be the best next step. Let us know how it goes! 🚀

@rag0nn
Copy link
Author

rag0nn commented May 21, 2024

Hi! I tried different browsers such as Chrome, Edge and Brave and result is same.
After that i sent this issue: ultralytics/hub#692 (comment)

@glenn-jocher
Copy link
Member

Hello! Thanks for trying out different browsers and for submitting the issue on GitHub. The team will review it and get back to you soon. In the meantime, ensure that your account permissions are correctly set, as this could sometimes affect visibility of certain features. Hang tight! 🚀

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

2 participants