Installation

Installation#

Requirements#

  • Python 3.9+

  • CUDA-compatible GPU (recommended)

  • Git

Setup#

  1. Clone the repository:

git clone https://github.com/lukagerlach/CompoundProfiling.git
cd CompoundProfiling
  1. Create and activate a virtual environment:

python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install the package:

pip install -r requirements.txt
  1. Set up pre-commit hooks:

pre-commit install

Verify Installation#

import torch
from models import ResNetBackbone

print(f"PyTorch version: {torch.__version__}")
print(f"CUDA available: {torch.cuda.is_available()}")