当前位置:网站首页>How to make interesting apps for deep learning with zero code (suitable for novices)
How to make interesting apps for deep learning with zero code (suitable for novices)
2022-07-29 05:49:00 【Quantify NPC】
How to make deep learning fun of zero code app( Suitable for novice )
This article is divided into four parts , Will teach you how to quickly build a zero code image classification app
- Prepare training data
- Use tools to train the model
- Use demo And experience
- How to publish applications and optimize ? Please refer to the next article .
The interest of deep learning app Simple optimization ( Suitable for novice )
List of articles
- Preface
- preface
- One 、 Sign up for a developer account (6min)
- Two 、 Environmental preparation ( Rely on the network environment )
- 1. download android studio
- 2. Installation tools HMS Toolkit
- 3. find hms, choice coding assistant
- 4. Jump out of the following page , Choose to allow . If you do not jump out of the following pages, you need to clean up the browser cache
- 5. After successful login ,Android Studio The jump is as follows
- 6. Enter the page and configure python environment variable
- 3、 ... and 、 Dataset construction ( It depends on the actual situation )
- Four 、 Train the model and generate app
- Q&A
Preface
With the development of artificial intelligence , Machine learning is becoming more and more important , But many online learning materials can't be used directly on the mobile terminal , The reason is that the mobile terminal is very sensitive to the size of the model , At the same time, the performance should also reach the same level . For beginners , Very heavy workload .
therefore , This article will introduce how to build deep learning examples available on the mobile terminal with zero code , If you have any questions, please feel free to contact the author .
preface
You may have encountered such a scene , Seeing the cute cat walking by, I don't know the breed of the cat , So can we make a classifier to help us identify the breed of cats ?
The answer is yes , We can use this article to quickly develop a cat classifier with zero code , Look at the effect , I feel pretty good .

Of course , Adjust the data set according to , Many kinds of classifiers can be trained , For example, car classification , refuse classification , Even pet elf classification , As long as there is a big enough brain hole , With this function, you can accomplish many interesting things .
Tips : The following is the main body of this article , The following cases can be used for reference
One 、 Sign up for a developer account (6min)
1. Enter the official website of Huawei developers
https://developer.huawei.com/consumer/cn/, Click registration .
2. Click on admin Center , Register as a personal developer


Using personal bank card authentication is faster .
Two 、 Environmental preparation ( Rely on the network environment )
1. download android studio
Download address :https://developer.android.google.cn/studio/
2. Installation tools HMS Toolkit
choice file->settings->plugin-> Search for hms toolkit. Install and restart ide.
3. find hms, choice coding assistant

4. Jump out of the following page , Choose to allow . If you do not jump out of the following pages, you need to clean up the browser cache

5. After successful login ,Android Studio The jump is as follows

6. Enter the page and configure python environment variable
Click on AI, choice AI Create, choice image, If the following conditions occur, configure python environment variable 
The download link is as follows :
https://www.python.org/downloads/release/python-375/
Suggested choice executable installer, It's more convenient .
!!! Be careful python Version must be 3.7.5
!!! Please check ADD To PATH, You can avoid the problem of configuring environment variables yourself .
3、 ... and 、 Dataset construction ( It depends on the actual situation )
Building a dataset is simple , If you want to do cat breed classification app, Just create one called cats Folder
!!! Please note that there is no Chinese in the catalogue , The pictures included can be jpg,png, Be careful not to have gif.
It contains the varieties you want to classify , Such as Garfield , Puppet cat , Beauty is short , English short , Siamese kitten (5 class ).
The pictures under each folder are as follows .
Data sets need to be cleaned , Make sure every picture is as clear as possible , And there are no other interfering factors , For example, the proportion of cats in the picture is too small , Mixed with other breeds of cats , People appear in the picture , The light is too dark or too exposed , Of course , The image training set in this example will also provide a link to download .
Here we recommend you to use a product called fatkun Image batch download software . yes chrome One of the plug-ins in , It's very easy to use .
Four 、 Train the model and generate app
1. Import dataset
When it shows check success in the future , You can adjust the algebra and learning rate of training by yourself
The learning rate can be reduced , Algebra can be raised , But be careful not to over fit . The accuracy of the training results depends on the data set , Learning rate and training algebra . Click on create model
2. Click on generate demo And save
Note that the stored project directory cannot have a Chinese path .
3. function demo
Will be trained demo Use android studio open , wait for gradle Download self update .
usb Connect to the mobile phone with developer mode turned on , Wait for the name of the phone to appear and click the green button .
Experience it quickly ~
So far, you have successfully built a classifier , Is it exciting ???
Q&A
- This step may take a long time , Please be patient .

- There is no limit to the type of data set , You can add categories or delete categories by yourself , But keep the species larger than two .
- How to publish applications and optimize ? Please refer to the next article .
The interest of deep learning app Simple optimization ( Suitable for novice ) - app Be able to participate in those activities ?
You can contact wechat :HMSMachineLearning
边栏推荐
- 量化开发必掌握的30个知识点【什么是分笔逐笔数据】?
- The LAAS protocol of defi 2.0 is the key to revitalizing the development of defi track
- Fantom (FTM) 价格将在未来几天飙升 20%
- MOVE PROTOCOL全球健康宣言,将健康运动进行到底
- Under the bear market of encrypted assets, platofarm's strategy can still obtain stable income
- Build msys2 environment with win10
- Elastic box flex
- QT setting background image method
- What is nmap and how to use it
- 识变!应变!求变!
猜你喜欢

Fantom (FTM) surged 45% before the FOMC meeting

完全去中心化的编程模式,不需要服务器,也不需要ip,就像一张漫无目的的网络、四处延伸

Xsan is highly available - xdfs and San are integrated with new vitality

iSCSI vs iSER vs NVMe-TCP vs NVMe-RDMA

QT layout management -- Part stretch principle and sizepolicy

Go|gin quickly use swagger

The openatom openharmony sub forum was successfully held, and ecological and industrial development entered a new journey

Dao race track is booming. What are the advantages of m-dao?

IDEA使用JDBC连接MySQL数据库个人详细教程

Training log 4 of the project "construction of Shandong University mobile Internet development technology teaching website"
随机推荐
从Starfish OS持续对SFO的通缩消耗,长远看SFO的价值
“山东大学移动互联网开发技术教学网站建设”项目实训日志三
Bare metal cloud FASS high performance elastic block storage solution
量化开发必掌握的30个知识点【什么是Level-2数据】
The completely decentralized programming mode does not need servers or IP, just like a aimless network extending everywhere
马斯克推崇的柏拉图式元宇宙,PlatoFarm早已验证出答案
Related knowledge of elastic box
裸金属云FASS高性能弹性块存储解决方案
Windows下cmd窗口连接mysql并操作表
如何 Pr 一个开源composer项目
Starfish OS: create a new paradigm of the meta universe with reality as the link
山寨币SHIB 在 ETH 鲸鱼的投资组合中拥有 5.486 亿美元的股份——交易者应提防……
From starfish OS' continued deflationary consumption of SFO, the value of SFO in the long run
Strategic cooperation with many institutions shows the strength of the leading company of platofarm yuancosmos
微信内置浏览器禁止缓存的问题
与张小姐的春夏秋冬(4)
DAY15(DAY16拓展):文件包含漏洞
Fantom (FTM) 价格将在未来几天飙升 20%
焕然一新,swagger UI 主题更改
如何在加密市场熊市中生存?