Skip to main content

Libraray contains algo to generate images by learning representation from data

Project description

gimmick

Introduction

Whats Gimmick ? Its a library which allows us to generate images out of nothing, basically you tell gimmick what kind of images you would like to generate and what model to use and it does the rest. Its easy to use as primary focus is on user friendlyness without exposing to much details, but you can be specific if you wanna be.

What do we do internally ? we trained neuralnets, we add different type of networks making sure that interface always remain same, just plugin different algo and see how it perform.

Installtion

pip install gimmick

just like that, its python everything should be easy

Dependency

Gimmick autmatically install all the dependency for you, but occationaly you run into one of those bugs, so in a nutshell we use tensorflow, sklearn. i know torch is much faster, we will get their

Examples

we have already provided samples with the github repo, you can browse it, read it and run it.

Lets demonstrate

usecase 1 - I just wanna run as simple as i can.

import gimmick
model = gimmick.learn(images, algo='autoencoder_dense')  # Just make sure that images is a numpy array which contains N number 3D or 2D images
images_gen = model.generate(16)  # I need 16 images

usecase 2 - I wanna control how my model is trained

import gimmick
model = gimmick.learn(images, algo='autoencoder_dense', epochs=500, batch_size=8,
                      optimizer='adam', learning_rate=0.01, loss_function='mae')
images_gen = model.generate(16, batch_size=8)

usecase 3 - I wanna know everything

Go through the detailed documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gimmick-1.0.tar.gz (19.4 kB view hashes)

Uploaded Source

Built Distribution

gimmick-1.0-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page