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