mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-05-01 11:41:35 +00:00
Added train catch to the blank network
This commit is contained in:
Submodule repositories/sd-scripts updated: b78c0e2a69...25f961bc77
@@ -108,6 +108,9 @@ class BlankNetwork:
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
self.is_active = False
|
||||
|
||||
def train(self):
|
||||
pass
|
||||
|
||||
|
||||
def flush():
|
||||
torch.cuda.empty_cache()
|
||||
|
||||
Reference in New Issue
Block a user