Giter VIP home page Giter VIP logo

tf-slim-inception's Introduction

tf-slim-inception

tensorflow-slim下的inception_v3、inception_v4、inception_resnet_v2分类模型的数据制作、训练、评估、导出模型、测试。 训练比较请参考:InceptionV3、InceptionV4图像分类训练与比较

相关截图

项目结构

路径配置

将path.sh中的路径修改成自己的路径即可

#!/usr/bin/env bash
export PYTHONPATH=$PYTHONPATH:/Users/zhousf/tensorflow/zhousf/tf-slim-inception/models-master
export PYTHONPATH=$PYTHONPATH:/Users/zhousf/tensorflow/zhousf/tf-slim-inception/models-master/research
export PYTHONPATH=$PYTHONPATH:/Users/zhousf/tensorflow/zhousf/tf-slim-inception/models-master/research/slim
export PYTHONPATH=$PYTHONPATH:/Users/zhousf/tensorflow/zhousf/tf-slim-inception/models-master/research/slim/datasets
export PYTHONPATH=$PYTHONPATH:/Users/zhousf/tensorflow/zhousf/tf-slim-inception

数据制作

image_classify_inception.py 数据制作请参考flowers

训练

  • train.py/train.sh
  • 终端中运行:source train.sh 即可

评估

  • eval.py/eval.sh
  • 终端中运行:source eval.sh 即可

可视化

  • show_train.py 训练
  • show_eval.py 评估

导出模型

  • export.py/export.sh
  • 终端中运行:source export.sh 即可

测试

eval_single_img.py

模型配置文件

  • train_inception.py 配置训练的参数(网络模型选择,训练次数,batch_size、指定GPU等)
  • config.py 指定训练的业务

tf-slim-inception's People

Contributors

mrzhousf avatar

Watchers

Jan 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.