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

Can't upload the dataset. Timeout (No response from the server.) Error #979

Open
1 task done
mrEuler opened this issue Jan 13, 2025 · 2 comments
Open
1 task done
Labels
bug Something isn't working HUB Ultralytics HUB issues info needed More information is required to proceed

Comments

@mrEuler
Copy link

mrEuler commented Jan 13, 2025

Search before asking

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

HUB Component

Datasets

Bug

I try (already 4th time) to upload big dataset (94.5 GB) to the hub, but getting next behaviour:

  1. In the tab, where uploading started, the dataset has next infinte status:
    image

  2. Opening new tab with the datasets page, show the dataset with next status:
    image

Dataset was checked with the python ultralytic's tool.
I have Pro subscription.

Environment

  • MacBook Pro M3 Pro
  • Chrome Version 131.0.6778.265 (Official Build) (64-bit)

Minimal Reproducible Example

Just regular datset uploading steps.

Additional

No response

@mrEuler mrEuler added the bug Something isn't working label Jan 13, 2025
@UltralyticsAssistant UltralyticsAssistant added HUB Ultralytics HUB issues info needed More information is required to proceed labels Jan 13, 2025
@UltralyticsAssistant
Copy link
Member

👋 Hello @mrEuler, thank you for raising an issue about the Ultralytics HUB 🚀! We're sorry for the upload difficulties you're experiencing and appreciate you bringing this to our attention.

To help us investigate further and resolve the issue, could you please provide additional information or validate some details? Since this involves a potential 🐛 bug, it would be great if you could supply a Minimum Reproducible Example (MRE) following these steps from our MRE Guide:

  1. List the exact steps you followed to upload the dataset.
  2. Include any additional logs or terminal/console outputs if available.
  3. Share any relevant dataset details or specifics that might help reproduce this issue (e.g., size, number of files, format verification via our tools, etc.).

While waiting for additional details, you might find the following documentation helpful for reviewing your steps and ensuring everything is set up correctly:

Additionally, if this is related to large dataset handling or a subscription-specific tier, our engineering team will investigate back-end functionalities to ensure everything works smoothly.

Please note this is an automated response 🤖, and an Ultralytics engineer will review your issue and assist you as soon as possible. Thank you for your patience and for being part of the Ultralytics community! 😊

@pderrenger
Copy link
Member

@mrEuler thank you for reporting this issue and providing detailed information about your environment and workflow! Let's address the timeout error you're experiencing.

Possible Causes and Steps to Resolve:

  1. Large Dataset Size (94.5 GB):

    • Uploading a dataset of this size can sometimes trigger timeouts depending on network stability or server load.
    • Recommendation: Consider splitting your dataset into smaller chunks (e.g., 10–20 GB each) and uploading them separately. Ensure that the dataset structure and YAML file remain consistent with YOLO format requirements.
  2. Network Stability:

    • If your connection is unstable, large uploads may fail intermittently.
    • Recommendation: Test your connection stability and speed. If possible, use a wired internet connection to avoid potential interruptions during the upload.
  3. Server-Side Timeout:

    • While the HUB is designed to handle large datasets, server-side timeouts can occur for prolonged uploads.
    • Recommendation: Try uploading the dataset during off-peak hours when the server might experience less traffic.
  4. Dataset Validation:

    • Since you've already validated your dataset using the Python tool (check_dataset), that’s great! However, ensure the dataset ZIP file is properly structured and error-free.
    • Double-Check: Confirm that your dataset YAML, directory, and ZIP file all have the same name (e.g., dataset.yaml, dataset/, dataset.zip).
  5. Browser-Specific Issue:

    • While Chrome is supported, browser extensions or outdated versions might interfere with the upload process.
    • Recommendation: Disable unnecessary browser extensions and ensure Chrome is up to date. Alternatively, try a different browser (e.g., Firefox).

Next Steps:

  • Retry Smaller Uploads: Start with smaller portions of your dataset and verify if the issue persists. This can help isolate whether the size is the primary cause.
  • Monitor the Console: Open your browser's developer tools (F12 > Console tab) to check for any error logs during the upload process. If available, please share the error details here for further troubleshooting.
  • Contact Pro Support: As a Pro subscriber, you are entitled to priority support. If the issue persists, please reach out via the Pro Support page for further assistance.

General Tips for Large Dataset Uploads:

  • Ensure the dataset is zipped optimally with no unnecessary files.
  • Avoid performing other bandwidth-intensive tasks during uploads.
  • Use the Ultralytics HUB SDK for programmatic uploads, which might provide better stability for large files:
    from hub_sdk import HUBClient
    
    credentials = {"api_key": "<YOUR-API-KEY>"}
    client = HUBClient(credentials)
    
    dataset = client.dataset("<Dataset ID>")  # Replace with your actual dataset ID
    dataset.upload_dataset(file="path/to/your/dataset.zip")
    print("Dataset has been uploaded.")

If you continue to experience the timeout issue after trying these steps, let us know! We’re here to help ensure your datasets are uploaded successfully 😊.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HUB Ultralytics HUB issues info needed More information is required to proceed
Projects
None yet
Development

No branches or pull requests

3 participants