forked from deepfakes/faceswap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update code to support Tensorflow versions up to 2.8 (deepfakes#1213)
* Update maximum tf version in setup + requirements * - bump max version of tf version in launcher - standardise tf version check * update keras get_custom_objects for tf>2.6 * bugfix: force black text in GUI file dialogs (linux) * dssim loss - Move to stock tf.ssim function * Update optimizer imports for compatibility * fix logging for tf2.8 * Fix GUI graphing for TF2.8 * update tests * bump requirements.txt versions * Remove limit on nvidia-ml-py * Graphing bugfixes - Prevent live graph from displaying if data not yet available * bugfix: Live graph. Collect loss labels correctly * fix: live graph - swallow inconsistent loss errors * Bugfix: Prevent live graph from clearing during training * Fix graphing for AMD
- Loading branch information
Showing
23 changed files
with
553 additions
and
506 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
tqdm>=4.62 | ||
tqdm>=4.64 | ||
psutil>=5.8.0 | ||
numpy>=1.18.0,<1.20.0 | ||
opencv-python>=4.5.3.0 | ||
pillow>=8.3.1 | ||
scikit-learn>=0.24.2 | ||
fastcluster>=1.1.26 | ||
numpy>=1.18.0 | ||
opencv-python>=4.5.5.0 | ||
pillow>=9.0.1 | ||
scikit-learn>=1.0.2 | ||
fastcluster>=1.2.4 | ||
# matplotlib 3.3.1 breaks custom toolbar in graph popup | ||
matplotlib>=3.2.0,<3.3.0 | ||
imageio>=2.9.0 | ||
imageio-ffmpeg>=0.4.5 | ||
imageio-ffmpeg>=0.4.7 | ||
ffmpy==0.2.3 | ||
# Exclude badly numbered Python2 version of nvidia-ml-py | ||
# nvidia-ml-py>=11.450,<300 | ||
# v11.515.0 changes dtype of output items. Pinned for now | ||
# TODO update code to use latest version | ||
nvidia-ml-py>=11.450,<11.515 | ||
nvidia-ml-py>=11.510,<300 | ||
pywin32>=228 ; sys_platform == "win32" | ||
pynvx==1.0.0 ; sys_platform == "darwin" |
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.