Files
Mini-Nav/mini-nav/configs/config.yaml
SikongJueluo ab616528b4 refactor(benchmark): delegate model loading to tasks and support CIFAR-100
- Extract model loading logic from benchmark CLI into task-owned prepare_benchmark
- Add RetrievalEncoder class wrapping DINO with optional hash compression
- Add accelerate dependency for device management  
- Switch dataset from CIFAR-10 to CIFAR-100 with fine_label column
2026-05-15 09:59:40 +08:00

36 lines
977 B
YAML

model:
dino_model: "facebook/dinov2-large"
compression_dim: 512
device: "cuda:3" # auto-detect GPU
sam_model: "facebook/sam2.1-hiera-large" # SAM model name
sam_min_mask_area: 100 # Minimum mask area threshold
sam_max_masks: 10 # Maximum number of masks to keep
sam_points_per_batch: 64
compressor_path: null # Path to trained HashCompressor weights (optional)
output:
directory: "./outputs"
dataset:
dataset_root: "datasets/InsDet-FULL"
output_dir: "datasets/InsDet-FULL/Synthesized"
num_objects_range: [3, 8]
num_scenes: 1000
object_scale_range: [0.1, 0.4]
rotation_range: [-30, 30]
overlap_threshold: 0.3
seed: 42
benchmark:
dataset:
source_type: "huggingface"
path: "uoft-cs/cifar100"
img_column: "img"
label_column: "fine_label"
task:
name: "recall_at_k"
type: "retrieval"
top_k: 1
batch_size: 64
model_table_prefix: "benchmark"