GithubHelp home page GithubHelp logo

momotoculteur / multi-label-image-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 76.25 MB

Permet de creer avec Tensorflow et Keras un recommandeur de hastag pour image, avec des algorithmes de deep learning.

Home Page: https://deeplylearning.fr/cours-pratiques-deep-learning/recommandeur-de-hashtag-pour-image/

Python 100.00%
kears tensorflow data ai ia artificial-intelligence neural-network classification multilabel-classification deep-learning

multi-label-image-classification's Introduction

Recommendeur de hashtag pour image

Permet de creer avec Tensorflow et Keras un recommandeur de hastag pour image, avec des algorithmes de deep learning.

Installer les pré-requis

Je vous laisse installer vous même les libraires nécessaires, par conda ou pip selon vos préferences et environnements

  • Tensorflow
  • Keras
  • Pandas
  • TQDM
  • PIL

Téléchargez le dataset HARRISON, le dézipper dans ./HARRISSON/.

Customization des hyper paramètres

Disponible dans le fichier trainModel.py :

Attribut Description
CLASSE Lien vers le fichier contenant la liste totales des classes avec leurs indices respectifs
NB_CLASSES Nombre de classe ; définie le nombre de neuronnes sur le dernier layer
NB_EPOCH Nombre d'iteration pour l'entrainement
BATCH_SIZE Nombre d'image par lot
SHUFFLE Permet de melanger notre dataset
IMG_SIZE Taille des images à resize
TRAINSIZE_RATIO Ratio pour gerer la taille des jeux d'entrainement et de validation
DIRECTORY_DATA Chemin parent vers les images
DIRECTORY_TRAINED_MODEL Chemin ou save le modele
COLOR_MODE Choix des canaux des images : couleur ou noir/blanc

Générer et entrainer un model

$ python trainModel.py

Prédiction de nouvelles images

Donnez les chemins d'accès à vos photos tests dans le fichier ./dataTest/imgTest.txt, puis lancez :

$ python autoPredic.py

multi-label-image-classification's People

Contributors

momotoculteur avatar

Watchers

 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.