You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the HUB issues and found no similar bug report.
HUB Component
Training
Bug
@HAMeleON001 initially reported this issue in the Ultralytics Discord server. Originally reported the error from a Colab instance, I tested and found the same error when running locally using ultralyitcs and hub-sdk. Replicated using the dota8 dataset.
Error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Q:\yolov8.1\ultralytics\ultralytics\engine\model.py", line 582, in train
self.trainer = (trainer or self._smart_load("trainer"))(overrides=args, _callbacks=self.callbacks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Q:\yolov8.1\ultralytics\ultralytics\models\yolo\obb\train.py", line 29, in __init__
super().__init__(cfg, overrides, _callbacks)
File "Q:\yolov8.1\ultralytics\ultralytics\engine\trainer.py", line 139, in __init__
self.trainset, self.testset = self.get_dataset(self.data)
^^^^^^^^^
AttributeError: 'OBBTrainer' object has no attribute 'data'
This does not occur when using a local model however. This will not throw any error where the Minimal Reproducible Example (field below) will throw the error shown above.
@HAMeleON001 should be the main point of contact for this issue. I offered to open the issue for them and add my details. They will include any additional information regarding their specific circumstances, but this was quickly reproducible. I can also provide additional information as required.
The text was updated successfully, but these errors were encountered:
@aharmer hello! Thank you for reporting this issue with the 'OBBTrainer' object. It seems like there might be a problem with the initialization of the training data within the OBBTrainer class. We appreciate both of you bringing this to our attention.
As a first step, please ensure that you are using the latest version of the ultralytics and hub-sdk packages, as updates may contain fixes for such issues.
If the problem persists after updating, it would be helpful to have a bit more context. Could you please verify if the dataset configuration (dota8.yaml) is correctly set up and accessible in your environment? Also, ensure that the dataset is properly formatted and compatible with the expected input for the OBB (oriented bounding box) model training.
For further troubleshooting, you can refer to the Ultralytics HUB Docs for guidance on setting up your training environment and datasets. If the issue is not resolved with the documentation, please provide any additional details about your setup or any changes you've made to the default configuration, which could help us identify the root cause of the problem.
We'll be looking into this and will keep you updated on our progress. Meanwhile, if you have any more information or questions, feel free to share them, and we'll do our best to assist you. Thank you for your patience and for being a part of the YOLO community! 🚀
Search before asking
HUB Component
Training
Bug
@HAMeleON001 initially reported this issue in the Ultralytics Discord server. Originally reported the error from a Colab instance, I tested and found the same error when running locally using
ultralyitcs
andhub-sdk
. Replicated using thedota8
dataset.Error
This does not occur when using a local model however. This will not throw any error where the Minimal Reproducible Example (field below) will throw the error shown above.
Environment
Minimal Reproducible Example
Additional
@HAMeleON001 should be the main point of contact for this issue. I offered to open the issue for them and add my details. They will include any additional information regarding their specific circumstances, but this was quickly reproducible. I can also provide additional information as required.
The text was updated successfully, but these errors were encountered: