{"id":23233569,"url":"https://github.com/WASasquatch/FreeU_Advanced","last_synced_at":"2025-08-19T18:33:42.153Z","repository":{"id":196281269,"uuid":"695660205","full_name":"WASasquatch/FreeU_Advanced","owner":"WASasquatch","description":"FreeU - Free Lunch, and Dinner. ","archived":false,"fork":false,"pushed_at":"2024-10-27T01:49:14.000Z","size":70,"stargazers_count":112,"open_issues_count":5,"forks_count":11,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-14T16:32:26.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WASasquatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-23T20:49:15.000Z","updated_at":"2024-12-07T10:17:16.000Z","dependencies_parsed_at":"2024-03-05T16:54:59.966Z","dependency_job_id":"fedd6dff-78de-434d-8702-05d2933ae8a6","html_url":"https://github.com/WASasquatch/FreeU_Advanced","commit_stats":null,"previous_names":["wasasquatch/freeu_advanced"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2FFreeU_Advanced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2FFreeU_Advanced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2FFreeU_Advanced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2FFreeU_Advanced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WASasquatch","download_url":"https://codeload.github.com/WASasquatch/FreeU_Advanced/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230367780,"owners_count":18215325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T03:01:53.251Z","updated_at":"2025-08-19T18:33:41.883Z","avatar_url":"https://github.com/WASasquatch.png","language":"Python","funding_links":[],"categories":["All Workflows Sorted by GitHub Stars","Workflows (3395) sorted by GitHub Stars"],"sub_categories":[],"readme":"# FreeU Advanced Plus\nLet's say you and I grab dinner, and movie after lunch? 🌃📺😏\n \n![image](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/c1dc2ec9-e6a3-4d2d-bf81-697e5d5aabcb)\n\n### Exmaple of default node settings applied across blocks.\n![default_block_examples](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/d01dea23-7ad6-4b89-ba43-70412afbd75f)\n![default_block_examples_2](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/489a9990-76f7-4f09-b95a-9d54f7a319db)\n![default_block_examples_3](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/3723f54b-4af8-4a09-9771-22db16328773)\n![default_block_examples_4](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/d193d3e1-0e3e-4bdd-bdda-c5a4dffa0112)\n![default_block_examples_5](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/a2612c22-160a-41c9-b189-b2201332eb78)\n![default_block_examples_6](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/171b0bad-1c39-420d-a30a-be11f053168a)\n![default_block_examples_7](https://github.com/WASasquatch/FreeU_Advanced/assets/1151589/32df5124-418d-418c-97ee-6b76d6bfcb6c)\n\n## Input Parameters\n\n- `model` (`MODEL`): Model to patch\n- `target_block` (`COMBO`): Which block to target; `input_block`, `middle_block`, and `output_block`\n- `multiscale_mode` (`COMBO`): A list of available multiscale modes:\n  - `[\"Default\", \"Bandpass\", \"Low-Pass\", \"High-Pass\", \"Pass-Through\", \"Gaussian-Blur\", \"Edge-Enhancement\", \"Sharpen\", \"Multi-Bandpass\", \"Multi-Low-Pass\", \"Multi-High-Pass\", \"Multi-Pass-Through\", \"Multi-Gaussian-Blur\", \"Multi-Edge-Enhancement\", \"Multi-Sharpen\"]`\n- `multiscale_strength` (`FLOAT`, Default: 1.0, Range: [0.0, 1.0], Step: 0.001): Strength of scaling\n- `b1_slice` (`INT`, Default: 640, Range: [64, 1280], Step: 1): The size of the array slice for b1 operation\n- `b2_slice` (`INT`, Default: 640, Range: [64, 640], Step: 1): The size of the array slice for b2 operation\n- `b1` (`FLOAT`, Default: 1.1, Range: [0.0, 10.0], Step: 0.001): `b1`  output multiplier\n- `b2` (`FLOAT`, Default: 1.2, Range: [0.0, 10.0], Step: 0.001): `b2`  output multiplier\n- `s1` (`FLOAT`, Default: 0.9, Range: [0.0, 10.0], Step: 0.001): `s1` Fourier transform scale strength\n- `s2` (`FLOAT`, Default: 0.2, Range: [0.0, 10.0], Step: 0.001): `s2` Fourier transform scale strength\n\n### Optional Parameters\n\n- `b1_mode` (`COMBO`): Blending modes for `b1` multiplied result.\n  - `['bislerp', 'colorize', 'cosine interp', 'cuberp', 'hslerp', 'inject', 'lerp', 'linear dodge', 'slerp']`\n- `b1_blend` (`FLOAT`, Default: 1.0, Range: [0.0, 100], Step: 0.001): Blending strength for `b1`.\n- `b2_mode` (`COMBO`): Blending modes for `b2` multiplied result.\n  - `['bislerp', 'colorize', 'cosine interp', 'cuberp', 'hslerp', 'inject', 'lerp', 'linear dodge', 'slerp']`\n- `b2_blend` (`FLOAT`, Default: 1.0, Range: [0.0, 100], Step: 0.001): Blending strength for `b2`.\n- `threshold` (`INT`, Default: 1.0, Range: [1, 10], Step: 1): The exposed threshold value of the Fourier transform function.\n- `use_override_scales` (`COMBO`): \"true\", or \"false\" on whether to use `override_scales`\n- `override_scales` (`STRING`, Default: [Multiline String]): Override scales. Create custom scales and experiment with results.\n  - Example `10, 1.5` would create the `multiscale_mode` effect `Sharpen`\n  - You can use `#`, `//` and `!` to comment out lines.\n\n### FreeU BibTex\n ```\n@article{Si2023FreeU,\n  author    = {Chenyang Si, Ziqi Huang, Yuming Jiang, Ziwei Liu},\n  title     = {FreeU: Free Lunch in Diffusion U-Net},\n  journal   = {arXiv},\n  year      = {2023},\n}\n```\n## :newspaper_roll: License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWASasquatch%2FFreeU_Advanced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWASasquatch%2FFreeU_Advanced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWASasquatch%2FFreeU_Advanced/lists"}