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):
|
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||||
self.is_active = False
|
self.is_active = False
|
||||||
|
|
||||||
|
def train(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
def flush():
|
def flush():
|
||||||
torch.cuda.empty_cache()
|
torch.cuda.empty_cache()
|
||||||
|
|||||||
Reference in New Issue
Block a user