Installation#
Requirements#
Python 3.9+
CUDA-compatible GPU (recommended)
Git
Setup#
Clone the repository:
git clone https://github.com/lukagerlach/CompoundProfiling.git
cd CompoundProfiling
Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install the package:
pip install -r requirements.txt
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()}")