Skip to content
funkelabPublic

About

Quantitative Attributions with Counterfactuals

Resources

Stars

4 stars

Watchers

2 watching

Forks

Repository files navigation

Quantitative Attributions with Counterfactuals Logo

tests documentation DOI:10.1101/2024.11.26.625505

Pre-print can be found on bioRxiv Documentation can be found here.

Installing

pip install git+https://github.com/funkelab/quac

Development

Clone this repository, then install uv and run:

uv sync

This creates a .venv with the package and all dev dependencies. Run tests with uv run pytest, and linting with uv run prek run -a. To install the git hooks, run uv run prek install.

On linux, the default torch wheels from PyPI include CUDA. To use smaller CPU-only wheels instead, run uv sync --group cpu.

Alternatively, you can use pixi (e.g. pixi shell -e dev).

Logo made with the help of DALL-E 2. The code for training the StarGAN is adapted from the Official Pytorch Implementation of StarGANv2.

About

Quantitative Attributions with Counterfactuals

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages