


Tsinghua University took over and YOLOv10 came out: the performance was greatly improved and it was on the GitHub hot list
Jun 06, 2024 pm 12:20 PMThe benchmark YOLO series of target detection systems has once again received a major upgrade.
Since the release of YOLOv9 in February this year, the baton of the YOLO (You Only Look Once) series has been passed to the hands of researchers at Tsinghua University.
Last weekend, the news of the launch of YOLOv10 attracted the attention of the AI ??industry. It is considered a breakthrough framework in the field of computer vision and is known for its real-time end-to-end object detection capabilities, continuing the legacy of the YOLO series by providing a powerful solution that combines efficiency and accuracy.
Paper address: https://arxiv.org/pdf/2405.14458
Project address: https://github.com/THU-MIG/yolov10
After the new version was released, many people have conducted deployment tests and the results are good:
YOLO has always been the leader in the field of real-time target detection because of its powerful performance and low consumption of computing power. Main paradigm. The framework is widely used in various practical applications, including autonomous driving, surveillance and logistics. Its efficient and accurate object detection capabilities make it ideal for tasks such as identifying pedestrians and vehicles in real time; in logistics, it helps with inventory management and package tracking, and its AI capabilities help people improve efficiency in many tasks.
Over the past few years, researchers have explored YOLO’s architectural design, optimization goals, data enhancement strategies, etc., and have made significant progress. However, post-processing's reliance on non-maximum suppression (NMS) hinders end-to-end deployment of YOLO and adversely affects inference latency. Furthermore, the design of individual components in YOLO lacks a comprehensive and thorough examination, resulting in significant computational redundancy and limiting the capabilities of the model.
The breakthrough of YOLOv10 is to further improve the performance-efficiency boundary of YOLO in terms of post-processing and model architecture.
To this end, the research team proposed for the first time consistent dual assignment (consistent dual assignment) of YOLO without NMS training, which makes YOLO better in terms of performance and inference latency. improved.
The research team proposed an overall efficiency-accuracy-driven model design strategy for YOLO, fully optimizing each component of YOLO from the perspectives of efficiency and accuracy, greatly reducing computing overhead and Enhanced model capabilities.
Extensive experiments show that YOLOv10 achieves SOTA performance and efficiency at various model sizes. For example, YOLOv10-S is 1.8x faster than RT-DETR-R18 at similar APs on COCO, while significantly reducing the number of parameters and FLOPs. Compared with YOLOv9-C, YOLOv10-B has 46% less latency and 25% fewer parameters with the same performance.
Method introduction
In order to achieve overall efficiency-accuracy-driven model design, the research team started from Improvement methods are proposed in terms of efficiency and accuracy.
In order to improve efficiency, this study proposes a lightweight classification head, spatial-channel (spatial-channel) decoupled downsampling and sorting guidance block design to reduce obvious computational redundancy. and achieve a more efficient architecture.
In order to improve the accuracy, the research team explored large kernel convolution and proposed an effective partial self-attention (PSA) module to enhance model capabilities at low Unlock the potential for performance improvements at low cost. Based on these methods, the team successfully implemented a series of real-time end-to-end detectors of different scales, namely YOLOv10-N/S/M/B/L/X.
Consistent dual allocation for NMS-free training
During training, YOLO typically utilizes TAL for each Instance allocate multiple positive samples. The one-to-many allocation approach generates rich supervision signals that facilitate optimization and enable the model to achieve superior performance.
However, this requires YOLO to rely on NMS post-processing, which results in sub-optimal inference efficiency when deployed. While previous research works have explored one-to-one matching to suppress redundant predictions, they often introduce additional inference overhead.
Unlike one-to-many assignment, one-to-one matching assigns only one prediction to each ground truth, avoiding NMS post-processing. However, this leads to weak supervision, so that the accuracy and convergence speed are not ideal. Fortunately, this deficiency can be remedied by one-to-many allocation.
The "dual label allocation" proposed in this study combines the advantages of the above two strategies. As shown in the figure below, this research introduces another one-to-one head for YOLO. It retains the same structure and adopts the same optimization goals as the original one-to-many branch, but utilizes one-to-one matching to obtain label assignments. During training, the two heads are jointly optimized to provide rich supervision; during inference, YOLOv10 discards the one-to-many head and utilizes the one-to-one head to make predictions. This enables YOLO to be deployed end-to-end without incurring any additional inference costs.
##Overall efficiency-accuracy-driven model design
Except for the last In addition to processing, YOLO's model architecture also poses a huge challenge to the efficiency-accuracy trade-off. Although previous research efforts have explored various design strategies, a comprehensive examination of the various components in YOLO is still lacking. Therefore, the model architecture exhibits non-negligible computational redundancy and limited capabilities.
The components in YOLO include stems, downsampling layers, stages with basic building blocks, and heads. The author mainly performs efficiency-driven model design for the following three parts.
- Lightweight classification head
- Spatial channel decoupling downsampling
- Ranking-guided module design
In order to achieve accuracy-driven model design, the research team further explored large-kernel convolution and self-attention Force mechanism is designed to improve model performance at minimal cost.
Experiment
As shown in Table 1, YOLOv10 developed by the Tsinghua team achieved SOTA performance and End-to-end latency.
The study also conducted ablation experiments for YOLOv10-S and YOLOv10-M. The experimental results are shown in the following table:
As shown in the table below, dual-label allocation achieves the best AP-latency trade-off, and optimal performance is achieved with a consistent matching metric.
As shown in the table below, each design component includes lightweight classification head, spatial channel solution Coupled downsampling and sequencing-guided module design both help reduce parameter count, FLOPs, and latency. Importantly, these improvements are achieved while maintaining excellent performance.
As shown in Table 10, the use of large-core convolution and PSA modules improves the performance of YOLOv10-S by 0.4% AP and 1.4% AP respectively with a minimum delay increase of 0.03ms and 0.15ms. Significantly improved.
The above is the detailed content of Tsinghua University took over and YOLOv10 came out: the performance was greatly improved and it was on the GitHub hot list. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

User voice input is captured and sent to the PHP backend through the MediaRecorder API of the front-end JavaScript; 2. PHP saves the audio as a temporary file and calls STTAPI (such as Google or Baidu voice recognition) to convert it into text; 3. PHP sends the text to an AI service (such as OpenAIGPT) to obtain intelligent reply; 4. PHP then calls TTSAPI (such as Baidu or Google voice synthesis) to convert the reply to a voice file; 5. PHP streams the voice file back to the front-end to play, completing interaction. The entire process is dominated by PHP to ensure seamless connection between all links.

The core method of building social sharing functions in PHP is to dynamically generate sharing links that meet the requirements of each platform. 1. First get the current page or specified URL and article information; 2. Use urlencode to encode the parameters; 3. Splice and generate sharing links according to the protocols of each platform; 4. Display links on the front end for users to click and share; 5. Dynamically generate OG tags on the page to optimize sharing content display; 6. Be sure to escape user input to prevent XSS attacks. This method does not require complex authentication, has low maintenance costs, and is suitable for most content sharing needs.

To realize text error correction and syntax optimization with AI, you need to follow the following steps: 1. Select a suitable AI model or API, such as Baidu, Tencent API or open source NLP library; 2. Call the API through PHP's curl or Guzzle and process the return results; 3. Display error correction information in the application and allow users to choose whether to adopt it; 4. Use php-l and PHP_CodeSniffer for syntax detection and code optimization; 5. Continuously collect feedback and update the model or rules to improve the effect. When choosing AIAPI, focus on evaluating accuracy, response speed, price and support for PHP. Code optimization should follow PSR specifications, use cache reasonably, avoid circular queries, review code regularly, and use X

PHP ensures inventory deduction atomicity through database transactions and FORUPDATE row locks to prevent high concurrent overselling; 2. Multi-platform inventory consistency depends on centralized management and event-driven synchronization, combining API/Webhook notifications and message queues to ensure reliable data transmission; 3. The alarm mechanism should set low inventory, zero/negative inventory, unsalable sales, replenishment cycles and abnormal fluctuations strategies in different scenarios, and select DingTalk, SMS or Email Responsible Persons according to the urgency, and the alarm information must be complete and clear to achieve business adaptation and rapid response.

PHP does not directly perform AI image processing, but integrates through APIs, because it is good at web development rather than computing-intensive tasks. API integration can achieve professional division of labor, reduce costs, and improve efficiency; 2. Integrating key technologies include using Guzzle or cURL to send HTTP requests, JSON data encoding and decoding, API key security authentication, asynchronous queue processing time-consuming tasks, robust error handling and retry mechanism, image storage and display; 3. Common challenges include API cost out of control, uncontrollable generation results, poor user experience, security risks and difficult data management. The response strategies are setting user quotas and caches, providing propt guidance and multi-picture selection, asynchronous notifications and progress prompts, key environment variable storage and content audit, and cloud storage.

Select the appropriate AI voice recognition service and integrate PHPSDK; 2. Use PHP to call ffmpeg to convert recordings into API-required formats (such as wav); 3. Upload files to cloud storage and call API asynchronous recognition; 4. Analyze JSON results and organize text using NLP technology; 5. Generate Word or Markdown documents to complete the automation of meeting records. The entire process needs to ensure data encryption, access control and compliance to ensure privacy and security.

PHP plays the role of connector and brain center in intelligent customer service, responsible for connecting front-end input, database storage and external AI services; 2. When implementing it, it is necessary to build a multi-layer architecture: the front-end receives user messages, the PHP back-end preprocesses and routes requests, first matches the local knowledge base, and misses, call external AI services such as OpenAI or Dialogflow to obtain intelligent reply; 3. Session management is written to MySQL and other databases by PHP to ensure context continuity; 4. Integrated AI services need to use Guzzle to send HTTP requests, safely store APIKeys, and do a good job of error handling and response analysis; 5. Database design must include sessions, messages, knowledge bases, and user tables, reasonably build indexes, ensure security and performance, and support robot memory

When choosing an AI writing API, you need to examine stability, price, function matching and whether there is a free trial; 2. PHP uses Guzzle to send POST requests and uses json_decode to process the returned JSON data, pay attention to capturing exceptions and error codes; 3. Integrating AI content into the project requires an audit mechanism and supporting personalized customization; 4. Cache, asynchronous queue and current limiting technology can be used to optimize performance to avoid bottlenecks due to high concurrency.
