torzdf
7d80bdbba3
bugfix: setup.py - Don't delimit package specs
2025-02-26 17:55:36 +00:00
torzdf
b6ac7b8039
bugfix: Manual tool. Allow working with image folders at EEN values > 1
2024-07-05 18:46:10 +01:00
torzdf
ea63f1e64a
Mask tool. Add ability to output custom imported masks
2024-06-28 13:50:14 +01:00
torzdf
696692dc08
Fixups
...
- Deprecations - display correct long argument
- Minor spelling + linting
2024-04-21 16:22:42 +01:00
torzdf
96528ee3e8
lib.align.detected_face: Split Mask objects to own aligned_mask module
2024-04-19 12:25:00 +01:00
torzdf
2bad105dc8
bugfix: Alignment tool, auto-detect alignments
...
- Random linting and typing
2024-04-19 11:33:52 +01:00
torzdf
d75898f718
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
2024-04-18 12:45:33 +01:00
torzdf
3f69d9feab
manual tool: bugfx: don't error when getting mesh for non-existant face
2024-04-17 14:16:33 +01:00
torzdf
957734dfc0
convert: Bugfix: Update legacy .png video alignments to include video file extension
2024-04-17 12:37:47 +01:00
torzdf
3d5b962d29
linting: typo-fix
2024-04-16 11:15:54 +01:00
torzdf
1c081aea7d
Add ability to export and import alignment data ( #1383 )
...
* tools.alignments - add export job
* plugins.extract: Update __repr__ for ExtractorBatch dataclass
* plugins.extract: Initial implementation of external import plugins
* plugins.extract: Disable lm masks on ROI alignment data import
* lib.align: Add `landmark_type` property to AlignedFace and return dummy data for ROI Landmarks pose estimate
* plugins.extract: Add centering config item for align import and fix filename mapping for images
* plugins.extract: Log warning on downstream plugins on limited alignment data
* tools: Fix plugins for 4 point ROI landmarks (alignments, sort, mask)
* tools.manual: Fix for 2D-4 ROI landmarks
* training: Fix for 4 point ROI landmarks
* lib.convert: Average color plugin. Avoid divide by zero errors
* extract - external:
- Default detector to 'external' when importing alignments
- Handle different frame origin co-ordinates
* alignments: Store video extension in alignments file
* plugins.extract.external: Handle video file keys
* plugins.extract.external: Output warning if missing data
* locales + docs
* plugins.extract.align.external: Roll the corner points to top-left for different origins
* Clean up
* linting fix
2024-04-15 12:19:15 +01:00
torzdf
95b4431c57
Deprecate multi-character cli switches
2024-04-05 13:51:57 +01:00
torzdf
ab8199e243
linting + typing
2024-04-03 15:30:46 +01:00
torzdf
70c064ca7d
Minor fixups and linting
2024-04-03 15:14:32 +01:00
torzdf
983901466f
linting: Reduce Class min-public-methods and fix spacing
2024-04-03 14:37:48 +01:00
torzdf
a9d87ae007
linting: Remove pylint hint for logger
2024-04-03 14:03:54 +01:00
torzdf
2b08b8d2a6
typofix: tools.manual lower loglevel for mask removal
2024-03-25 18:55:29 +00:00
torzdf
63b4d91281
Bugfix: Mask tool - correctly name imported mask
2024-03-18 19:38:10 +00:00
torzdf
af95dbb310
Bugfix: mask tool. Prevent hangiing when input is folder of frames
2024-03-13 18:21:04 +00:00
torzdf
7a16f753cc
Add Mask importing to the mask tool ( #1376 )
...
* lib.align.alignments: expose count_faces_in_frame
* tools.mask: refactor and fix frame output to display all masks in a single frame
* tools.mask: add import mask process
* manual tool: Remove NN masks on landmark edit
2024-03-12 13:17:35 +00:00
torzdf
f23c87c899
bugfix: Preview tool regression
2023-09-29 14:50:52 +01:00
torzdf
a660eda8e1
Convert: Add face scale option
2023-09-09 18:40:36 +01:00
torzdf
12814ce049
bugfix: Manual tool - face filtering
2023-07-12 08:23:48 +01:00
torzdf
8fb96b0d6e
mask tool: log and exit if batch not using folder
2023-06-30 09:42:52 +01:00
torzdf
4b20316975
bugfix: manual tool - alignments saving
2023-06-28 18:43:37 +01:00
torzdf
efa4471243
typing:
...
- tools.manual.detected_faces
- tools.manual.thumbnails
2023-06-28 18:30:17 +01:00
torzdf
6a3b674bef
Rebase code ( #1326 )
...
* Remove tensorflow_probability requirement
* setup.py - fix progress bars
* requirements.txt: Remove pre python 3.9 packages
* update apple requirements.txt
* update INSTALL.md
* Remove python<3.9 code
* setup.py - fix Windows Installer
* typing: python3.9 compliant
* Update pytest and readthedocs python versions
* typing fixes
* Python Version updates
- Reduce max version to 3.10
- Default to 3.10 in installers
- Remove incompatible 3.11 tests
* Update dependencies
* Downgrade imageio dep for Windows
* typing: merge optional unions and fixes
* Updates
- min python version 3.10
- typing to python 3.10 spec
- remove pre-tf2.10 code
- Add conda tests
* train: re-enable optimizer saving
* Update dockerfiles
* Update setup.py
- Apple Conda deps to setup.py
- Better Cuda + dependency handling
* bugfix: Patch logging to prevent Autograph errors
* Update dockerfiles
* Setup.py - Setup.py - stdout to utf-8
* Add more OSes to github Actions
* suppress mac-os end to end test
2023-06-27 11:27:47 +01:00
torzdf
03f5c671bc
Remove plaidML support ( #1325 )
...
* Remove PlaidML reference from readme files
* Remove AMD option from installers
* remove amd requirements and update setup.py
* remove plaidml test from CI workflow
* gpustats: remove plaidml backend
* plaid removals:
- faceswap.py - python version check
- setup.cfg - plaidml typing ignore
- lib.keras_utils - All plaid code
- lib.launcher.py - All plaidml checks and configuration
* remove tf2.2 specific code from GUI event reader
* lib.model - remove all plaidml implementations
* plugins.extract - remove plaidml code
* plugins.train remove plaidml code
* lib.convert - remove plaidml code
* tools.model: remove plaidml code
* Remove plaidML tests from unit tests
* remove plaidml_utils and docsting cleanups
* Remove plaidML refs from configs
* fix keras imports
2023-06-21 12:57:33 +01:00
torzdf
82e927d3e7
bugfix: Preview tool Don't error if too few images
2023-06-18 11:38:43 +01:00
torzdf
216ef38763
alignments tool - batch jobs to run in process
2023-02-24 01:29:10 +00:00
torzdf
ec95c19534
alignments tool - Add batch mode
2023-02-24 00:38:28 +00:00
torzdf
a076afa910
bugfix: mask tool memory leak in batch-mode
2023-02-21 12:47:18 +00:00
torzdf
d0a8d59812
mask tool: Add batch-mode
2023-02-20 23:51:20 +00:00
torzdf
cd94b7e046
Mask tool update:
...
- Allow creation of masks on face sets without an alignments file
- Auto-detect alignments file location when not provided
2023-02-20 15:05:23 +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
a1ef5edd39
tests:
...
- unit test: tools.alignments.media
- Add mypy test
- Typing fixes
2023-01-21 00:41:18 +00:00
torzdf
c474858265
bugfix: Alignments tool - remove faces:
...
- Handle duplicate face images
2023-01-18 20:13:29 +00:00
torzdf
e2d84bec50
bugfix: - Alignment tool - remove faces:
...
- Only process faces that exist in alignments file
2023-01-18 03:17:09 +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
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
ac6bda7f00
bugfix: Mask tool, fix faces input type
2022-12-19 11:00:09 +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
f1e3339fbe
Add vggface2 to extraction pipeline
2022-10-10 13:09:02 +01:00
torzdf
856067b3bb
typofix: tools.mask
2022-09-30 23:45:21 +01:00
torzdf
c79175cbde
Alignments Tool updates
...
- Copy info back to alignments file from faces
2022-09-26 19:32:09 +01:00
torzdf
5805d76de4
alignments tool - Remove-face - Minor update
2022-09-26 12:48:52 +01:00
torzdf
e2a77e7c6e
Alignments Tool - Typing, Documentation + Re-org
2022-09-26 02:22:28 +01:00
torzdf
9e23f836ea
Bugfix: sort. Don't error on callback in SortMulti
2022-09-25 18:51:13 +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