-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace TF entry point code * Update extract pipeline * Update requirements + setup for nvidia * Remove allow-growth option * tf.keras to keras updates * Basic training functionality (original) * lib.model.losses - Port + fix all loss functions for Keras3 * lib.model - port initializers, layers. normalization to Keras3 * training - Fix previews and LR_Finder * lib.logger - Prevent crash on custom loglevels when launching scripts external to FS * lib.model.autoclip to Keras 3 * Update mixed precision layer storage * model file to .keras format * typo fix * Set loss debug logging to trace * Restructure nn_blocks to initialize layers in __init__ * lib.model - standardise class init logging * 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 * Clean up console output * Fix learn mask and multiscale preview outputs * linting * pylint: reduce min-public-methods to 1 + linting * lib.logger/utils - remove TF specific log handling + linting * Remove lib.model.session * Extract - explicitly pass batch_size to predict * Exclude GPU for CUDA backends * plugins.model - remove exclude_gpu * Add exclude_gpus properties to ROCm and DirectML * Enable CPU mode for compatible extractors * Fix optimizer saving * bug/typo fixes * Update clip ViT to Keras 3 * lib.cli - Deprecate multi-character switches * tools cli - deprecate multi character switches * convert - remove trainer cli-arg * Remove colab references from project * Extract: Supress Keras compile warnings for FAN + Unet * plugins.extract.mask.unet-dfl - Fix for Keras3/Torch backend * plugins.extract - linting + typing * Port AdaBelief to Keras 3 * linting: Remove pylint hint from logger * typofix * Fix GUI for refactored lib.cli.args * Use saving API for load_model * setup.py: - Add --dev flag for dev tool install - Group pytorch items together for install * extract: Fix keras.device to call keras.backend.device_scope * setup.py add more dev requirements * training: Linting, fixes and docstrings setup: Update requirements files * Bugfixes for video file alignments storage: - extract/convert: Load images with correct video extension - Manual tool: Cache thumbnails with correct extension - Mask tool + Preview tool:: Update legacy alignment keys for pre-video extension storage * Fix Keras 3 syntax * Fix LR Finder for Keras 3 * lib: Linting, typing and minor clean up/fixes * extract: Fix device selection for plugins * 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 * train: Fix Keras imports in model plugins * Interim fix: Disable loading of legacy models * tools.model: - Remove TF Saved Format saving - Fix Backup/Restore + Nan-Scan * Update deprecated LeakyReLu arg * Fix inference model creation for Keras 3 * Preview tool: Fix for Keras3 * setup.py: Configure keras backend requirements: Bump keras version * - Bump pytorch max version - Fix LossWrapper deserialization * bugfix: Lion optimizer * Bugfix: Select .keras file for models in GUI * bugfix: Model - prevent ConvAware from re-calculating on model load * train: Migration of FS2 models to FS3 * Training: Default coverage to 100% * Bugfix: GUI Stats: - Fix 'learn mask' output tracking - Reset data cache if a model folder has been deleted between reading stats and starting training * bugfix: Gui stats. Reset session if log files have been replaced * numexpr: Default to use 2/3rds of available cores * Prevent model summaries from becoming truncated * fix mixed precision layer storage to be compatible with ConvNext * Bugfix: ClipV unnest model outputs * Bugfix: Create keras config folder if it does not exist * ClipV: Don't load weights by name to supress Keras warning message * clip: Supress weights mismatch warning * Bugfix: Mean output on FFL to prevent NaNs * Remove DirectML backend * setup: update for Linux * bugfix: Legacy model loading with unnested inbound nodes * Support Python up to 3.12 * Lower max python version to 3.11 * Bugfix: Porting Keras 2 models that use ClipV to Keras 3 * Update setup for MacOS * Allow python up to 3.12 + Fix locale deprecation * GUI: Force line reading to UTF-8 * Remove redundant Tensorflow references * Disable distribution + remove redumdant tf references * pytest fixes * Remove redundant code * pytest: Set KERAS_BACKEND EnvVar * lib.model.normalization: bugfixes * lib.model.loss.LaplacianPyramidLoss: Shape dtype bugfix * lib.model.layers: Minor bugfixes * scripts.conver.ConvertItem: default item bugfix * PyTest fixes * bugfix: Don't error on TestTensorBoardLogs teardown * bugfix: Mutable types in DataClass * github workflow: Fix macOS * setup.py bugfix: Don't error on cuda key lookup * Github workflow: All loss calculations on CPU * tests: Place ML ops explicitly on CPU * Legacy model loading: Fix TFLamdaOp scalar ops and DepthwiseConv2D * Add vertical offset option for training * Typing and linting * Github actions: Add more python versions * Add python version to workflow names * Github workflow: Exclude Python 3.12 for macOS * Implement custom training loop * Docs update and pin keras
- Loading branch information
Showing
123 changed files
with
7,081 additions
and
6,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.