1901 Commits

Author SHA1 Message Date
torzdf f530cb7508 bugfix: Phaze-A, correctly set mobilenetv3 kwargs 2026-08-05 12:39:25 +01:00
torzdf 87ac39eb9e bugfix: TFLambdaOp to ScalarOp on legacy update 2026-08-02 14:35:30 +01:00
torzdf 0d4ea274ac pin numpy<2.5 due to bug with image metadata loading 2026-07-06 01:36:19 +01:00
torzdf 00a2d77f3d bugfix: train data loading - resize function for arbitrary channels 2026-07-05 09:50:43 +01:00
torzdf acdcfa8796 bugfix: Villain model. Correctly build lowmem variant 2026-06-24 11:08:45 +01:00
torzdf fa79d4dcee Initializers to Torch (#1549)
* Update requirements

* Remove docker

* ICNR init to torch

* conv-aware: Output as Tensor rather than Variable

* Bugfix: Omit type object from automodsumm

* bugfix: Tensorboard unit test. Switch Sequential for Functional

* Suppress broken Keras test

* revert failing test
2026-05-29 11:40:03 +01:00
torzdf 6923cd2074 bugfix: lpips - disable grad 2026-05-22 16:54:11 +01:00
torzdf 53b2fd9f1e bugfix: Set color order for relevant loss functions 2026-05-22 12:09:05 +01:00
torzdf 7aa85b29aa extract bugfixes: vgg-obstructed model path + unet-dfl output shape 2026-05-21 12:02:26 +01:00
torzdf 815b11f104 Migrate optimizers to torch (#1547) 2026-05-21 08:44:57 +01:00
torzdf a0ff721004 Completely remove Keras from loss calculations (#1545)
* training: Completely remove Keras from loss calculations
2026-05-09 19:07:30 +01:00
torzdf d8c52d04e3 bugfix: setup.py - ensurepip 2026-05-08 10:17:48 +01:00
torzdf 4b2a3cdc89 bugfixes:
- Installer: Force conda-forge for git on linux
  - GUI project: Fix issue with autosaving current settings
2026-05-01 10:34:52 +01:00
torzdf f7aa56a037 bugfix: Native torch loss functions running in Keras 2026-04-24 18:12:42 +01:00
torzdf 758a44a187 bugfix: GUI loading projects with removed options 2026-04-24 16:58:28 +01:00
torzdf fc1dcd1fd0 bugfix: Loss function device allocation 2026-04-24 10:24:24 +01:00
torzdf dd25f4533a All loss functions to Torch 2026-04-23 16:35:20 +01:00
torzdf 4dc652cb7f bugfix: FS2 to 3 SeparableConv2D update 2026-04-21 19:15:22 +01:00
torzdf 16fea0ebff Most loss functions to torch 2026-04-21 19:14:55 +01:00
torzdf ed70efdf3f hrnet: Slightly improved weights 2026-04-20 10:09:13 +01:00
torzdf e6ae291cd4 lpips: To torch + crop feature map zero-padding 2026-04-20 09:15:26 +01:00
torzdf 83fdd5f938 Train: Migrate data loading to Torch (#1540) 2026-04-16 19:19:53 +01:00
torzdf 453ef58b1d bugfix: alignments tool unit test 2026-04-08 10:07:47 +01:00
torzdf aa066ad7b2 bugfix: Aligned faces. Fix padding calculation 2026-04-08 10:02:06 +01:00
torzdf f403afbfa2 bugfix: legacy alignments conversion 2026-04-08 07:21:32 +01:00
torzdf 30d087acb9 bugfix: alignments datadict: Allow loading missing identities and masks 2026-04-08 07:16:37 +01:00
torzdf 604374100e bugfix: Aligned face - fix sub-crops + landmark mask mapping for coverage != 1.0 and y-offset != 0.0 2026-04-08 00:42:08 +01:00
torzdf 7203cf3dea bugfix: Align - Fix re-feed OOB cropping + loosen HRNet BBox 2026-04-05 19:14:34 +01:00
torzdf c83e3b53fe bugfix: Manual tool - prevent error on no masks 2026-04-05 17:12:30 +01:00
torzdf 32f427c00c Alignments: Migrate typed-dicts to dataclasses 2026-04-05 12:10:05 +01:00
torzdf 6ca67ce25b Bugfix: Manual tool. Correctly detect frames folder on load 2026-03-31 12:49:00 +01:00
torzdf cb2eace572 Remove legacy face set support 2026-03-31 00:03:05 +01:00
torzdf 4a5ac8f9a0 Bugfix: Extract/Convert - Don't error when an input frame is black 2026-03-29 18:47:52 +01:00
torzdf 0a0d1fabf0 convert bugfixes:
- ffmpeg writer: Exit audio buffer when no audio available
  - convert: correctly apply y-offset
  - Fix color adjust when "none" selected
2026-03-28 14:13:10 +00:00
torzdf 28ebca5c88 Fix Preview viewer test 2026-03-27 15:57:00 +00:00
torzdf 6ae823141c bugfix: vertical-offset in convert and preview 2026-03-27 15:11:05 +00:00
torzdf c8abd1b428 bugfix: Inference model. Make more robust to esoteric layouts 2026-03-27 09:36:01 +00:00
torzdf 7c0665fffa Replace imageio with pyav/ffmpeg-binaries (#1534) 2026-03-24 17:25:12 +00:00
torzdf d21781264d Extraction Overhaul (#1533)
* Extract refactor
2026-03-20 23:52:37 +00:00
torzdf 2ad87b1682 Bugfix: Fix mixed precision 2026-03-17 18:32:52 +00:00
torzdf dd2323bc70 Backported updates:
- Docs: Centralize sphinx requirements
- Logging: Handle Torch warnings and logging within our logging module
- Logging: More robust array logging handling
- Alignments: Store arrays as list in alignments file
- Alignments: Minor constants + Pose updates
- Add insightface_resnet network
- Update requirements
2026-03-12 10:27:16 +00:00
torzdf aa40efabf3 Backported code to support future updates 2026-02-27 19:30:27 +00:00
torzdf 4c2092623d bugfix: Don't query amd-smi under WSL2 2026-02-20 17:01:43 +00:00
torzdf 037738cbe2 bugfix: Collect AMD GPU stats when running in WSL2 2026-02-20 14:42:35 +00:00
torzdf 3326639c3b bugfix: manual tool. Convert np.int32 to int 2026-02-20 10:03:57 +00:00
torzdf 342e19d56e bugfix: Mask tool for bisenet-fp 2026-01-05 12:29:50 +00:00
torzdf 81b6002c35 Bugfixes:
- Convert: Fix error when 'learn mask' has been selected
  - Bisenet-FP mask: Correctly store mask for face or head centering
2025-12-31 14:24:16 +00:00
torzdf c53dcca287 Bugfixes:
- Keras 2 to 3, remove 'group' parameter from Conv2DTranspose
  - Suppress Keras warning about backend padding differences
  - Flatten non-list Fully Connected inputs to silence Keras warnings
2025-12-27 14:01:17 +00:00
torzdf 030b4fa879 bugfix: Keras 2to3, store dtypes in Keras3 friendly manner 2025-12-23 15:10:48 +00:00
torzdf 837bc2d51d Faceswap 3 (#1516)
* FaceSwap 3 (#1515)
* Update extract pipeline
* Update requirements + setup for nvidia
* Remove allow-growth option
* tf.keras to keras updates
* lib.model.losses - Port + fix all loss functions for Keras3
* lib.model - port initializers, layers. normalization to Keras3
* lib.model.autoclip to Keras 3
* Update mixed precision layer storage
* model file to .keras format
* Restructure nn_blocks to initialize layers in __init__
* Tensorboard
  - Trainer: Add Torch compatible Tensorboard callbacks
  - GUI event reader remove TF dependency
* Loss logging
  - Flush TB logs on save
  - Replace TB live iterator for GUI
* Backup models on total loss drop rather than per side
* Update all models to Keras3 Compat
* Remove lib.model.session
* Update clip ViT to Keras 3
* plugins.extract.mask.unet-dfl - Fix for Keras3/Torch backend
* Port AdaBelief to Keras 3
* setup.py:
  - Add --dev flag for dev tool install
* Fix Keras 3 syntax
* Fix LR Finder for Keras 3
* Fix mixed precision switching for Keras  3
* Add more optimizers + open up config setting
* train: Remove updating FS1 weights to FS2 models
* Alignments: Remove support for legacy .json files
* tools.model:
  - Remove TF Saved Format saving
  - Fix Backup/Restore + Nan-Scan
* Fix inference model creation for Keras 3
* Preview tool: Fix for Keras3
* setup.py: Configure keras backend
* train: Migration of FS2 models to FS3
* Training: Default coverage to 100%
* Remove DirectML backend
* Update setup for MacOS
* GUI: Force line reading to UTF-8
* Remove redundant Tensorflow references
* Remove redundant code
* Legacy model loading: Fix TFLamdaOp scalar ops and DepthwiseConv2D
* Add vertical offset option for training
* Github actions: Add more python versions
* Add python version to workflow names
* Github workflow: Exclude Python 3.12 for macOS
* Implement custom training loop
* Fs3 - Add RTX5xxx and ROCm 6.1-6.4 support (#1511)
* setup.py: Add Cuda/ROCm version select options
* bump minimum python version to 3.11
* Switch from setup.cgf to pyproject.toml
* Documentation: Update all docs to use automodapi
* Allow sysinfo to run with missing packages + correctly install tk under Linux
* Bugfix: dot naming convention in clip models
* lib.config: Centralise globally rather than passing as object
- Add torch DataParallel for multi-gpu training
  - GUI: Group switches together when generating cli args
  - CLI: Remove deprecated multi-character argparse args
  - Refactor:
    - Centralise tensorboard reading/writing + unit tests
    - Create trainer plugin interfaces + add original + distributed
* Update installers
v3.0.0
2025-12-21 02:45:11 +00:00