766 Commits
Author SHA1 Message Date
torzdf e8dd50dabb Freeze r2.2
- Remove update/branch switch from GUI
  - Remove update_deps.py
  - Freeze requirements
  - Update installers
2023-06-18 16:57:54 +01:00
Ching-Yuan HuangandChing-Yuan Huang 8f08832c0f Fixed UnicodeDecodeError (#1316)
* Update image.py

use encoding="utf8", in line303, 413, 524, 803, 1459
fix UnicodeDecodeError: 'cp950' codec can't decode byte 0x83 in position 52: illegal multibyte sequence

* Update image.py

fix : ValueError: binary mode doesn't take an encoding argument

---------

Co-authored-by: Ching-Yuan Huang <47504492+che610369@users.noreply.github.com>
2023-06-16 15:30:05 +01:00
torzdf e0eda1cf80 bugfix: Extract memory leak 2023-06-16 13:31:45 +01:00
torzdf 77723a6b66 bugfix: config encoding - force to utf-8 2023-06-12 17:29:47 +01:00
torzdf 02239d4183 locales: Train settings 2023-06-11 23:30:05 +01:00
torzdf 50a5113690 locales: Add GUI menu translations 2023-06-07 14:16:27 +01:00
torzdf f2c1086f94 bugfix: Prevent settings popup from stealing focus 2023-02-19 13:02:37 +00:00
torzdf 74f4b6f9c4 Bugfix: Preview fail on input size > output size 2023-02-16 19:18:52 +00:00
torzdf 7887703ac7 bugfix - Colorchooser fixes 2023-02-13 19:05:34 +00:00
torzdf 6fd57f0d74 bugfix: OrderedDict type for python<3.9 2023-02-13 15:27:48 +00:00
torzdf 2028579756 Preview - Allow mask color/opacity configuration
- typing: lib.config
  - docs: lib.config
  - bugfix: popup_configure - keep assets on top
2023-02-13 15:03:34 +00:00
torzdf 8a5ee6d9bf Bugfix: Patch extract memory leak in batch mode 2023-02-10 15:52:34 +00:00
torzdf a1ef5edd39 tests:
- unit test: tools.alignments.media
  - Add mypy test
  - Typing fixes
2023-01-21 00:41:18 +00:00
torzdf 1d19aea281 bugfix - numexpr. ignore OMP_NUM_THREADS EnvVar 2023-01-18 15:39:05 +00:00
torzdf 34b558426e bugfix:
- preview tool - Prevent tkinter variables from exiting main thread
refactor:
    - preview tool - Split module to smaller sub-modules + docs, locales
Typing:
    - tools.preview.cli
Unit test:
    - tools.preview.viewer
2023-01-17 15:03:29 +00:00
torzdf 80f63280ca Bugfixes
- plugin.train.unbalanced - decoder b
  - gui.stats - crash when log folder deleted
  - setup.py - install gcc=12.1.0 on linux (scipy dep)
  - setup.py - don't test ROCm unless valid
  - typofix - cli_args extract singleprocess help
typing
  - lib.gui.analysis.event_reader
  - lib.gpu_stats.directml - make platform specific
unit tests
  - lib.gui.analysis.event_reader
2023-01-13 23:29:51 +00:00
torzdf 28cb2fcffb Unhide options for ROCm 2023-01-11 14:34:30 +00:00
torzdf c455601ed2 Linux - ROCm (AMD) support 2023-01-11 13:09:32 +00:00
torzdf 0dbeafb195 bugfix: sysinfo
- Fix getting free Vram on Nvidia
  - Don't halt sysinfo on GPU stats error
  - lib.sysinfo unit test
2023-01-09 12:29:18 +00:00
torzdf dc94ed9cad DirectML Support (#1291)
* DML Support
  - Add requirements. Update setup.py. Update Windows Installer
  - Add 'directml' backend. Update backend supporting logic
  - GPUStats - Add GPU querying from Win SDK for DML backend
  - Windows PlaidML - Deprecation Warning
  - Remove deprecated '-d' training flag
  - Logging in DML functions
- Unittest
  - Windows Unit Test
  - lib.utils
2023-01-06 14:45:57 +00:00
torzdf d750af1e92 bump TF to version 2.10 2022-12-20 15:30:26 +00:00
torzdf 84ae6006bb Bugfix - TF Version check 2022-12-19 11:26:32 +00:00
torzdf 48c886b3dc Allow decoding errors 2022-12-18 19:02:17 +00:00
torzdf 9e2026f6fe Extract: Implement re-align/2nd pass
- implement configurable re-align function in extract
  - update locales + documentation
  - re-factor align._base and split to separate modules
  - move normalization method to plugin parent
  - bugfix: FAN use zeros for pre-processing crop
  - lint AlignedFilter
2022-11-22 00:37:29 +00:00
torzdf f4c738dad4 Reduce LPIPS strength by factor of 10 2022-11-14 01:08:30 +00:00
torzdf e3b457693e bugfix - extract filters: spaces in folder names 2022-11-10 01:41:40 +00:00
torzdf c698f45a35 Aligner - Add feature position filter 2022-11-08 17:09:43 +00:00
torzdf 0f5d2e887c Face-filter updates:
- Allow selecting folder as well as multiple images
  - Lower default threshold and update helptext
  - bugfix: detector error when using all aligned faces
  - Standardize output folder name
2022-11-04 18:43:55 +00:00
torzdf 1d1face00d Update Face Filter
- Remove old face filter
  - plugins.extract.pipeline: Expose plugins directly
  - Change `is_aligned` from plugin level to ExtractMedia level
  - Allow extract pipeline to take faceswap aligned images
  - Add ability for recognition plugins to accept aligned faces as input
  - Add face filter to recognition plugin
  - Move extractor pipeline IO ops to own class
2022-10-31 18:25:32 +00:00
torzdf d1a7f7a8bc bugfix: Don't error if preview unsuccessfully read 2022-10-23 01:51:03 +01:00
torzdf 2e8ef5e3c8 GUI - Preview updates
- Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews
2022-10-20 18:51:39 +01:00
torzdf dab823a3eb Typing - lib.gui.display_command 2022-10-17 18:14:04 +01:00
torzdf a7c315951f docs update 2022-10-16 14:17:11 +01:00
torzdf f32f460e3f Refactoring
- Change saved previews to PNG
  - Split lib.gui.utils
  - Disable flake8 on __init__ imports
2022-10-15 19:17:24 +01:00
torzdf 47867a0dd4 typing: lib.gui.analysis.stats 2022-10-13 11:46:54 +01:00
torzdf 8910ae505b bugfix: fix gui initialization too early 2022-10-12 19:05:32 +01:00
torzdf a061290b19 typing: lib.gui.popup_session 2022-10-12 13:17:59 +01:00
torzdf f1e3339fbe Add vggface2 to extraction pipeline 2022-10-10 13:09:02 +01:00
torzdf 6f48d7f001 Phaze-A - Sym384 Preset 2022-10-01 17:04:58 +01:00
torzdf 765e385177 Extract: Typing and standardization 2022-09-30 18:36:35 +01:00
torzdf c79175cbde Alignments Tool updates
- Copy info back to alignments file from faces
2022-09-26 19:32:09 +01:00
torzdf e5356a417e Alignments update:
- Store face embeddings in PNG header when sorting
  - typing + refactor
  - Update alignments keys for 'identity' and 'video_meta' + bump to v2.3
  - General typing fixes
2022-09-25 18:22:48 +01:00
torzdf a7d0898f64 sort tool: Add sort by roll 2022-09-23 14:18:48 +01:00
torzdf f5fa5b4337 Extract filter: Allow saving of filtered images 2022-09-19 00:13:41 +01:00
torzdf a8f22cc019 Extract updates:
- Default CPU detector to MTCNN
  - add basic Aligner false positive filters
  - Typing: align + plugins
  - Use specific AlignerBatch class for alignment
  -
2022-09-18 19:44:41 +01:00
torzdf 8a803e24c4 bugfix: Suppress OMP error on CPU Windows version 2022-09-18 18:25:33 +01:00
torzdf 98d01760e4 Overhaul sort:
- Standardize image data reading and writing
  - Optimize loading (just one pass required)
  - Make all sort groups binnable (to greater or lesser results)
  - Add sort by pitch
  - Deprecate multiple options
  - linting, docs + locales
2022-09-13 13:08:59 +01:00
torzdf 42a010b17a bugfix: Windows Mousewheel in preview 2022-09-07 19:33:56 +01:00
torzdf 7da2cc3dd2 Training - Use custom preview pop-out 2022-09-07 11:49:52 +01:00
torzdf 681b775c7b bugfix: preview color order for RGB models 2022-09-07 10:58:32 +01:00