Closed ZhouYFei7788 closed 10 months ago
👋 Hello @ZhouYFei7788, thank you for your interest in YOLOv5 🚀! Please visit our ⭐️ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
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.
Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
We're excited to announce the launch of our latest state-of-the-art (SOTA) object detection model for 2023 - YOLOv8 🚀!
Designed to be fast, accurate, and easy to use, YOLOv8 is an ideal choice for a wide range of object detection, image segmentation and image classification tasks. With YOLOv8, you'll be able to quickly and accurately detect objects in real-time, streamline your workflows, and achieve new levels of accuracy in your projects.
Check out our YOLOv8 Docs for details and get started with:
pip install ultralytics
@ZhouYFei7788 hi there,
It looks like the error is related to the ClearML configuration in your environment. ClearML is not properly configured, and as a result, the training script is encountering this issue. You might need to set up ClearML or check the configuration to resolve this problem.
If you need further assistance with ClearML setup, you can refer to the setup instructions here: https://clear.ml/docs.
Feel free to reach out if you have any more questions or need additional help. Good luck with your YOLOv5 training!
👋 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 ⭐
请问,如何解决? me, too. I should how to deal it?
Hi there! 😊
If you're running into an issue that's similar to one already discussed, could you provide a bit more detail on what problem you're facing? Knowing the exact error message or behavior you're encountering could help in offering a more specific solution. Feel free to give a brief description or share a snippet of the error you're seeing!
Looking forward to helping you out!
Search before asking
Question
C:\Users\yeife\anaconda3\envs\yolov5\python.exe C:\Users\yeife\Desktop\yolov5\yolov5-7.0\train.py train: weights=yolov5s.pt, cfg=, data=data\bvn.yaml, hyp=data\hyps\hyp.scratch-low.yaml, epochs=100, batch_size=16, imgsz=640, rect=False, resume=False, nosave=False, noval=False, noautoanchor=False, noplots=False, evolve=None, bucket=, cache=None, image_weights=False, device=, multi_scale=False, single_cls=False, optimizer=SGD, sync_bn=False, workers=8, project=runs\train, name=exp, exist_ok=False, quad=False, cos_lr=False, label_smoothing=0.0, patience=100, freeze=[0], save_period=-1, seed=0, local_rank=-1, entity=None, upload_dataset=False, bbox_interval=-1, artifact_alias=latest github: skipping check (not a git repository), for updates see https://github.com/ultralytics/yolov5 YOLOv5 2022-11-22 Python-3.8.18 torch-1.8.2+cu111 CUDA:0 (NVIDIA GeForce RTX 4060 Laptop GPU, 8188MiB)
hyperparameters: 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=0.05, cls=0.5, cls_pw=1.0, obj=1.0, obj_pw=1.0, iou_t=0.2, anchor_t=4.0, fl_gamma=0.0, 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 TensorBoard: Start with 'tensorboard --logdir runs\train', view at http://localhost:6006/ Traceback (most recent call last): File "C:\Users\yeife\Desktop\yolov5\yolov5-7.0\train.py", line 633, in
main(opt)
File "C:\Users\yeife\Desktop\yolov5\yolov5-7.0\train.py", line 527, in main
train(opt.hyp, opt, device, callbacks)
File "C:\Users\yeife\Desktop\yolov5\yolov5-7.0\train.py", line 95, in train
loggers = Loggers(save_dir, weights, opt, hyp, LOGGER) # loggers instance
File "C:\Users\yeife\Desktop\yolov5\yolov5-7.0\utils\loggers__init.py", line 121, in init
self.clearml = ClearmlLogger(self.opt, self.hyp)
File "C:\Users\yeife\Desktop\yolov5\yolov5-7.0\utils\loggers\clearml\clearml_utils.py", line 87, in init
self.task = Task.init(
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\task.py", line 565, in init
task = cls._create_dev_task(
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\task.py", line 3595, in _create_dev_task
task = cls(
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\task.py", line 206, in init
super(Task, self).init(**kwargs)
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_interface\task\task.py", line 161, in init
super(Task, self).init(id=task_id, session=session, log=log)
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_interface\base.py", line 149, in init
super(IdObjectBase, self).init(session, log, **kwargs)
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_interface\base.py", line 41, in init
self._session = session or self._get_default_session()
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_interface\base.py", line 119, in _get_default_session
InterfaceBase._default_session = Session(
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_api\session\session.py", line 158, in init__
self._connect()
File "C:\Users\yeife\anaconda3\envs\yolov5\lib\site-packages\clearml\backend_api\session\session.py", line 218, in _connect
raise MissingConfigError()
clearml.backend_api.session.defs.MissingConfigError: It seems ClearML is not configured on this machine!
To get started with ClearML, setup your own 'clearml-server' or create a free account at https://app.clear.ml
Setup instructions can be found here: https://clear.ml/docs
他似乎是在提醒我ClearML的配置存在问题但我找不到问题所在
Additional
No response