Coder Social home page Coder Social logo

uotogk / pets_classifer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kingking888/pets_classifer

0.0 0.0 0.0 31.11 MB

从零开始构建的一个宠物识别系统,包括爬虫、深度学习模型和WEB服务。爬虫使用requests+beautifulsoup4+gevent,深度学习模型使用TensoFlow 2.0,WEB服务使用Vue.js+Element UI。

Python 90.20% HTML 9.80%

pets_classifer's Introduction

介绍

这是一个从零开始构建的深度学习小项目,提供猫、狗、鼠、兔四种宠物的识别服务。

共包含如下几部分:

  • 爬虫
    • 从网络上下载宠物图片,构建训练用的数据集
    • gevent + requests + beautifulsoup4
  • 深度学习模型
    • 鉴于我们的数据比较少,这部分需要做迁移学习
    • TensorFlow 2.0 + DenseNet121
  • Web服务
    • 使用Web提供宠物图片识别服务
    • 后端 Flask
    • 前端 Vue.js + Element UI

快速开始

1.如何启动web服务?

  • 切换到项目根目录下;
  • 安装requirements.txt中的依赖;
  • 通过python3 app.py启动web服务;
  • 浏览器打开 http://localhost:5000/ 访问index页面。

2.如何训练自己的模型?

  • 切换到项目根目录下;
  • 安装requirements.txt中的依赖;
  • 通过python3 spider.py启动爬虫程序;
  • 人工筛选,删除不正确的图片;
  • 修改settings.py里的相关参数;
  • 通过python3 train.py启动训练脚本。

更多信息

请访问博文:

从零开始编写一个宠物识别系统(爬虫、模型训练和调优、模型部署、Web服务) (https://www.aaronjny.com/articles/2019/12/17/1576592367309.html)

从零开始编写一个宠物识别系统(爬虫、模型训练和调优、模型部署、Web服务) (https://blog.csdn.net/aaronjny/article/details/103605988)

pets_classifer's People

Contributors

aaronjny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.