Giter Club home page Giter Club logo

attempt_to_eliminate_the_semantic_gap_improved_version_transfer_learning__tensorflow_and_keras__'s Introduction

Attempt_to_eliminate_the_semantic_gap_improved_version_Transfer_learning__Tensorflow_and_Keras__

kaggleのデータ「Dogs vs. Cats」から犬と猫のカラー画像をCNNで学習し、犬と猫の画像を分類させました。

Attempt_to_eliminate_the_semantic_gap__Tensorflow_and_Keras__

こちらの改良版になります。kerasのVGG16モデルを使って、転移学習を行いました。VGG16は、16層(プーリング層とFlatten層はカウントしない)の 畳み込みニューラルネットワークで、ImageNetという大規模な画像データセットの学習を進めることで、1000カテゴリのマルチクラス分類を行ったものです。 詳しくは読みやすいブログがありましたので、こちらをご覧ください。
VGG16について

ただし、最終出力は1000カテゴリの分類なので、2値分類には使えないので、出力側のFC層は使用せずに、直前の畳み込みブロックまでを使いました。 最後のFC層を独自のものに置き換えて、最終出力を1個のニューロンのミニして2値分類を行いました。

【考察】
テストデータの精度は95%となりました。自作のCNNのモデルは73%だったので、その差は歴然でした。


.ipynbファイルが開かれない時は、こちらのリンクにURLを貼ってご覧になってください。
nbviewer

attempt_to_eliminate_the_semantic_gap_improved_version_transfer_learning__tensorflow_and_keras__'s People

Contributors

n-yuzuto avatar

Watchers

 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.