Commit Graph
52 Commits
Author SHA1 Message Date
blepping fb667e08c8 Add more filter preview sizes, use configured oversample 2024-05-18 15:53:04 -06:00
blepping 4a01af10e7 Allow setting size and gain in filter preview node 2024-05-18 09:25:02 -06:00
blepping ec7c9a4632 Add py/external.py - derp!
Accelerate FRUX by caching the filters when possible

Allow doing FFT on CPU in FRUX for GPUs that won't work otherwise

Allow disabling normalization in SamplerConfigOverride node

Fix base power and pink noise types.

Other cleanups
2024-05-18 07:33:42 -06:00
blepping c235bc18b2 Allow using brownian noise in NoisyLatentLike node when sigmas are attached 2024-05-16 18:46:13 -06:00
blepping b47f3f3291 Add FreeUExtreme node and associated config node 2024-05-16 16:24:07 -06:00
blepping 9dc16c5402 Add SonarPreviewFilter node
Better filter normalization (maybe)

Add a scale parameter to filters
2024-05-16 16:22:50 -06:00
blepping 40726e5d84 GuidedNoise fixes 2024-05-14 18:00:30 -06:00
blepping 9cad01df09 Add SonarPowerFilter node, improve RepeatedNoise, other stuff 2024-05-14 16:41:39 -06:00
blepping ab2f08268f Allow showing custom noise preview in SonarPowerFilterNoise node 2024-05-13 10:06:49 -06:00
blepping 9a6ee9ac33 Improve channel filter (not written by me obviously, thanks Gaeros!) 2024-05-12 18:35:13 -06:00
blepping 144c7ba43a Fix channel correlation construction in PowerNoise 2024-05-12 12:47:16 -06:00
blepping 0ef1bd5bbd Add the ability to set channel correlations in SonarPowerNoise and SonarPowerFilterNoise 2024-05-12 12:35:49 -06:00
blepping e4f53e9594 Add SonarPowerFilterNoise, SonarRandomNoise and SonarBlendFilterNoise nodes 2024-05-12 07:59:47 -06:00
blepping 202a371337 Documentation updates 2024-05-11 11:01:46 -06:00
blepping c455599e9e More cleanups and fixes 2024-05-11 08:08:35 -06:00
blepping b950e1b051 Cleanups and fixes 2024-05-11 07:32:11 -06:00
blepping 4e87817908 Refactor, add scheduled, guided and composite noise types 2024-05-09 23:05:25 -06:00
blepping 78e8451324 Feat modulated repeated noise (#5)
* Add modulated and repeated noise nodes
2024-05-06 16:51:23 -06:00
blepping b78cbe0b2a Fix NoisyLatentLike to work with recent ComfyUI changes 2024-04-05 12:57:02 -06:00
blepping 24e1536cb7 Various noise improvements (#4)
* Fixed issue when using Sonar samplers in normal sampling nodes/via stuff like `KSamplerSelect`.
* Add `pyramid` (non-high-res) noise type.
* Allow selecting `brownian` noise in custom noise nodes (but it won't work with `NoisyLatentLike`).
* Use `brownian` as the default noise type for `SamplerSonarDPMPP`.
* Make overriding the selected noise type in Sonar samplers a warning instead of a hard error.
* Improve noise scaling (may change seeds).
* Add `KRestartSamplerCustomNoise` if the user has a recent enough version of ComfyUI_restart_sampling installed.
2024-04-01 11:59:36 -06:00
blepping ecadbfcd19 Improvements to NoisyLatentLike node (#3)
* Improve NoisyLatentLike to allow calculating strength with sigmas and noise injection

* Update documentation for NoisyLatentLike changes + general improvements
2024-03-20 18:37:51 -06:00
blepping 1ee8273771 Update README and changelog for SonarPowerNoise 2024-03-20 07:57:43 -06:00
elias-gaeros 52f929d54d SonarPowerNoise (#2)
* SonarPowerNoise: WIP

* don't allow highpass > lowpass

* fix filter unit gain

The filter was computed as an amplitude gain map. This change computes energy
gains instead. This makes easier to ensure unit-gain and makes the alpha values
more in line with literature where the power spectrum is obeying the power law.
new alpha = old alpha / 2

Also fixes the gain of common_mode.

* allow stretch < 1.0, paramter range fixes

* rename lowpass/highpass to min_freq/max_freq

* remove torch.no_grad wrappers

* add previews

* static seed for previews

* README: SonarPowerNoise documentation
2024-03-14 16:04:35 -06:00
blepping 090df2280d Make custom noise more extensible (internal change) 2024-03-02 04:48:54 -07:00
blepping a2fd7118b5 Noise refactor (#1)
* Refactor noise: stage 1

* Refactor noise: stage 2

* Refactor noise: stage 3

* Refactor noise: stage 4

* Update documentation and changelog
2024-02-27 02:42:19 -07:00
blepping a6f4249464 Fix perlin noise for Cascade, (hopefully) fix power noise for batch size > 1 2024-02-17 15:07:58 -07:00
blepping 227c9c99e5 Add SonarCustomNoise node + use it in other samplers 2024-02-10 20:38:03 -07:00
blepping 884771aa4a README updates 2024-02-08 01:30:14 -07:00
blepping d30b17148e Allow setting the RAND init noise type
Update README and add examples for new noise types
2024-02-07 11:01:55 -07:00
blepping 64910960ea Add green_test noise type 2024-02-06 17:30:27 -07:00
blepping 5fb82c7c4c Add power, laplacian and rainbow noise types 2024-02-06 12:44:18 -07:00
blepping ff45076405 Add DPM++ SDE to README 2024-02-06 11:49:54 -07:00
blepping 1dfdcfe933 Correctly update hd in dpmpp_sde sampler 2024-02-06 11:42:42 -07:00
blepping 1ad81de87f Attempt DPM++ SDE with momentum 2024-02-06 10:45:49 -07:00
blepping 430e1b999d Fix using Sonar samplers in normal sampler nodes 2024-02-06 07:04:58 -07:00
blepping c7b8737199 Update README to reflect recent changes 2024-02-06 07:00:48 -07:00
blepping 0fb3549e29 Add NoisyLatentLike node, further cleanups and refactoring 2024-02-06 06:46:53 -07:00
blepping 87c7309e45 Refactor guidance config and nodes 2024-02-06 04:19:51 -07:00
blepping ead5b6bcca Allow setting guidance range, other cleanups and fixes 2024-02-04 12:46:03 -07:00
blepping e38841d105 Initial implementation of guidance 2024-02-04 07:25:21 -07:00
blepping 7b7f557961 Add a brief usage section to the README 2024-02-03 12:35:20 -07:00
blepping 569d685877 Add sonar samplers to the built in samplers list 2024-02-03 12:25:50 -07:00
blepping cce2b27413 Add renoise with plain old EulerA example image 2024-02-03 11:39:40 -07:00
blepping e2a7ed6b1d Reorganize example images, add img2img examples 2024-02-03 11:32:38 -07:00
blepping 4511a357a9 Add examples for different noise types 2024-02-03 10:47:00 -07:00
blepping bc1358c106 Increase maximum possible direction value 2024-02-03 10:34:01 -07:00
blepping 79a5519a58 Cleanups and refactoring 2024-02-03 10:20:00 -07:00
blepping 347eb3f5cf Allow setting noise type for Euler A 2024-02-02 13:58:45 -07:00
blepping 3eb4e8292d Tweak parameter limits 2024-02-02 12:03:55 -07:00
blepping a48ff65b8d Cleanups, add direction parameter 2024-02-02 07:48:22 -07:00