1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-06 17:45:56 -04:00
Commit graph

1835 commits

Author SHA1 Message Date
torzdf
acd0f11749 Merge branch 'staging' 2025-05-21 17:58:33 +01:00
torzdf
92ef5aa92d bugfix: setup.py fix badly escaped delimiters for Windows 2025-05-21 17:57:00 +01:00
torzdf
6c947c44f9 Merge branch 'staging' 2025-05-19 16:51:17 +01:00
torzdf
5212589242 Pin imageio-ffmpeg to <0.6.0 2025-05-19 16:48:50 +01:00
torzdf
7d80bdbba3 bugfix: setup.py - Don't delimit package specs 2025-02-26 17:55:36 +00:00
torzdf
41b61f96a4 Update README.md 2024-11-19 23:12:57 +00:00
torzdf
cbaad146d5 Bugfix: Linux installer - pin git to < 2.45 2024-08-10 12:42:47 +01:00
torzdf
6fe300e601 pin numpy to < 2.0 2024-08-02 18:42:57 +01:00
torzdf
3f53ee9cec Bugfix: Convert - Correctly error if a valid mask has not been selected 2024-08-02 18:35:34 +01: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
c8652ecaac Training preview: Correctly display blur/kernel amount on mask 2024-06-02 16:25:30 +01:00
torzdf
1f4fcff5dd bugfix: Alignments, prevent duplicate backup alignment file names 2024-05-19 11:04:48 +01:00
torzdf
8c3bc39454 bugfix: Patch writer. Correctly split frame number from the end of filenames 2024-05-10 21:48:38 +01:00
torzdf
13dd5b3a90 bugfix: Alignments - correctly update keys for multiple underscores in the filename 2024-04-26 17:39:46 +01:00
torzdf
0f947791f5 bugfix: Alignments remove version check for video file extension update
- Typofixes
2024-04-21 20:03:42 +01:00
torzdf
be42b04064 Bugfix: Alignment file video key lookup for very old alignment files 2024-04-21 19:55:45 +01:00
torzdf
696692dc08 Fixups
- Deprecations - display correct long argument
  - Minor spelling + linting
2024-04-21 16:22:42 +01:00
torzdf
dce7d98302 lib.align: Split lib.align.alignments to smaller modules:
- Move update objects to own module
  - Move Thumbnails to own module
  - docs update + linting/typing
2024-04-19 13:45:30 +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
ec2a95adf6 tests: Fix alignment tool process_video test 2024-04-17 14:02:43 +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
118e615724 bugfix: tests - change -it switch to -i 2024-04-06 16:53:12 +01:00
torzdf
b1caa03e3f Fix tests for new cli switches 2024-04-06 15:48:54 +01:00
torzdf
95b4431c57 Deprecate multi-character cli switches 2024-04-05 13:51:57 +01:00
torzdf
64a7b5812e bugfix: setup/sysinfo - Don't look for files in non-existant path 2024-04-03 16:43:37 +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
97a842112c lib.align.aligned_face - Add split_mask method 2024-04-03 13:57:19 +01:00
torzdf
4502824481 Add mask dilation/erosion option for training 2024-03-26 18:06:48 +00:00
torzdf
2b08b8d2a6 typofix: tools.manual lower loglevel for mask removal 2024-03-25 18:55:29 +00:00
torzdf
180fe97a52 lib.training - Outpu useful error message if non-faceswap training images used 2024-03-22 12:51:50 +00:00
torzdf
aaa63ff896 bugfix: logger, don't import numpy unless required 2024-03-21 11:56:01 +00:00
torzdf
9ddc838e68 Bugfix: Correct loss labels when graphing 2024-03-20 17:08:39 +00:00
torzdf
1d3c59c351 Bugfix: Extract error on rotate faces 2024-03-20 15:24:30 +00:00
torzdf
1009254c57 logging
- Add standardized class __init__ log function
  - Import logger from lib.__init__ to prevent custom log level errors when running non-fs scripts
2024-03-20 14:19:23 +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
23944c3c10 Update requirements 2024-03-12 14:42:23 +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
d1dfce8a13 setup.py - fix ldconfig errors 2024-03-01 11:12:44 +00:00
torzdf
dea021cf82 bugfix - setup.py
- Install xorg-libxft for Linux users
  - Force tensorflow-cpu from pip
2024-01-12 15:14:56 +00:00
torzdf
b25f48431d bugfix: Patch writer - handle filenames which are only numeric 2024-01-10 13:05:35 +00:00