Coder Social home page Coder Social logo

glaucomunsberg / kootstrap Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 2.46 GB

Kootstrap is a bootstrap to Keras. It is a technique of compile and loading a datasets into a Keras application by means of a few initial instructions that enable the introduction of the rest of the program from an input device. Read more at

Home Page: https://glaucomunsberg.github.io/kootstrap/

License: MIT License

Python 87.34% Shell 0.83% HTML 11.83%
keras dataset-generation bootstrap python datascience

kootstrap's Introduction

Build Status

Kootstrap is a bootstrap to Keras. It is a technique of compile and loading a datasets into a Keras application by means of a few initial instructions that enable the introduction of the rest of the program from an input dataset.

Build Status version license

Commands

Create a dataset with two classes.

cd maker/
python Main.py --mode dataset --dataset_name graffiti --classes graffiti,street

Create a subset of this dataset with 90% original images

python Main.py --mode compiler  --dataset_name graffiti --subset_name graffiti_per90_porp_default --per_images 90

Crawls images to each class from Flickr. This seed the dataset and compile the subsets.

cd ../crawler/
python Main.py --mode crawler,dataset --dataset dataset_example --classes graffiti,street --flickr_tags graffiti,street\ art;street --num_images 100

Execute a train with finetuning in Imagenet Model

cd ../trainer/
python Main.py --model_name model_example_1 --load_data dataset_example

Test the predictions on model with set of test compileted in graffiti_per90_porp_default

cd ../tester/
python Main.py --model_name model_example_1 --load_data graffiti_per90_porp_default

Compile a 1-Top with a histogram from test results:

cd ../analyzer/
python Main.py --model_name top --test_name testing_imagenet_test_set

Migrate datasets

if you have a dataset and want migrate try:

cd ../tools/
python Main.py --mode migrate --path_origin <PATH_FOLDER_WITH_CLASSES> --path_destiny <PATH_TO_KOOTSTRAP_FOLDER> 

if you want create a subset or recovery the metadata.json try:

cd ../tools/
python Main.py --mode fix --path_origin <PATH_TO_SUBSET_OR_DATASET>

Copy or move files to inside a dataset? Try:

python Main.py --mode transfer --path_origin <PATH_FOLDER_WITH_CLASSES> --path_destiny <PATH_TO_KOOTSTRAP_FOLDER> 

kootstrap's People

Contributors

glaucomunsberg avatar

Stargazers

 avatar Thomas Oczkos avatar

Watchers

James Cloos 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.