init commit of samurai
This commit is contained in:
13
lib/train/admin/settings.py
Normal file
13
lib/train/admin/settings.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user