File size: 928 Bytes
d301b87 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | """Minimal local.py for STARK checkpoint loading - MTC-AIC4 Competition"""
from pathlib import Path
class EnvironmentSettings:
def __init__(self):
self.workspace_dir = Path(__file__).resolve().parents[4] # Points to Stark/
self.env_settings_dir = Path(__file__).resolve().parent
self.results_dir = self.workspace_dir / "results"
self.save_dir = self.workspace_dir / "output"
self.tensorboard_dir = self.save_dir / "tensorboard"
# Dummy dataset paths
self.lasot_dir = self.workspace_dir / "data/dummy"
self.got10k_dir = self.workspace_dir / "data/dummy"
self.trackingnet_dir = self.workspace_dir / "data/dummy"
self.coco_dir = self.workspace_dir / "data/dummy"
@property
def prj_dir(self):
return self.workspace_dir
def local_env_settings():
return EnvironmentSettings()
def create_default_local_file():
pass |