Coder Social home page Coder Social logo

tianchi_xuelangai_resnet50withslim's Introduction

Tianchi_xuelangAI_ResNet50withSlim

本项目是天池大数据竞赛-雪浪AI布匹瑕疵检测比赛初赛的代码。
因为参加时间已经临近初赛结尾,所以只是实现了代码功能,没有仔细调参。可以作为经验在以后的比赛中深入学习。

一开始在天池网站上看到这个比赛的时候已经接近尾声了,所以只是调通了整体代码,并没有深入研究模型调参与具体方法。这个 比赛是布匹瑕疵检测,基本上就是图像的目标检测任务。但是初赛只要求做到分类就可以,所以只是简单地将模型写成了二分类。整个项目采用 了tensorflow的slim模块加载预训练的ResNetV2-50模型,并采用TFrecord标准化方式读取数据,可以作为未来学习和参加比赛的基础。

加载预训练模型与slim的应用参考了该博客:公输睚信-预训练模型与slim 讲解得比较明了。


项目各文件的介绍

xuelang_classifier.py :分类器模型,定义了一个基于ResNet50的网络结构。

xuelang_imagePreprocess.py :写了一些图像预处理函数

xuelang_xmlProcess.py :写了一些xml文档处理函数,xml文档存放目标检测信息

xuelang_generateRecord.py :生成TFrecord,读取record到slim.dataset

xuelang_train.py :训练

xuelang_test.py :测试

read_model_variables.py :读取存储模型的参数名

tianchi_xuelangai_resnet50withslim's People

Contributors

yuhaitao1994 avatar

Stargazers

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