当前位置:网站首页>Train your own classification [Bao Jiaobao, the data are ready]
Train your own classification [Bao Jiaobao, the data are ready]
2022-07-28 09:05:00 【51CTO】
WeChat official account :AI Algorithm and image processing
Preface :
When looking for a job , You are often asked if you have done any projects , I answered that I had run through handwritten numeral recognition , Then he was laughed ...
Indeed, this is relative to the programming hello world
therefore , Today I'll show you how to build your own classifier , It's not that hard
And the industrial application of classifier is very wide , For example, product defect detection ( Detect different defect types ) etc. .
1、 Prepare the data
Picture data of flowers :http://download.tensorflow.org/example_images/flower_photos.tgz
( competent , You can go online to crawl other pictures )

2、 Understand the network structure DenseNet
DenseNet It is a convolutional neural network with dense connections . In this network , There is a direct connection between any two layers , in other words , The input of each layer of the network is the union of the outputs of all previous layers , And the feature map learned by this layer will also be directly transmitted to all the following layers as input . The picture below is DenseNet A schematic diagram of .

This is a very cowhide network structure , get CVPR 2017 Best paper .
advantage :
The relief gradient disappears
Strengthen feature transmission
High feature utilization
Reduce the number of parameters
Thesis link :https://arxiv.org/pdf/1608.06993.pdf
3、 Code implementation
Environmental Science :python3.6、tensorflow-gpu 1.5.0、keras2.2.4
The following notes are very detailed , I am not much. bb 了 . For those who don't understand the code, please refer to tensorflow Official course :https://tensorflow.google.cn/tutorials/
The convergence speed of this model training is really fast , Very awesome.
After training, you can use tensorboard see loss Change and accuracy of
Of course, we need to see how the test effect of the model is , So take a look at the test results of a single picture
effect :

summary
1、 Here is the application of the model , Of course, you need to understand the basic structure during the interview , There are also some clever ideas of the author , Not just to find a bite to eat , For future work and ideas for solving problems , Can be of great help , It can brighten the eyes of leaders
2、 Say more here , When we learn from others' achievements , I'm not looking at or saying goodbye to others , More should be to learn how they solve problems when they encounter them , Everyone will encounter the problem of no , But how to think when encountering problems , That's where others are , From scratch , cattle .

END


边栏推荐
- 【单细胞高级绘图】07.KEGG富集结果展示
- Network interface network crystal head RJ45, Poe interface definition line sequence
- 1w5字详细介绍分布式系统的那些技术方案
- Huid learning 7: Hudi and Flink integration
- 快速搭建一个网关服务,动态路由、鉴权的流程,看完秒会(含流程图)
- In addition to exporting the incremental data captured by Oracle golden gate to Oracle, where can it be exported? Can be similar
- Eight ways to solve EMC and EMI conducted interference
- Machine learning: self paced and fine tuning
- TXT text file storage
- 'global event bus' &' message subscription and Publishing '
猜你喜欢

Go synergy

JSON 文件存储

Among China's top ten national snacks, it is actually the first

Let me teach you how to assemble a registration center?

Basic syntax of jquey

Vs2015 use dumpbin to view the exported function symbols of the library

中国地图省>市>级>区>镇>村5级联动下载【2019和2021】
![Chapter 2-2 calculation of piecewise function [1]](/img/40/cad6bf92849624199af0fd1ba1d433.jpg)
Chapter 2-2 calculation of piecewise function [1]
![Detailed explanation of switch link aggregation [Huawei ENSP]](/img/c2/f9797fe8b17a418466b60cc3dc50a1.png)
Detailed explanation of switch link aggregation [Huawei ENSP]

478-82(56、128、718、129)
随机推荐
Mobaxtermsession synchronization
置顶各大平台,22版面试核心知识解析笔记,强势上榜
Slice function of JS handwriting function (thoroughly understand the header but not the footer)
分布式系统架构理论与组件
Among China's top ten national snacks, it is actually the first
说透缓存一致性与内存屏障
Quickly build a gateway service, dynamic routing and authentication process, and watch the second meeting (including the flow chart)
kubernetes之Deployment
Deployment of kubernetes
Kubernetes cluster configuration serviceaccount
推荐一个摆脱变量名纠结的神器和批量修改文件名方法
创建线程的3种方式
NPM and yarn use (official website, installation, command line, uploading your own package, detailed explanation of package version number, updating and uninstalling package, viewing all versions, equ
Flink window & time principle
C language array pointer and pointer array discrimination, analysis of memory leakage
You're not still using xshell, are you? This open source terminal tool is yyds!
[activity registration] User Group Xi'an - empowering enterprise growth with modern data architecture
c语言数组指针和指针数组辨析,浅析内存泄漏
Detailed explanation of the basic use of express, body parse and express art template modules (use, route, path matching, response method, managed static files, official website)
Learn to draw with nature communications -- complex violin drawing