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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gimmick-1.0.tar.gz.

File metadata

  • Download URL: gimmick-1.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gimmick-1.0.tar.gz
Algorithm Hash digest
SHA256 e8a2cf921e733a28599c428cca34db7cb783ba795b06e956f5ebfff0f8dafb66
MD5 ff94650b20cb21faa6613ea5b1bbe4a7
BLAKE2b-256 bfd2e57c0f01aff77f00c99d26f8f1210828b08abbf2a6cd1dc21d353be5ca19

See more details on using hashes here.

File details

Details for the file gimmick-1.0-py3-none-any.whl.

File metadata

  • Download URL: gimmick-1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for gimmick-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1762bbe0f784680410debd174e3cc2838c4a5fd1ef97dbb18fb18fe50238a83
MD5 1b676ef619e42a5547490d678b80ec8b
BLAKE2b-256 e554f4d3eb280e228b1433239274c1d387b808d75f454a7d78ce66366e6521c4

See more details on using hashes here.

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