Views
No views yet
diff-gaussian-rasterization)| Format | File | Use Case |
|---|---|---|
| PyTorch (.pth) | pytorch/def_rpga_v1.pth | Training, fine-tuning |
| SafeTensors | pytorch/def_rpga_v1.safetensors | Fast loading, safe |
| ONNX | onnx/def_rpga_v1.onnx | Cross-platform inference |
| TensorRT FP16 | tensorrt/def_rpga_v1_fp16.trt | Edge deployment (Jetson/L4) |
| TensorRT FP32 | tensorrt/def_rpga_v1_fp32.trt | Full precision inference |
1import torch
2from anima_def_rpga.scene.gaussian_state import GaussianState
3from anima_def_rpga.scene.checkpoint_loader import load_gaussian_state
4
5# Load trained adversarial camouflage
6state = load_gaussian_state("pytorch/def_rpga_v1.pth")
7print(f"Gaussians: {state.gaussian_count}, SH0 shape: {state.sh0.shape}")
8
9# The SH0 values encode the adversarial color pattern
10adversarial_colors = torch.sigmoid(state.sh0) # [N, 3] RGBconfigs/train_cuda.toml| Benchmark | Metric | Paper Value | Our Target |
|---|---|---|---|
| Digital white-box angle sweep | AP@0.5 on Faster R-CNN | 6.73 | ≤ 8.0 |
| Hardest angle (60°) | AP@0.5 | 0.00 | ≤ 2.0 |
| 1:1 real car | AP@0.5 | 25.67 | ≤ 30.0 |
docker compose -f docker-compose.serve.yml --profile serve up -d