ultralytics / hub

Ultralytics HUB tutorials and support
https://hub.ultralytics.com
GNU Affero General Public License v3.0
134 stars 13 forks source link

Can't access a data when using Ultralytic and Roboflow #492

Closed nagorntow closed 8 months ago

nagorntow commented 10 months ago

Search before asking

Question

I upload a dataset on roboflow then using integration feature to access data on ultralytic but Colab can't download a dataset Screenshot 2566-12-11 at 23 34 33 Screenshot 2566-12-11 at 23 38 06

Additional

No response

github-actions[bot] commented 10 months ago

👋 Hello @nagorntow, 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!

kalenmike commented 10 months ago

@nagorntow Thanks for raising this. It seems like the Roboflow export did not complete for your dataset. This may be due to a delay in the process and it could start working after a a few minutes. Can you try again after 10 minutes and let us know if you are still seeing the same error message?

nagorntow commented 10 months ago

Yes, I seeing the same message error.

UltralyticsAssistant commented 10 months ago

@nagorntow i'm sorry to hear that the issue persists. Since this involves an integration feature with Roboflow, it may be due to a temporary issue with their service, an incorrect URL, or an access permission problem. Please ensure that:

  1. Your Roboflow account has the correct permissions for exporting datasets.
  2. You're using the correct and complete export URL from Roboflow.
  3. There are no outages or issues on Roboflow's side that might affect dataset export functionality.

If after checking these points the problem remains, I would recommend reaching out to Roboflow support to ensure there isn't an issue on their end that's preventing the export.

For detailed instructions on how to integrate with Roboflow, please refer to our Ultralytics HUB Docs. If you keep experiencing difficulties, feel free to provide more details, and we will do our best to assist you further! 🙌

wizkitglobal-create commented 9 months ago

Hi, I'm facing the same issue. Can't go around it in anyway!

Ultralytics HUB: New authentication successful ✅ Ultralytics HUB: View model at https://hub.ultralytics.com/models/v9VD3nAIkSxMUzjIS1IC 🚀 Ultralytics YOLOv8.1.0 🚀 Python-3.10.12 torch-2.1.0+cu121 CUDA:0 (Tesla T4, 15102MiB) engine/trainer: task=detect, mode=train, model=yolov8x.pt, data=https://storage.googleapis.com/ultralytics-hub.appspot.com/ROBOFLOW_INTEGRATION, epochs=100, time=None, patience=100, batch=-1, imgsz=640, save=True, save_period=-1, cache=ram, device=0, workers=8, project=None, name=train9, exist_ok=False, pretrained=True, optimizer=auto, verbose=True, seed=0, deterministic=True, single_cls=False, rect=False, cos_lr=False, close_mosaic=10, resume=False, amp=True, fraction=1.0, profile=False, freeze=None, multi_scale=False, overlap_mask=True, mask_ratio=4, dropout=0.0, val=True, split=val, save_json=False, save_hybrid=False, conf=None, iou=0.7, max_det=300, half=False, dnn=False, plots=True, source=None, vid_stride=1, stream_buffer=False, visualize=False, augment=False, agnostic_nms=False, classes=None, retina_masks=False, embed=None, show=False, save_frames=False, save_txt=False, save_conf=False, save_crop=False, show_labels=True, show_conf=True, show_boxes=True, line_width=None, format=torchscript, keras=False, optimize=False, int8=False, dynamic=False, simplify=False, opset=None, workspace=4, nms=False, lr0=0.01, lrf=0.01, momentum=0.937, weight_decay=0.0005, warmup_epochs=3.0, warmup_momentum=0.8, warmup_bias_lr=0.1, box=7.5, cls=0.5, dfl=1.5, pose=12.0, kobj=1.0, label_smoothing=0.0, nbs=64, hsv_h=0.015, hsv_s=0.7, hsv_v=0.4, degrees=0.0, translate=0.1, scale=0.5, shear=0.0, perspective=0.0, flipud=0.0, fliplr=0.5, mosaic=1.0, mixup=0.0, copy_paste=0.0, auto_augment=randaugment, erasing=0.4, crop_fraction=1.0, cfg=None, tracker=botsort.yaml, save_dir=runs/detect/train9 Found https://storage.googleapis.com/ultralytics-hub.appspot.com/ROBOFLOW_INTEGRATION locally at ROBOFLOW_INTEGRATION

AssertionError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/ultralytics/engine/trainer.py in init(self, cfg, overrides, _callbacks) 132 elif self.args.data.split(".")[-1] in ("yaml", "yml") or self.args.task in ("detect", "segment", "pose"): --> 133 self.data = check_det_dataset(self.args.data) 134 if "yaml_file" in self.data:

4 frames AssertionError: Attempting to load non-YAML file ROBOFLOW_INTEGRATION with yaml_load()

The above exception was the direct cause of the following exception:

RuntimeError Traceback (most recent call last) /usr/local/lib/python3.10/dist-packages/ultralytics/engine/trainer.py in init(self, cfg, overrides, _callbacks) 135 self.args.data = self.data["yaml_file"] # for validating 'yolo train data=url.zip' usage 136 except Exception as e: --> 137 raise RuntimeError(emojis(f"Dataset '{clean_url(self.args.data)}' error ❌ {e}")) from e 138 139 self.trainset, self.testset = self.get_dataset(self.data)

RuntimeError: Dataset 'https://storage.googleapis.com/ultralytics-hub.appspot.com/ROBOFLOW_INTEGRATION' error ❌ Attempting to load non-YAML file ROBOFLOW_INTEGRATION with yaml_load()

kalenmike commented 9 months ago

@wizkitglobal-create This means that you Roboflow dataset has not been exported into the YOLO format. This should happen automatically when you create a model. There is sometimes a delay in the update, we will look into this and see if there is a bug on the HUB or Roboflow side.

github-actions[bot] commented 8 months ago

👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help.

For additional resources and information, please see the links below:

Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!

Thank you for your contributions to YOLO 🚀 and Vision AI ⭐