1
0
Fork 0
mirror of https://github.com/deepfakes/faceswap synced 2025-06-07 10:43:27 -04:00
Commit graph

1835 commits

Author SHA1 Message Date
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
andentze
e8a3016882
create even more RU translations (#1322)
* create translations for GUI menus

* locale: Add RU translations to extract global config

* locales: general refactor + extract, train and general config translations

* add more translations
2023-06-17 12:09:59 +01:00
Ching-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
ac8206ed6e bugfix: Extract - rotation in detection 2023-06-15 18:28:37 +01:00
Bryan Lyon
4e58bcdde3
ClipFaker (#4)
* Initial working CLIP/FARL implementation.  Visual only, Clipfaker uses FaRL weights for training.

* Added missing files.

* Added automatic download and loading of weights.

* Fix bug with clipfaker loading Farl weights

* Added missing reference to clip_tf2

* Added some docstrings

* adding docstrings

* Docstring

* Added some docstrings

* updated setup.py tensorflow requirements

* Last changes

* Last changes

* Last changes

* Changes to docstrings

* Last changes over the Docstrings

---------

Co-authored-by: Bryan Lyon <bryanlyon@users.noreply.github.com>
Co-authored-by: Tianaco <tianaco@users.noreply.github.com>
Co-authored-by: andresca94 <andres_csuarez@live.com>
2023-06-14 10:40:24 +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
a66214c58e locales: Add global extract settings 2023-06-08 16:45:18 +01:00
torzdf
50a5113690 locales: Add GUI menu translations 2023-06-07 14:16:27 +01:00
torzdf
013f3016f1 bugfix: Locales for Windows 2023-06-06 19:09:45 +01:00
andentze
e2ad3e271b
add ru locale (#1311) 2023-04-27 15:38:09 +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
cd929e0df3 bugfix: preview tool unit test 2023-02-20 12:28:02 +00:00
torzdf
637dc3b55c bugfix - utils unit test 2023-02-20 12:12:51 +00: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
0c1d1e3253 Bugfix: Color order on preview with learn_mask 2023-02-14 13:09:46 +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
757088f68b bugfix: Linux installer -cpu mode 2023-02-11 23:58:45 +00:00
torzdf
4a5a10977b Bugfix: Disable batch mode patch for non-Linux machines 2023-02-10 18:02:14 +00:00
torzdf
8a5ee6d9bf Bugfix: Patch extract memory leak in batch mode 2023-02-10 15:52:34 +00:00
torzdf
b4212dedc9 bugfix: pin numpy 2023-02-03 12:20:42 +00:00
torzdf
a1ef5edd39 tests:
- unit test: tools.alignments.media
  - Add mypy test
  - Typing fixes
2023-01-21 00:41:18 +00:00
torzdf
4f79ea47e6 bugfix: macos - raise tensorflow-metal max version
typofix: usage.md
2023-01-19 18:02:50 +00:00
DonOhhhh
eaa33ae28e
Korean translations added (#1287) 2023-01-18 22:12:29 +00:00
torzdf
c474858265 bugfix: Alignments tool - remove faces:
- Handle duplicate face images
2023-01-18 20:13:29 +00:00
torzdf
1d19aea281 bugfix - numexpr. ignore OMP_NUM_THREADS EnvVar 2023-01-18 15:39:05 +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
798e59192c unit test updates
- Add XVFB (virtual display)
  - Re-activate viewer gui test
2023-01-17 16:20:16 +00:00
torzdf
110f53d5a4 bugfix - skip tkinter unit tests 2023-01-17 15:24:14 +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
edd7e52408 docs: typofix 2023-01-09 12:46:29 +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
2f16f8aa3b Bugfix - Phaze-A, monkeypatch EfficientNet for MixedPrecision 2023-01-07 19:19:07 +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
bcef3b4d1c Merge branch 'staging' 2022-12-20 16:03:12 +00:00
torzdf
ddedb52696 Update tests for tf2.10 2022-12-20 15:35:10 +00:00
torzdf
d750af1e92 bump TF to version 2.10 2022-12-20 15:30:26 +00:00
torzdf
ef55d24f2e Merge branch 'staging' 2022-12-20 01:42:53 +00:00