Downloads · 30 days
0
temsis/Cell-Painting-VAE
Cell-Painting-VAE is a machine learning model from temsis. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A Python library for processing multi-channel TIFF images, creating tiles, and generating embeddings using a VAE model.
Downloads · 30 days
0
Access
Public
Updated Jan 8, 2025
Repo size
862 MB
Likes
0
Public
Click a slice to open those files.
.pth862 MB · 100%
From the Hugging Face model README
A Python library for processing multi-channel TIFF images, creating tiles, and generating embeddings using a VAE model.
main.py - Main entry point that orchestrates the image processing pipeline:
src/)src/process_images/)preprocess.py - Handles TIFF file preprocessing:
create_tiles.py - Creates fixed-size tiles from processed images:
src/generate/)generate.py - Handles VAE model inference:
weights/model.py - VAE model architecture definitionsrc/load_dataset/)dataset.py - PyTorch dataset implementation for tile loadingBasic usage to process images and generate embeddings:
python main.py -d sample_images
The pipeline will:
tiles_output directorytiles_output/log_error.logCredit to: Dr Mark Pinches Dr Nina Vyas Temitope Femi Temiola