Add Photo preset
This commit is contained in:
+4
-2
@@ -554,7 +554,7 @@ class VideoTAADLAA:
|
||||
|
||||
if debug_stats:
|
||||
final_texture_delta = (out - dlaa_out).abs().mean().item()
|
||||
|
||||
|
||||
if (
|
||||
debug_stats and
|
||||
frame_index is not None and
|
||||
@@ -596,6 +596,8 @@ class VideoTAADLAA:
|
||||
|
||||
def _frame_blur_radius(self, preset, is_single_image):
|
||||
if is_single_image:
|
||||
if preset == "Photo":
|
||||
return 1
|
||||
return 0
|
||||
|
||||
return 1
|
||||
@@ -821,7 +823,7 @@ class VideoTAADLAA:
|
||||
model_delta_value = None
|
||||
if debug_stats:
|
||||
model_delta_value = model_delta.abs().mean().item()
|
||||
|
||||
|
||||
dlaa_out = torch.clamp(
|
||||
rgb + model_delta * self.model_weight * preset_model_weight,
|
||||
0.0,
|
||||
|
||||
@@ -73,5 +73,5 @@ NODE_DEFAULTS = {
|
||||
"detail_shimmer_slope": 100.0,
|
||||
"detail_shimmer_max_blend": 0.35,
|
||||
"detail_edge_aa_strength": 0.38,
|
||||
"photo_edge_aa_strength": 0.12,
|
||||
"photo_edge_aa_strength": 0.25,
|
||||
}
|
||||
|
||||
+15
-15
@@ -47,18 +47,18 @@ PRESETS = {
|
||||
"motion_sensitivity": 0.10,
|
||||
"jitter_scale": 0.25,
|
||||
},
|
||||
"Photo": {
|
||||
"detail_boost": 0.98,
|
||||
"edge_boost": 0.78,
|
||||
"temporal_strength": 0.12,
|
||||
"micro_limit": 0.024,
|
||||
"Photo": {
|
||||
"detail_boost": 1.18,
|
||||
"edge_boost": 0.55,
|
||||
"temporal_strength": 0.10,
|
||||
"micro_limit": 0.034,
|
||||
"luma_boost_mult": 0.94,
|
||||
"saturation_boost_mult": 0.94,
|
||||
"motion_threshold": 0.08,
|
||||
"taa_strength": 0.12,
|
||||
"taa_strength": 0.10,
|
||||
"dlaa_strength": 1.00,
|
||||
"tone_strength": 0.14,
|
||||
"edge_sharp_strength": 0.24,
|
||||
"tone_strength": 0.10,
|
||||
"edge_sharp_strength": 0.06,
|
||||
"motion_sensitivity": 0.50,
|
||||
"jitter_scale": 0.0,
|
||||
},
|
||||
@@ -178,7 +178,7 @@ TEXTURE_PRESETS = {
|
||||
},
|
||||
"Smooth": {
|
||||
"enabled": False,
|
||||
"strength": 0.25,
|
||||
"strength": 2.25,
|
||||
"limit": 0.015,
|
||||
"blur_kernel": 5,
|
||||
"dark_base": 0.70,
|
||||
@@ -188,15 +188,15 @@ TEXTURE_PRESETS = {
|
||||
"edge_threshold": 0.070,
|
||||
"edge_slope": 18.0,
|
||||
},
|
||||
"Photo": {
|
||||
"Photo": {
|
||||
"enabled": True,
|
||||
"strength": 0.55,
|
||||
"limit": 0.016,
|
||||
"strength": 0.90,
|
||||
"limit": 0.030,
|
||||
"blur_kernel": 5,
|
||||
"dark_base": 0.25,
|
||||
"dark_base": 0.35,
|
||||
"motion_suppression": 0.95,
|
||||
"highlight_suppression": 0.75,
|
||||
"line_suppression": 0.75,
|
||||
"highlight_suppression": 0.45,
|
||||
"line_suppression": 0.10,
|
||||
"edge_threshold": 0.070,
|
||||
"edge_slope": 18.0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user