mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -17,7 +17,7 @@ def icbi(IM,ZK = 1,SZ = 8,PF = 1,ST = 20,TM = 100,TC = 50,SC = 1,TS = 100,AL = 1
|
||||
:param PF: Potential to be minimized (default:1)
|
||||
:param ST: Maximum number of iterations (default:20)
|
||||
:param TM: Maximum edge step (default:100)
|
||||
:param TC: Edge continuity threshold (deafult:50).
|
||||
:param TC: Edge continuity threshold (default:50).
|
||||
:param SC: Stopping criterion: 1 = change under threshold, 0 = ST iterations (default:1).
|
||||
:param TS: Threshold on image change for stopping iterations (default:100).
|
||||
:param AL: Weight for Curvature Continuity energy (default:1.0).
|
||||
|
||||
@@ -193,7 +193,7 @@ class SwinTransformerBlock(nn.Module):
|
||||
r""" Swin Transformer Block.
|
||||
Args:
|
||||
dim (int): Number of input channels.
|
||||
input_resolution (tuple[int]): Input resulotion.
|
||||
input_resolution (tuple[int]): Input resolution.
|
||||
num_heads (int): Number of attention heads.
|
||||
window_size (int): Window size.
|
||||
shift_size (int): Shift size for SW-MSA.
|
||||
|
||||
@@ -436,7 +436,7 @@ class YoloRestorer(Detailer):
|
||||
pc.init_images = [image]
|
||||
pc.image_mask = [item.mask]
|
||||
pc.overlay_images = []
|
||||
# explictly disable for detailer pass
|
||||
# explicitly disable for detailer pass
|
||||
pc.enable_hr = False
|
||||
pc.do_not_save_samples = True
|
||||
pc.do_not_save_grid = True
|
||||
|
||||
Reference in New Issue
Block a user