Skip to content

ddd9898/UniSPAC

Repository files navigation

UniSPAC

Supplementary Video 1


System requirements

It is recommended to deploy the software on a Linux system. Pre-install PyQt5 (Qt) and PyTorch. Devices that support cuda allow for smoother software usage.

Quick Start

Set up the software environment:

conda create -n UniSPAC python=3.9
conda activate UniSPAC
git clone https://github.com/ddd9898/UniSPAC.git
cd UniSPAC
pip install -r requirements.txt

Download test data and checkpoints:

bash ./download.sh

The total files after data and model decompression take up 9.3GB of storage, so please make sure you have enough capacity. See the downloaded model weights in the checkpoints folder and the Hemi-Brain-ROI-1 test data in the data folder.

Finally, launch the software:

python demo.py

Brief tutorial: Click the left mouse button to add a positive point prompt, and the right mouse button to add a negative point prompt. Press Q to undo the previous point prompt, press E to clear all prompts.

Napari plugin

If you want to apply UniSPAC to your own data, the napari plugin for UniSPAC might come in handy. Assuming you are a veteran napari user, installing napari-UniSPAC with the following command is sufficient.

pip install napari-UniSPAC

Contact

Feel free to contact [email protected] if you have issues for any questions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published