Another post starts with you beautiful people!
Thanks for giving so many views on my previous post 👍.
I am glad to see my previous posts are helping people to use state of the art object detection and recognition deep learning model in their projects. If you are new to my blog, I recommend seeing once my previous posts, and you will not be disappointed if your goal is to learn applied computer vision free of cost. Continuing my journey of sharing knowledge in this post I am going to share with you a new state of the art framework for object detection on mobile devices- YOLObile 📱
There has been a trade-off between speed and the accuracy of object detections. For example, the state of the art, YOLOv4 model gives us a very accurate detection but its speed is slow if we want to use it on a mobile device. On the other hand, its lighter version YOLOv4-tiny works very fast on a mobile device but its accuracy reduces. For a detailed comparison of FPS vs mAP you can refer to the above diagram. Nowadays computer vision techniques are improving day by day due to hardware advancement and so using AI in mobile devices is a hot choice for every mobile app.
However, the current state-of-the-art object detection works are either accuracy-oriented using a large model but leading to high latency or speed-oriented using a lightweight model but sacrificing accuracy. To solve this problem respected authors [Yuxuan Cai, Hongjia Li, Geng Yuan, Wei Niu, Yanyu Li, Xulong Tang, Bin Ren, Yanzhi Wang] of this paper have introduced the YOLObile framework, a real-time object detection on mobile devices via compression-compilation co-design. 💥
As per the authors- A novel block-punched pruning scheme is proposed for any kernel size. To improve computational efficiency on mobile devices, a GPU-CPU collaborative scheme is adopted along with advanced compiler-assisted optimizations. Experimental results indicate that our pruning scheme achieves a 14x compression rate of YOLOv4 with 49.0 mAP. Under our YOLObile framework, we achieve 17 FPS inference speed using GPU on Samsung Galaxy S20. By incorporating our proposed GPU-CPU collaborative scheme, the inference speed is increased to 19.1 FPS and outperforms the original YOLOv4 by 5x speedup.
That's quite a solid approach right 💪. If I summarize their approach then I would say that their approach is basically unstructured weights pruning, with a bit of structure on top, where they group the weights in blocks of 4 channels and 8 filters (x32). This structure allows them to improve parallelism. One important point to know here is that unstructured sparsity is very difficult to parallelize compare to structured sparsity also it is hardware-specific.On the other hand, up to 93% of reduction in weight size without a real loss in accuracy is really tempting with this framework. 💝
I know after reading this all of you want to see the result of this new approach on any benchmark dataset💥 and the good news is that authors have recently released the weights (in PyTorch format) which you can download from this link
From the download link, you will get two weights files of 245 MB size: best8x-514.pt and best14x-49.pt. These two weights are the output of the 8x and 14x pruning models. According to the authors- these models are trained on a server with eight NVIDIA RTX 2080Ti GPUs. The training methods are implemented using PyTorch API. The details of both weights are as below:-
I tested the MAP on coco 2017 dataset (80 classes) with image-size of 320, batch-size of 8, best8x-514 weights in my Windows 10 laptop having 6GB of NVIDIA GTX 1060 and results are as below-
For evaluating this framework, the authors used an off-the-shelf Samsung Galaxy S20 smart-phone, which has a Qualcomm Snapdragon 865 Octa-core CPU and a Qualcomm Adreno 650 GPU. Each test ran on 50 different input frames (images), with the average speed results reported. The YOLObile is derived based onYOLOv4, with 320×320 input size, and train on the MS COCO dataset. They denote mAP as the Average Precision under IoU 0.5 threshold and AP@[.5:.95] as the Aver-age Precision under IoU from 0.5 to 0.95-
The above evaluation result is quite amazing right💥. A real-time object detection framework on mobile devices via compression-compilation co-design will definitely going to be a game-changer. I have uploaded the inference code in my github repository You can follow the same to test the new framework in your own system. Since this framework is quite new there are no open-source code is available for the training on a custom dataset but as soon as I found any one of the Darknet or TensorFlow implementation, I will share with you all. Till then Go chase your dreams, have an awesome day, make every second count, and see you later in my next post😇
How can i update this to run with CUDA10.2 or 11.1?
ReplyDeleteAre you facing any error while running the code with CUDA 10.2 or 11.1? If yes, please share the error log. I have tested with CUDA 10.0 and it's working.
DeleteWow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
ReplyDeleteData Science
Selenium
ETL Testing
AWS
YOLObile is a research project focused on developing a real-time object detection system specifically optimized for mobile devices. It builds upon the foundation of the YOLO (You Only Look Once) framework, which is renowned for its speed and accuracy in object detection.
DeleteImage Processing Projects For Final Year
Core Challenges and Solutions
The primary challenge in deploying object detection models on mobile devices is balancing accuracy with speed and computational efficiency. YOLObile addresses this by:
Compression: Employing a novel block-punched pruning scheme to significantly reduce the model size without compromising accuracy.
Compilation Optimization: Leveraging compiler-assisted optimizations to enhance the model's performance on mobile hardware.
Deep Learning Projects for Final Year Students
GPU-CPU Collaboration: Exploiting the strengths of both GPU and CPU for efficient computation.
Big Data Projects For Final Year Students
Data Science Course in Noida
ReplyDeleteMachine Learning Course in Noida
Thanks for sharing useful information.
ReplyDeletedata science course in chennai
Data Science Course in Chennai
ReplyDeleteLEARN DATA SCIENCE USING PYTHON
ReplyDeleteThis article is a great article that I have seen in my python programming career so far.
hire python developers in US
data warehouse, I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks!
ReplyDeleteThanks for this explanation.
ReplyDeleteData Science Online Training
Python Online Training
Thanks for sharing the best information and suggestions, I love your content, and they are very nice and very useful to us. If you are looking for the best applied data science with python, then visit igmguru.com. I appreciate the work you have put into this.
ReplyDeleteExcellent Blog! I would Thanks for sharing this wonderful content. Its very useful to us.I gained many unknown information, the way you have clearly explained is really fantastic.keep posting such useful information.
ReplyDeleteData science is a quickly developing field. So, to get your data science certifications in R, Python, and SQL or learn Hadoop or Apache Spark, practice everything learn, every day.
Why Get Certified as a Data Scientist?
Awesome and thanks for giving this blog.
ReplyDeleteData Science Course in Chennai
Data Science Online Course
Data Science Course in Bangalore
ReplyDeleteVery informative blog! I am glad that I came across your article. I'm learning a lot from here. Keep us updated by sharing more such blogs.
AWS Course in Chennai
AWS Online Course
AWS Course in Coimbatore
"Great Share"!
ReplyDeleteData Science Online Course Training in Bangladesh
Thanks for sharing this article with us, it's very useful and clearly well-explained content.
ReplyDeleteAWS Certification Course in Malaysia
Thanks for Share the Details of Amazon Web Services, AWS Training, AWS Courses, AWS Certifications Process and Understand the Clear Concept.
ReplyDeleteAWS Training in Bangalore
Best AWS Training Institutes in Bangalore
Cloud Computing courses in Bangalore
AWS course in Bangalore
Thanks you and excellent and good to see the best software training courses for freshers and experience candidates to upgade the next level in an Software Industries Technologies,
ReplyDeleteMachine Learning Training in Bangalore
Machine Learning Course in Bangalore
Machine Learning Training Bangalore
Machine Learning Course Bangalore
Thanks you and excellent and good to see the best software training courses for freshers and experience candidates to upgade the next level in an Software Industries Technologies,
ReplyDeletePython course in Bangalore
Python Training in Bangalore
Python Online Training in Bangalore
python training institute in Bangalore
Really such an amazing blog with true words this was easily understand by beginners at all so keep going always regards by Technokryon
ReplyDeletebest data science companies
This blog is very useful it includes very knowledgeable information. Thank you for sharing this blog with us. If anyone want to experience certificate in Bangalore can call at 9599119376 or can visit https://experiencecertificates.com/experience-certificate-provider-in-Hyderabad.html
ReplyDeleteWow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot.
ReplyDeletePython Training Institute in Delhi- Education Have another Serving
Solidworks training in Delhi- Education the River Of Life
Great and knowledgeable article, I'm really impressed and thanks for sharing your knowledge with us.
ReplyDeleteCertified AutoCAD Training Institute in Delhi, India
Authorized 3D Max training Institute in Delhi, NCR
I have read all the comments and suggestions posted by the visitors for this article are very fine, we will wait for your next article so only. Thanks!
ReplyDeleteComplete MIS Training Course by Certified Institute in Delhi, NCR
Core- Advanced Java Training Course in Delhi, NCR
Thanks for sharing the best information and suggestions, I love your content, and they are very nice and very useful to us.
ReplyDeleteComplete 3D Max Training Institute in Delhi, NCR
Get the Best Solidworks Training Institute in Delhi, NCR
I have read all the comments and suggestions posted by the visitors for this article are very fine, We will wait for your next article so only. Thanks!
ReplyDeleteCertified Python Training Institute in Delhi with Placement Guarantee
Authorized CAD Training Center in Delhi with Placement Assistance
Complete SAS (Data Science Training Course in Delhi, NCR
Core to Advanced JAVA Training Course in Delhi with Reasonable Fees
Great and knowledgeable article, I'm really impressed and thanks for sharing your knowledge with us.
ReplyDeleteTop Consultancy in Delhi for Genuine Experience Certificate
Best Consultancy in Bangalore for Genuine Experience Certificate
"Nice Blog! such a informative things you are sharing ,I really liked your content. If you wanna know about ""Skillslash | Training with live industry experience that gets you hired
ReplyDelete"" go to Data Science Course"
Thank you for sharing such a useful article. It will be useful to those who are looking for knowledge. Continue to share your knowledge with others through posts like these, and keep posting on
ReplyDeleteData Engineering Services
Advanced Data Analytics Solutions
Great Post! Thanks for sharing. Keep sharing such information.
ReplyDeleteData Science Training in Noida
I Like to add one more important thing here, The Deep Learning Market is expected to be around US$ 25.50 Billion by 2025 at a CAGR of 42% in the given forecast period.
ReplyDeleteVery Helpful blog it is, you also make it amazing and an easy-to-read blog for the readers by adding proper information. It really helped me a lot in the field of Top 30 Data Analyst Interview Questions
ReplyDeletethanks for sharing a valid information
ReplyDeleteGerman language institute in Delhi
thanks for sharing a valid information and a blog post .
ReplyDeletestudy In Germany
ReplyDeleteHi dear,
Thank you for this wonderful post. It is very informative and useful. I would like to share something here too.Loop of Words is an innovative digital marketing agency dedicated to enhancing your brand’s image and customer base. The latest tools, powerful strategies, and data-driven results are our power pillars to deliver the best results.
digital marketing consulting services
THANKS FOR SHARING VALID INFORMATION AND A BLOG POST.
ReplyDeleteSTUDY IN GERMANY
thanks for sharing valid information and blog post.
ReplyDeleteStudy In Germany
thanks for sharing a valid information and a blog post ..
ReplyDeleteBachelor In Germany
thanks for sharing valid information and a blog post..
ReplyDeleteBachelor In germany
it’s very helpful useful thanks for your valuable information follow us
ReplyDeleteLearn Data Science Online Course
I wholeheartedly congratulate the writer of this post for explaining the difficult concepts of data science in a simple and easy-to-understand manner. My only regret is that I didn’t read this post earlier. I have made many career decisions in my life after reading this, and have no regrets whatsoever to date.data science course training in faridabad
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIf you're looking for high-quality data science training in Gurgaon, look no further than APTRON. Our comprehensive program is designed to equip you with the knowledge and skills you need to succeed in this rapidly growing field. Here's what you can expect from our program:
ReplyDeletethanks
ReplyDeleteAwesome blog with an pretty good content thanks for sharing this Custom ERP System
ReplyDeleteAre you looking for the best Data Science Training in Delhi? Look no further than APTRON Delhi! With its comprehensive and industry-focused curriculum, APTRON Delhi stands out as a leading institute for Data Science training. Whether you're a beginner or an experienced professional, APTRON Delhi offers the perfect platform to enhance your skills and thrive in the field of data science.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteAre you considering a career in SAP and looking for the best SAP HANA Course in Delhi? Look no further! At ERP Training Delhi, we offer comprehensive and industry-focused SAP HANA training that will equip you with the skills and knowledge to excel in the ever-evolving world of enterprise resource planning (ERP).
ReplyDeleteThe step-by-step tutorials and code snippets provided in this blog post make it easier for readers to implement data science techniques. Data Science Certification In Chennai
ReplyDeleteComputer vision Computer vision allows machines to interpret and understand visual inputs, giving them the power of sight. In this blog post we will explore how this artificial intelligence capability works and real-world applications across industries. Additionally, by showcasing the inner workings and wide-ranging uses of computer vision, this blog provides a comprehensive yet concise overview of this transformative technology.
ReplyDeleteAPTRON's Python Institute in Gurgaon offers a tailored learning journey that equips you with the tools and knowledge needed to thrive in the ever-evolving field of technology. Offering a comprehensive platform to master the intricacies of Python programming.
ReplyDelete