ultralytics / yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
50.21k stars 16.21k forks source link

Is there a local application that I can use other than Weights & Biases arguments? #8867

Closed sarpx closed 2 years ago

sarpx commented 2 years ago

Search before asking

Question

Is there a local application that I can use other than Weights & Biases arguments? Or how can I see if the tags on only some images are included in the training and how it affects the training results.

Additional

No response

glenn-jocher commented 2 years ago

@sarpx I don't understand your question. You can view CSV or TensorBoard logging results instead of W&B. See Colab notebook for examples in Visualize section. https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb?hl=en

sarpx commented 2 years ago

@glenn-jocher runs/train/exp2, runs/train/exp3 folders It doesn't occur in my tutorials. I thought it was because I turned off Weights & Biases arguments. Thank you for your attention. Am I tiring you too much?

glenn-jocher commented 2 years ago

@sarpx local logging always occurs. Your console will print out where your training results are logged to, typically runs/train/exp etc, unless you've specified a --name and --project, in which case it will log to yolov5/project/name

https://github.com/ultralytics/yolov5/blob/84e7748564f83ba04601770f17a38cc55e6be661/train.py#L459-L461

image

sarpx commented 2 years ago

@glenn-jocher Yes, I understand them. Yes there are these. But here's the thing. When I look at the mosaics, I see that some of the labels are not included in the training. Mosaic image has picture but no label. But there are labels in the label.txt file. This made me suspicious. What goes into training? The W&B plugin is sending information to the outside. This is against our contract. The pictures we have are not our property, but the company that gave us permission shared them under limited conditions, we cannot go beyond this. If these pictures come out tomorrow, they may say that you have made the pictures public. But I need to follow my tutorial picture picture tag tag. The results.csv file only shows average values.

The 0-index label in the A picture entered the training, the effect is something like this.

glenn-jocher commented 2 years ago

@sarpx if your mosaic has incorrect labels then your dataset may be incorrectly labelled. You can use TensorBoard locally.

sarpx commented 2 years ago

@glenn-jocher glenn jocher you are definitely my idol and inspirational. I think even 100 years later there will be a man named Glenn Jocher.

confusion_matrix.png is a great invention. Of course, you may not have found it, but yolov5 it's great that you integrated it. It's not a question, I wish I had it, I would publish confusion_matrix.png after every 100 training cycles. This way we could see how the mixing changed over time. Also, maybe we could decide to teach more or less.

glenn-jocher commented 2 years ago

@sarpx thanks! Yes, lots of work to be done everywhere. I'd like to make the plots interactive too, and like you said update dynamically during training.

sarpx commented 2 years ago

@glenn-jocher I don't know if there is such a thing, but tag-based training cycle adjustment may be necessary in the future. Because getting the best results of different objects in a single training cycle is a bit like generalizing. But training the tags separately reduces consistency. Then all tags will enter training together, but some will leave training early. I think about such things, but I hope my ignorance has not been exposed.

github-actions[bot] commented 2 years ago

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.

Access additional YOLOv5 🚀 resources:

Access additional Ultralytics ⚡ resources:

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 YOLOv5 🚀 and Vision AI ⭐!

glenn-jocher commented 11 months ago

@sarpx Interesting idea! It's called curriculum learning actually, and is a great research area for future work. Thanks for sharing!