Lightweight GNN module to refine 2-D keypoints by enforcing skeleton + cross-camera consistency.
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
python -c "import sys; sys.path.append('src'); print('OK')"Each dataset lives under ./data/{dataset_name}/.
For example, the fly dataset is organized as:
data/
└── fly/
├── fly_ground_truth/
├── fly_ground_truth_OOD/
├── fly_predictions/
└── fly_predictions_OOD/These can simply be copy-pasted from the shared Drive
python -m src.model.run_pipeline --config .\configs\pipeline.yaml| Item | Value |
|---|---|
| Project | uml-gnn-transfer |
| Instance name | gnn-gpu-1 |
| Zone | us-east4-c |
| Image | pytorch-2-7-cu128-ubuntu-2404-nvidia-570-v20251013 |
From your Cloud Shell or local terminal (with gcloud SDK installed)
gcloud config set project uml-gnn-transfer
gcloud compute ssh gnn-gpu-1 --zone=us-east4-cThe first time you connect, GCP will generate an SSH key automatically. Type Y when prompted.
Once inside the VM:
nvidia-smi
python3 -c "import torch; print(torch.cuda.is_available())"You should see the NVIDIA T4 listed and True printed by PyTorch.
python3 -m venv ~/venv
source ~/venv/bin/activate
pip install --upgrade pip
git clone https://github.com/raavi02/UML-25.git
cd UML-25
pip install -r requirements.txtAlways stop the VM when you’re done:
gcloud compute instances stop gnn-gpu-1 --zone=us-east4-cRestart later with:
gcloud compute instances start gnn-gpu-1 --zone=us-east4-c