Skip to main content

deepsynth-gitract

Generate deepsynth-gitract images.

Installation

Use the package manager pip to install deepsynth-gitract.

pip install deepsynth-gitract

Usage

Run on CPU (default setting)

TBA - You have to have a NVIDIA GPU to run this package. We are working on CPU version.

Run on GPU - generation process

import deepsynth_gitract

deepsynth_gitract.generate(name, result_dir, checkpoint_dir, num_img_per_tile, num_of_outputs, trunc_psi=0.75):
    """ Generate deepsynth Gastrointestinal tract images.

    Keyword arguments:
    name -- Any name to keep trac of generations
    result_dir -- A directory to save output
    checkpoint_dir -- A directory to download pre-trained checkpoints
    num_img_per_tile -- Number of images per dimenstion of the grid
    num_of_outputs -- Number of outputs to generate
    trunc_psi -- value between 0.5 and 1.0 (default 0.75)
    """

Run on GPU - to generate interpolations between random points

deepsynth_gitract.generate_interpolation(name, result_dir, checkpoint_dir, num_img_per_tile, num_of_outputs, num_of_steps_to_interpolate, save_frames, trunc_psi=0.75):
    """ Generate deepsynth Gastrointestinal tract images.

    Keyword arguments:
    name -- Any name to keep trac of generations
    result_dir -- A directory to save output
    checkpoint_dir -- A directory to download pre-trained checkpoints
    num_img_per_tile -- Number of images per dimenstion of the grid
    num_of_outputs -- Number of outputs to generate
    num_of_steps_to_interpolate -- Number of step between two random points
    save_frames -- True if you want frame by frame, otherwise .gif will be generated
    trunc_psi -- value between 0.5 and 1.0 (default 0.75)
    """

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

For more details:

Please contact: vajira@simula.no, michael@simula.no

License

MIT

Release files for deepsynth-gitract 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deepsynth-gitract 0.0.1
File Size Uploaded
deepsynth-gitract-0.0.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for deepsynth-gitract 0.0.1
File Interpreter ABI Platform
deepsynth_gitract-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / deepsynth-gitract-0.0.1.tar.gz

Download URL deepsynth-gitract-0.0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3904aac1ecd07d5851d852ef1827ecf85bcfe1d27976f422b54992f0c8f5c98d
BLAKE2b-256 checksum
How to use checksums
1e0dd7d866708ae7d6b37c5b5e25d76c0b04e5e6fee03db41f73181d69163414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release files / deepsynth_gitract-0.0.1-py3-none-any.whl

Download URL deepsynth_gitract-0.0.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8d6086756a7225d56efa425f4bbe835065b5c321f7d3c44af42d994009f641d
BLAKE2b-256 checksum
How to use checksums
e6ecb1e0743446bed71db2a1027964110a2fab690ba496fcbd26fd4028c246b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page