457 Commits

Author SHA1 Message Date
henryruhs 6547fcfe7b Add .claude to gitignore 2025-10-10 18:32:38 +02:00
Henry Ruhs 2e6394565a Next (#93)
* add sync batchnorm

* replace random.choice with hash

* fifty percent reduction

* fix discriminator input

* restore dataset.py

* Remove duplicates

* add discriminator_ratio to config

* fix onnx export bug: replace round() with int()

* Fix embedding naming

* Introduce ModelWithConfigCheckpoint callback (#86)

* Fix dist ini

* Style: Refactor typing and improve code clarity in training.py (#88)

* Add type casting for trainer params

* Add type casting for trainer params

* Add type casting for trainer params

* Remove inplace activations for torch.compile compatibility (#89)

* Fix README

* improvise with norm layers & weighted average

* add skip layer

* use gelu instead of leaky_relu

* cleanup

* cleanup

* Update dependencies

* Different defaults and enable validation

* Different defaults and enable validation

* Revert to higher batch size

* Just use copy over copy2

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
Co-authored-by: NeuroDonu <112660822+NeuroDonu@users.noreply.github.com>
Co-authored-by: Harisreedhar <46858047+harisreedhar@users.noreply.github.com>
2025-09-06 19:12:29 +02:00
henryruhs 9f9f9dbad7 Rename calcXXX to calculateXXX 2025-06-25 11:36:31 +02:00
henryruhs dbe79aa3b9 Fix config for mask factor 2025-06-24 21:47:53 +02:00
henryruhs 2809a59704 Move mask_factor and noise_factor to modifier block 2025-06-20 15:29:37 +02:00
henryruhs a86497177d Move mask factor to trainer, Refactor helper 2025-06-20 15:15:02 +02:00
Harisreedhar 338f49c3dc Merge pull request #85 from facefusion/feat/dilate-mask
Feat/dilate mask
2025-06-20 18:28:08 +05:30
harisreedhar 56b71048e3 add erode for export and make it conditional 2025-06-19 16:29:30 +05:30
henryruhs 7490ead302 Update dependencies 2025-06-17 22:03:22 +02:00
henryruhs ecc37873bf Update README 2025-06-17 21:49:45 +02:00
harisreedhar bd762c4c38 dilate 2025-06-17 15:15:50 +05:30
Harisreedhar f5c49a02cb Merge pull request #84 from facefusion/stabilize-finetuning
Change optimizer and expose more parameters to config
2025-06-17 14:49:34 +05:30
harisreedhar f4d4914f5c rearrange 2025-06-17 14:46:56 +05:30
harisreedhar 2f28fb664b apply crossface 2025-06-17 14:43:21 +05:30
harisreedhar 35c250b0c9 rearrange logger 2025-06-17 13:44:37 +05:30
harisreedhar 580a179f44 rename 2025-06-17 13:39:24 +05:30
harisreedhar e846d88145 split config section 2025-06-17 13:26:06 +05:30
harisreedhar e894e4172a stabilize training 2025-06-17 13:06:47 +05:30
harisreedhar fc766b8327 fix lr scheduler 2025-06-11 15:38:28 +05:30
harisreedhar a06f5fd9e8 stabilize finetune 2025-06-11 14:15:11 +05:30
Harisreedhar ce7aaa57dc Merge pull request #83 from facefusion/ssim-fix
fix ssim
2025-06-09 19:07:30 +05:30
harisreedhar fce54eb7db fix ssim 2025-06-09 19:00:56 +05:30
Henry Ruhs 3e9c8a37e7 Some polishing on augmentation (#82) 2025-06-09 07:49:00 +02:00
henryruhs 143b594ee6 Rename to dataset multiplier 2025-06-05 16:34:03 +02:00
Henry Ruhs 47bebb02d7 Introduce usage ration to boost datasets (#81)
* Introduce usage rate to boost datasets

* Rename to usage ratio
2025-06-05 15:22:25 +02:00
Henry Ruhs 94cbcb68f0 Cache the usage of glob.glob (#80) 2025-06-05 09:30:04 +02:00
Henry Ruhs a602bbd474 Dataset Usage Mode (#79)
* Introduce FilePool to support usage modes

* Fix lint

* Add to README and config

* Enforce equal and same swaps

* Different approach to forward convert tempalte

* Changes

* Changes

* Changes

* Changes

* Introduce V3 of the usage mode feature

* Fix lint

* Proper use of config parser

* fix filter to filter config
2025-06-04 09:25:31 +02:00
Henry Ruhs 24f45877f5 feat/noise injection (#78)
* changes

* add to config.ini

* changes

* changes

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
2025-06-02 11:04:53 +02:00
Henry Ruhs 0722db91f1 refactor/convert tensor (#76)
* change to convert template

* changes

* changes

* Conditional convert input tensor

* Conditional convert input tensor

---------

Co-authored-by: harisreedhar <h4harisreedhar.s.s@gmail.com>
2025-05-26 09:44:09 +02:00
Henry Ruhs 475b8b1538 Next (#75)
* Add gradient value clip

* Add gradient clip to config

* Fix HifiFace in preview

* Fix HifiFace in preview

* Fix HifiFace in preview

* Adjust save top
2025-05-05 10:03:34 +02:00
henryruhs d68b77bd4d Final touches on the README 2025-04-26 12:20:09 +02:00
henryruhs 8806accbb3 Update previews 2025-04-26 12:09:35 +02:00
henryruhs d4a8719870 Fix preview 2025-04-24 15:51:28 +02:00
Henry Ruhs 1a41a941e2 Merge pull request #74 from facefusion/rename-everything
Rename everything
2025-04-24 15:22:47 +02:00
henryruhs 5c855aae4e Sort out the warp template naming 2025-04-24 13:07:35 +02:00
henryruhs 810df0f540 Final rename for everything 2025-04-24 12:42:53 +02:00
henryruhs 03011200e4 Update dependencies 2025-04-23 21:35:45 +02:00
henryruhs 837ee1e18c Cosmetic changes 2025-04-23 21:11:51 +02:00
Henry Ruhs ef62a2ee9e Fix preview 2025-04-23 20:52:04 +02:00
Henry Ruhs af455f5236 Fix preview 2025-04-23 20:51:39 +02:00
Henry Ruhs 0b7db0cc27 Merge pull request #72 from facefusion/next
Next
2025-04-23 20:50:08 +02:00
Harisreedhar 140cad492a Merge pull request #71 from facefusion/remove-pose-expression-loss
Remove pose and expression loss
2025-04-23 22:13:27 +05:30
harisreedhar d44ac98e38 changes 2025-04-23 22:00:42 +05:30
harisreedhar d990ce4575 remove 1024 from test 2025-04-21 15:41:22 +05:30
harisreedhar 982a94b535 add 1024 2025-04-21 15:37:13 +05:30
Harisreedhar 5b41d8e91f Merge pull request #70 from facefusion/cycle-loss
Cycle loss
2025-04-15 14:17:28 +05:30
harisreedhar bcf5b4e5a8 changes 2025-04-15 14:14:09 +05:30
harisreedhar 128726701b changes 2025-04-15 14:10:58 +05:30
harisreedhar 4a319ec9bd changes 2025-04-15 14:05:27 +05:30
harisreedhar 39ce14b590 remove discriminator frequency 2025-04-15 13:54:17 +05:30