mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
remove experimental from consistory
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -311,6 +311,8 @@ def network_backup_weights(self: Union[torch.nn.Conv2d, torch.nn.Linear, torch.n
|
||||
t0 = time.time()
|
||||
|
||||
weights_backup = getattr(self, "network_weights_backup", None)
|
||||
if (shared.opts.lora_fuse_diffusers and not isinstance(weights_backup, bool)) or (not shared.opts.lora_fuse_diffusers and isinstance(weights_backup, bool)):
|
||||
weights_backup = None # invalidate so we can change direct/backup on-the-fly
|
||||
if weights_backup is None and wanted_names != (): # pylint: disable=C1803
|
||||
weight = getattr(self, 'weight', None)
|
||||
self.network_weights_backup = None
|
||||
|
||||
@@ -25,7 +25,7 @@ class Script(scripts.Script):
|
||||
return 'ConsiStory: Consistent Image Generation'
|
||||
|
||||
def show(self, is_img2img):
|
||||
return not is_img2img if shared.native and shared.cmd_opts.experimental else False
|
||||
return not is_img2img if shared.native else False
|
||||
|
||||
def reset(self):
|
||||
self.anchor_cache_first_stage = None
|
||||
|
||||
Reference in New Issue
Block a user