Skip to main content

LatentSpaceBuilder

The Latent Space Builder builds the latent space for an image dataset.

Getting started

Clone this repository.

git clone https://github.com/compSPI/LatentSpaceBuilder.git

Change the current working directory to the root of this repository.

cd LatentSpaceBuilder

Download from the Anaconda Cloud and install the Python environment that has the dependencies required to run the code.

conda env create compSPI/compSPI

Activate the environment.

conda activate compSPI

Install the kernel.

python -m ipykernel install --user --name compSPI --display-name "Python (compSPI)"

Exit the environment.

conda deactivate

Running the notebook

Run jupyter notebook.

jupyter notebook 

Open the tutorial notebook latent_space_builder.ipynb.

Change the Python kernel to compSPI.

Set dataset_file to an HDF5 file containing the dataset.

dataset_file = '../data/cspi_synthetic_dataset_diffraction_patterns_1024x1040.hdf5'

Run the notebook.

Installation

The project package can be installed by running the following command.

python setup.py install

Code structure

The relevant files and folders in this repository are described below:

  • README.md: Highlights the usefulness of the Latent Space builder.

  • latent_space_builder.ipynb: Provides a tutorial notebook for using the Latent Space Builder.

  • latent_space_builder/: Contains the Python file required to run the notebook.

Release files for latent-space-builder 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 latent-space-builder 0.0.1
File Size Uploaded
latent-space-builder-0.0.1.tar.gz 2.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for latent-space-builder 0.0.1
File Interpreter ABI Platform
latent_space_builder-0.0.1-py3.8.egg Legacy Egg format - - Details
latent_space_builder-0.0.1-py3.7.egg Legacy Egg format - - Details
latent_space_builder-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / latent-space-builder-0.0.1.tar.gz

Download URL latent-space-builder-0.0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ad9b9168a163c68aed835d41f7703852bc47cc8ca96fe10415bd18d9f1f59de
BLAKE2b-256 checksum
How to use checksums
0dd25a36fbfa2176f41c67120f1b42d68fdc9cc94a65ddec8d56e7347386af23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / latent_space_builder-0.0.1-py3.8.egg

Download URL latent_space_builder-0.0.1-py3.8.egg
Size 5.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
5cdf3f4c3fa99b12392edd691215f201d4d668d7478a60eaa592a8d53ba67dfc
BLAKE2b-256 checksum
How to use checksums
fa790c9a64f2257409dedb6a609da0c30baea29dc2ec33b9cf3b3f7672fbbe90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / latent_space_builder-0.0.1-py3.7.egg

Download URL latent_space_builder-0.0.1-py3.7.egg
Size 5.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
9d03e523931e38d6b92deae5e9d0911babd6e66a2492e97fcf31dcf675f625a2
BLAKE2b-256 checksum
How to use checksums
b5423b57319dc78a57844f30b7a28b51e92e2256fddef0a6a1fa1fcefe724188
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.1.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

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

Download URL latent_space_builder-0.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b024e39a013e6ee39ba6efc495ebb947b29fe18a78ba5a3c31b00496630992a
BLAKE2b-256 checksum
How to use checksums
c95e91131d38aa16f0016333cdb7eba3b52b94ec18abbae0dc9bef37dca3e6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

4 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