mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
tracing and control improvements
This commit is contained in:
@@ -9,6 +9,7 @@ from modules import shared
|
||||
|
||||
|
||||
debug = shared.log.trace if os.environ.get('SD_HDR_DEBUG', None) is not None else lambda *args, **kwargs: None
|
||||
debug('Trace: HDR')
|
||||
|
||||
|
||||
def soft_clamp_tensor(tensor, threshold=0.8, boundary=4):
|
||||
|
||||
Reference in New Issue
Block a user