GithubHelp home page GithubHelp logo

mahe_workshop_image_classifier's Introduction

READ ME

**Download and Install Anaconda** *(https://www.anaconda.com/distribution/)*

**1. Once it is installed, open the Anaconda prompt and install the following things**

```
conda create --name tensorflow python=3.6
```
**Windows:**
```
activate tensorflow
```
**Mac:**
```
source activate tensorflow
```


```
python retrain.py --image_dir=data_dir \
--saved_model_dir=saved_model_dir \
--bottleneck_dir=bottleneck_dir \
--how_many_training_steps=2000 \
--output_labels=output/output_labels.txt \
--output_graph=output/retrain.pb
```

```
conda install scipy
pip install --upgrade sklearn
pip install --upgrade pandas
pip install --upgrade pandas-datareader
pip install --upgrade matplotlib
pip install --upgrade pillow
pip install --upgrade tqdm
pip install --upgrade requests
pip install --upgrade h5py
pip install --upgrade pyyaml
pip install --upgrade tensorflow_hub
pip install --upgrade bayesian-optimization
pip install --upgrade tensorflow==1.12.0
pip install --upgrade keras==2.2.4
```


**Download Link for Flower Dataset :** http://download.tensorflow.org/example_images/flower_photos.tgz

**Retrain Command :** python -m retrain --bottleneck_dir=tf_files/bottlenecks --model_dir=tf_files/models/"${ARCHITECTURE}" --summaries_dir=tf_files/training_summaries/"${ARCHITECTURE}" --output_graph=tf_files/retrained_graph.pb --output_labels=tf_files/retrained_labels.txt --architecture="${ARCHITECTURE}" --image_dir=tf_files/flower_photos

mahe_workshop_image_classifier's People

Contributors

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