Files
Grounded-SAM-2/lib/train/admin/settings.py

14 lines
285 B
Python
Raw Permalink Normal View History

2024-11-19 22:12:54 -08:00
from lib.train.admin.environment import env_settings
class Settings:
""" Training settings, e.g. the paths to datasets and networks."""
def __init__(self):
self.set_default()
def set_default(self):
self.env = env_settings()
self.use_gpu = True