Added train catch to the blank network
This commit is contained in:
1 parent
1188cf1e8a
commit
e5355bf8d5
2 files changed
+4
-1
No files matched your search
+1
-1
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