stark-full / lib /train /admin /local.py
AhmedLabib1's picture
Upload folder using huggingface_hub
d301b87 verified
Raw History Blame Contribute Delete
928 Bytes
"""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