Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create requirements_3.10_arm64.txt #103

Open
wants to merge 165 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
54ffa54
Create requirements_3.10_arm64.txt
Smiril Aug 16, 2022
301ddc9
Update 0_setup.sh
Smiril Aug 16, 2022
c0ae1cf
Update env.sh
Smiril Aug 16, 2022
86d1611
Update requirements_3.10_arm64.txt
Smiril Aug 16, 2022
5caecee
Update requirements_3.10_arm64.txt
Smiril Aug 16, 2022
e2bee7e
Update 0_setup.sh
Smiril Aug 16, 2022
e50772a
Core Development Reset
Smiril Aug 17, 2022
a6eb6c3
Core Development Reset
Smiril Aug 17, 2022
de25a55
Update env.sh
Smiril Aug 17, 2022
759a3c9
Core Development Reset
Smiril Aug 17, 2022
7519466
Merge branch 'master' of https://github.com/Smiril/DeepFaceLab_MacOS
Smiril Aug 17, 2022
aa6a15d
Update requirements_3.10_arm64.txt
Smiril Aug 17, 2022
5802604
Update 0_setup.sh
Smiril Aug 17, 2022
b6910dc
Update 0_setup.sh
Smiril Aug 17, 2022
ef83a73
Core Development Reset
Smiril Aug 17, 2022
de8e0de
Update env.sh
Smiril Aug 17, 2022
eab1505
Delete 6_train_SAEHD 2.sh
Smiril Aug 17, 2022
6119837
Delete 6_train_Quick96 2.sh
Smiril Aug 17, 2022
f7b8240
Update README.md
Smiril Aug 18, 2022
2a440c3
development Reset
Smiril Sep 25, 2022
2208eca
Merge branch 'master' of https://github.com/Smiril/DeepFaceLab_MacOS
Smiril Sep 25, 2022
d5ebffa
development reset
Smiril Sep 26, 2022
698c85b
development reset
Smiril Sep 26, 2022
2c0c8a9
development reset
Smiril Sep 26, 2022
b07afad
development Reset
Smiril Sep 26, 2022
67ce9be
Update 5_data_dst_extract_faces_S3FD_best_GPU.sh
Smiril Dec 11, 2022
585d00a
development reset
Smiril Dec 25, 2022
9c130a8
Update 6_train_AMP.sh
Smiril Dec 25, 2022
eee6ddc
Update 7_convert_AMP.sh
Smiril Dec 25, 2022
1060c69
Development Reset
Smiril Dec 26, 2022
729d9e3
Update 8_converted_to_avi.sh
Smiril Dec 26, 2022
9d1c093
Update README.md
Smiril Dec 26, 2022
6448145
Update README.md
Smiril Dec 26, 2022
2c1efb3
update
Smiril Dec 26, 2022
f72e7e8
Development Reset
Smiril Dec 26, 2022
90d57b0
Update 7_convert_Quick96.sh
Smiril Dec 26, 2022
c25a049
Development Reset
Smiril Dec 26, 2022
f927d89
Update 8_converted_to_avi.sh
Smiril Dec 26, 2022
6f9bf97
Update 8_converted_to_avi.sh
Smiril Dec 26, 2022
020cdb3
Development Reset
Smiril Dec 26, 2022
50c4d26
Development Reset
Smiril Dec 26, 2022
a90fba7
Create 8_merged_to_avi.sh
Smiril Dec 26, 2022
7e08877
Development Reset
Smiril Dec 26, 2022
3c2f4e3
Development Reset
Smiril Dec 26, 2022
b0da736
Update README.md
Smiril Dec 26, 2022
28cee2a
Development Reset
Smiril Dec 26, 2022
197a312
Update 1_clean_workspace.sh
Smiril Dec 27, 2022
7f4821d
Update README.md
Smiril Dec 27, 2022
b45c3e9
Update README.md
Smiril Dec 27, 2022
0fde70a
Update 8_merged_to_avi.sh
Smiril Dec 27, 2022
75284c8
Development Reset
Smiril Dec 27, 2022
6c962fc
Update README.md
Smiril Dec 27, 2022
2af4ed4
Development Reset
Smiril Dec 27, 2022
829c417
Update requirements.txt
Smiril Jan 8, 2023
f53365a
Update requirements_3.6.txt
Smiril Jan 8, 2023
79a61d7
Create file_example_MP4_480_1_5MG.mp4
Smiril Dec 15, 2023
2f2ab86
Merge branch 'master' of https://github.com/Smiril/DeepFaceLab_MacOS
Smiril Dec 15, 2023
e7cc853
Add files via upload
Smiril Feb 25, 2024
869a6d4
Update 0_setup.sh
Smiril Feb 25, 2024
9554344
Delete scripts/4_data_src_extract_faces_S3FD_all_GPU.sh
Smiril Feb 25, 2024
b979759
Delete scripts/4_data_src_extract_faces_S3FD_best_GPU.sh
Smiril Feb 25, 2024
951e1aa
Delete scripts/5_data_dst_extract_faces_MT_all_GPU+manual_fix.sh
Smiril Feb 25, 2024
17aeb75
Delete scripts/5_data_dst_extract_faces_MT_all_GPU.sh
Smiril Feb 25, 2024
538b51a
Delete scripts/5_data_dst_extract_faces_MT_best_GPU.sh
Smiril Feb 25, 2024
628cf42
Delete scripts/5_data_dst_extract_faces_S3FD_all_GPU+manual_fix.sh
Smiril Feb 25, 2024
3ed346a
Delete scripts/5_data_dst_extract_faces_S3FD_all_GPU.sh
Smiril Feb 25, 2024
9d3c880
Delete scripts/5_data_dst_extract_faces_S3FD_best_GPU.sh
Smiril Feb 25, 2024
df3dd50
Update README.md
Smiril Feb 25, 2024
f3fe4ae
Update README.md
Smiril Feb 25, 2024
03ebf07
Update 0_setup.sh
Smiril Feb 25, 2024
1060e5c
Update requirements_3.11_arm64.txt
Smiril Feb 25, 2024
6cebcd6
Update env.sh
Smiril Feb 25, 2024
7f96809
Update requirements_3.11_arm64.txt
Smiril Feb 25, 2024
646c38f
Add files via upload
Smiril Feb 26, 2024
0697272
Update 4_data_src_extract_faces_MANUAL.sh
Smiril Feb 26, 2024
ed8e873
Update 4_data_src_extract_faces_S3FD_all_GPU.sh
Smiril Feb 26, 2024
38eafc0
Update 4_data_src_extract_faces_S3FD_best_GPU.sh
Smiril Feb 26, 2024
56811ea
Update 5_data_dst_extract_faces_MANUAL.sh
Smiril Feb 26, 2024
a730672
Update 5_data_dst_extract_faces_MANUAL_RE-EXTRACT_DELETED_RESULTS_DEB…
Smiril Feb 26, 2024
d4bec7b
Update 5_data_dst_extract_faces_MT_all_GPU+manual_fix.sh
Smiril Feb 26, 2024
69bd917
Update 5_data_dst_extract_faces_MT_all_GPU.sh
Smiril Feb 26, 2024
3419dd3
Update 5_data_dst_extract_faces_MT_best_GPU.sh
Smiril Feb 26, 2024
f9230fe
Update 5_data_dst_extract_faces_S3FD_all_GPU+manual_fix.sh
Smiril Feb 26, 2024
bbfed19
Update 5_data_dst_extract_faces_S3FD_all_GPU.sh
Smiril Feb 26, 2024
9d85bcf
Update 5_data_dst_extract_faces_S3FD_best_GPU.sh
Smiril Feb 26, 2024
c624bc1
Delete file_example_MP4_480_1_5MG.mp4
Smiril Feb 26, 2024
3ac42a0
Update 0_setup.sh
Smiril Feb 26, 2024
d5f2de1
Update 0_setup.sh
Smiril Feb 26, 2024
8ccd00c
Update env.sh
Smiril Feb 26, 2024
d7bf702
Update 0_setup.sh
Smiril Feb 26, 2024
42b85e7
Update 0_setup.sh
Smiril Feb 26, 2024
33709f1
Update 0_setup.sh
Smiril Feb 26, 2024
2fd6c27
Update 0_setup.sh
Smiril Feb 26, 2024
5177c92
Update env.sh
Smiril Feb 26, 2024
ae0afd3
Update env.sh
Smiril Feb 26, 2024
fd86378
Update 0_setup.sh
Smiril Feb 26, 2024
b96a05c
Update 0_setup.sh
Smiril Feb 26, 2024
fbdf7d3
Update 0_setup.sh
Smiril Feb 26, 2024
062e849
Update 0_setup.sh
Smiril Feb 26, 2024
15ae5b2
Update 0_setup.sh
Smiril Feb 26, 2024
25d5283
Update 0_setup.sh
Smiril Feb 26, 2024
b945164
Update 0_setup.sh
Smiril Feb 26, 2024
0ec17f6
Update env.sh
Smiril Feb 27, 2024
30cda2c
Update 0_setup.sh
Smiril Feb 27, 2024
4e83db7
Update env.sh
Smiril Feb 27, 2024
3d7af18
Update requirements_3.11_arm64.txt
Smiril Feb 27, 2024
e49c028
Update requirements_3.11_arm64.txt
Smiril Feb 27, 2024
1980811
Update requirements_3.10_arm64.txt
Smiril Feb 27, 2024
ae16b03
Update requirements_3.11_arm64.txt
Smiril Feb 27, 2024
653fd7d
Update 8_converted_to_mov_lossless+alpha.sh
Smiril Feb 27, 2024
2668a3c
Update 8_converted_to_avi.sh
Smiril Feb 27, 2024
48f53a2
Update 8_converted_to_mp4.sh
Smiril Feb 27, 2024
c1ae094
Update 8_converted_to_mp4_lossless+alpha.sh
Smiril Feb 27, 2024
c83daf1
Update 8_converted_to_avi.sh
Smiril Feb 27, 2024
d125076
Update 8_converted_to_mov_lossless+alpha.sh
Smiril Feb 27, 2024
b6116f2
Update 8_converted_to_mp4.sh
Smiril Feb 27, 2024
d96d00b
Update 8_converted_to_mp4_lossless+alpha.sh
Smiril Feb 27, 2024
dbfb19b
Patch for upgrade
Smiril Feb 27, 2024
31e8883
Update 0_patch.sh
Smiril Feb 27, 2024
da44976
Update 0_patch.sh
Smiril Feb 27, 2024
a56d879
Update 0_patch.sh
Smiril Feb 27, 2024
01c4462
Update 0_patch.sh
Smiril Feb 27, 2024
6335f1c
Update 0_patch.sh
Smiril Feb 27, 2024
e1f148d
Update 0_patch.sh
Smiril Feb 27, 2024
7940daa
Update 0_patch.sh
Smiril Feb 27, 2024
72a3cc4
Update 0_patch.sh
Smiril Feb 27, 2024
cb40258
Update README.md
Smiril Feb 27, 2024
fa5aa98
Update README.md
Smiril Feb 27, 2024
894f3a1
Update README.md
Smiril Feb 27, 2024
bf7deda
Update 0_patch.sh
Smiril Feb 27, 2024
b2eaad3
Update 8_converted_to_avi.sh
Smiril Feb 27, 2024
75556ca
Update 8_converted_to_mov_lossless+alpha.sh
Smiril Feb 27, 2024
73f0b28
Update 8_converted_to_mp4.sh
Smiril Feb 27, 2024
3e1d1f7
Update 8_converted_to_mp4_lossless+alpha.sh
Smiril Feb 27, 2024
2ae897f
Update 0_setup.sh
Smiril Feb 27, 2024
96b5b61
Update requirements_3.11_arm64.txt
Smiril Feb 27, 2024
42db440
Update requirements_3.10_arm64.txt
Smiril Feb 27, 2024
e545acf
Update README.md
Smiril Feb 28, 2024
68fda9a
Update 2_extract_images_from_video_data_src.sh
Smiril Mar 19, 2024
3215437
Update 3_extract_images_from_video_data_dst.sh
Smiril Mar 19, 2024
34dc709
Update 4.1_data_src_extract_faces_MANUAL.sh
Smiril Mar 19, 2024
049d3b3
Update 4.1_data_src_extract_faces_S3FD.sh
Smiril Mar 19, 2024
cbe29f2
Update 4.1_data_src_extract_faces_S3FD_+_manual_fix.sh
Smiril Mar 19, 2024
574e89a
Update 4.2_data_src_sort.sh
Smiril Mar 19, 2024
1e2d106
Update 4.2_data_src_util_faceset_enhance.sh
Smiril Mar 19, 2024
c3cc2fd
Update 5.1_data_dst_extract_faces_MANUAL.sh
Smiril Mar 19, 2024
c4255fd
Update 5.1_data_dst_extract_faces_S3FD.sh
Smiril Mar 19, 2024
df0891d
Update 5.1_data_dst_extract_faces_S3FD_+_manual_fix.sh
Smiril Mar 19, 2024
2595c19
Update 5.2_data_dst_sort.sh
Smiril Mar 19, 2024
18b699e
Update 5.2_data_dst_util_faceset_enhance.sh
Smiril Mar 19, 2024
2ccecde
Update 5_XSeg_data_dst_mask_edit.sh
Smiril Mar 19, 2024
7d56b9c
Update 5_XSeg_data_dst_mask_fetch.sh
Smiril Mar 19, 2024
17fb303
Update 5_XSeg_data_dst_mask_remove.sh
Smiril Mar 19, 2024
8688f82
Update 5_XSeg_data_dst_trained_mask_apply.sh
Smiril Mar 19, 2024
0736ba9
Update 5_XSeg_data_dst_trained_mask_remove.sh
Smiril Mar 19, 2024
f8f7985
Update 5_XSeg_data_src_mask_edit.sh
Smiril Mar 19, 2024
7d7a580
Update 5_XSeg_data_src_mask_fetch.sh
Smiril Mar 19, 2024
5eda6f4
Update 5_XSeg_data_src_mask_remove.sh
Smiril Mar 19, 2024
922eafd
Update 5_XSeg_data_src_trained_mask_apply.sh
Smiril Mar 19, 2024
22debce
Update 5_XSeg_data_src_trained_mask_remove.sh
Smiril Mar 19, 2024
db64f8d
Update 5_XSeg_train.sh
Smiril Mar 19, 2024
32a3ecb
Update 5_data_dst_extract_faces_MANUAL_RE-EXTRACT_DELETED_RESULTS_DEB…
Smiril Mar 19, 2024
2bbed05
Update 6_train_Quick96.sh
Smiril Mar 19, 2024
048ff26
Update 6_train_SAEHD.sh
Smiril Mar 19, 2024
eed4b44
Update xseg.sh
Smiril Mar 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
## Intro

This project provides scripts inspired by [DeepFaceLab_Linux](https://github.com/lbfs/DeepFaceLab_Linux) to setup and run [DeepFaceLab](https://github.com/iperov/DeepFaceLab) on MacOS.
This project provides scripts inspired by [DeepFaceLab_Linux](https://github.com/nagadit/DeepFaceLab_Linux) to setup and run [DeepFaceLab](https://github.com/Smiril/DeepFaceLab_Apple-Silicon) on MacOS.

You'll need `git`, `ffmpeg`, `python3` and python module `virtualenv` available to be able to execute these scripts. The scripts will create a virtual env sandbox and will install all necessary dependencies there, so your main installation of `python3` will be left intact.

## NOTE: Apple M1 chip

Currently there's limited support for Apple M1 laptops. You can do model training, but the XSeg editor currently does not work (the DeepFaceLab codebase is not compatible with PyQt6).
Currently there's limited support for Apple M1 laptops. You can do model training, and the XSeg editor currently does work (the DeepFaceLab codebase is not compatible with PyQt6 but with PyQt5).

## NOTE: FULL RUN M1

```

cd scripts
./0_setup.sh
./0_patch.sh
./2_extract_images_from_video_data_src.sh
./3_extract_images_from_video_data_dst.sh
./4.1_data_src_extract_faces_S3FD.sh
./5.1_data_dst_extract_faces_S3FD.sh
./6_train_Quick96.sh
./7_convert_Quick96.sh
./8_converted_to_avi.sh

```

## Setup

Expand All @@ -23,8 +40,8 @@ Check if you have it with `brew ls --versions hdf5`. Install it with `brew insta

**Clone and setup**

1. Clone this repository (`git clone https://github.com/chychkan/DeepFaceLab_MacOS.git`)
2. Run script `./scripts/0_setup.sh` to get [DeepFaceLab](https://github.com/iperov/DeepFaceLab), create virtual env and install necessary Python dependencies. This may take several minutes to run.
1. Clone this repository (`git clone https://github.com/Smiril/DeepFaceLab_MacOS.git`)
2. Run script `./scripts/0_setup.sh` to get [DeepFaceLab](https://github.com/Smiril/DeepFaceLab_apple-Silicon.git), create virtual env and install necessary Python dependencies. This may take several minutes to run.

Now you can put your `data_src.mp4` and `data_dst.mp4` files into the `workspace/` dir and start running scripts from the `scripts/` dir.

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.21.4
opencv-contrib-python-headless==4.1.2.30
scipy==1.7.2
tensorflow==2.7.0
tensorflow==2.7.4
colorama==0.4.4
tqdm==4.62.3
ffmpeg-python==0.2.0
Expand Down
4 changes: 2 additions & 2 deletions requirements_3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ numpy==1.22.2
numexpr==2.8.1
opencv-python==4.5.5.62
scipy==1.8.0
tensorflow==2.8.0
tensorflow==2.8.4
colorama==0.4.4
tqdm==4.62.3
ffmpeg-python==0.2.0
Pillow==8.4.0
scikit-image==0.19.2
h5py==3.6.0
PyQt5==5.15.4
PyQt5==5.15.4
100 changes: 100 additions & 0 deletions requirements_3.10_arm64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
psutil>=5.8.0
numpy==1.23.3
numexpr<=2.8.1
opencv-python<=4.6.0.66
scikit-image<=0.19.3
scikit-learn<=1.0.2
scipy<=1.8.1
tifffile<=2022.5.4
pyparsing==3.0.9
pillow
tqdm<=4.64.0
colorama<=0.4.4
cython<=0.29.26
PyWavelets<=1.3.0
imageio<=2.19.3
networkx<=2.8.4
packaging<=21.3
image
timm
PlL
moviepy
absl-py<=1.1.0
astunparse
cachetools<=5.2.0
certifi<=2022.6.15
charset-normalizer<=2.1.0
flatbuffers<=1.12
gast
google-auth
google-auth-oauthlib<=0.4.6
google-pasta<=0.2.0
grpcio
h5py<=3.7.0
idna<=3.3
keras<=2.9.0
keras-preprocessing
libclang<=14.0.1
markdown<=3.3.7
oauthlib<=3.2.0
opt-einsum<=3.3.0
pyasn1==0.4.8
pyasn1-modules<=0.2.8
requests<=2.28.1
requests-oauthlib<=1.3.1
rsa<=4.8
six
Flask<=2.1.3
Jinja2<=3.1.2
Mako<=1.2.1
MarkupSafe<=2.1.1
alembic<=1.8.1
click<=8.1.3
cloudpickle<=2.1.0
databricks-cli
docker<=5.0.3
entrypoints<=0.4
gitdb<=4.0.9
gitpython<=3.1.27
gunicorn<=20.1.0
importlib-metadata<=4.12.0
itsdangerous<=2.1.2
mlflow<=1.27.0
pandas<=1.4.3
prometheus-client<=0.14.1
prometheus-flask-exporter<=0.20.2
pyjwt<=2.4.0
python-dateutil<=2.8.2
pytz<=2022.1
pyyaml<=6.0
querystring-parser<=1.2.4
smmap<=5.0.0
sqlalchemy<=1.4.39
sqlparse<=0.4.2
tabulate<=0.8.10
websocket-client<=1.3.3
zipp<=3.8.1
tensorboard<=2.9.1
tensorboard-data-server<=0.6.1
tensorboard-plugin-wit<=1.8.1
tensorflow-estimator<=2.9.0
tensorflow-macos<=2.9.0
tensorflow-metal
termcolor<=1.1.0
typing-extensions<=4.3.0
urllib3<=1.26.10
werkzeug<=2.1.2
wrapt<=1.14.1
fastcluster>=1.2.4
matplotlib>=3.5.1
ffmpeg-python==0.2.0
imageio-ffmpeg>=0.4.7
ffmpy
torch<=1.12.0
torchvision<=0.13.0
torchaudio<=0.12.0
insightface<=0.2.1
ipython<=7.21.0
PyQt5
PyQt6<=6.2.3
git+https://www.github.com/keras-team/keras-contrib.git
12 changes: 12 additions & 0 deletions requirements_3.11.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
numpy==1.22.2
numexpr==2.8.1
opencv-python==4.5.5.62
scipy==1.8.0
tensorflow==2.9.0
colorama==0.4.4
tqdm==4.62.3
ffmpeg-python==0.2.0
Pillow==8.4.0
scikit-image==0.19.2
h5py==3.6.0
PyQt5==5.15.4
100 changes: 100 additions & 0 deletions requirements_3.11_arm64.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
psutil>=5.8.0
numpy==1.23.3
numexpr<=2.8.1
opencv-python<=4.6.0.66
scikit-image<=0.19.3
scikit-learn==1.4.1.post1
scipy<=1.8.1
tifffile<=2022.5.4
pyparsing==3.0.9
pillow
future
tqdm<=4.64.0
colorama<=0.4.4
cython<=0.29.26
PyWavelets<=1.3.0
imageio<=2.19.3
networkx<=2.8.4
packaging<=21.3
image
timm
moviepy
absl-py<=1.1.0
astunparse
cachetools<=5.2.0
certifi<=2022.6.15
charset-normalizer<=2.1.0
flatbuffers<=23.5.26
gast
google-auth
google-auth-oauthlib>=0.5.0
google-pasta<=0.2.0
grpcio
h5py<=3.7.0
idna<=3.3
keras<=2.15.0
keras-preprocessing
libclang<=14.0.1
markdown<=3.3.7
oauthlib<=3.2.0
opt-einsum<=3.3.0
pyasn1==0.4.8
pyasn1-modules<=0.2.8
requests<=2.28.1
requests-oauthlib<=1.3.1
rsa<=4.8
six
Flask<=2.1.3
Jinja2<=3.1.2
Mako<=1.2.1
MarkupSafe<=2.1.1
alembic<=1.8.1
click<=8.1.3
cloudpickle<=2.1.0
databricks-cli
docker<=5.0.3
entrypoints<=0.4
gitdb<=4.0.9
gitpython<=3.1.27
gunicorn<=20.1.0
importlib-metadata<=4.12.0
itsdangerous<=2.1.2
mlflow<=1.27.0
pandas>1.3.3<=1.5.3
prometheus-client<=0.14.1
prometheus-flask-exporter<=0.20.2
pyjwt<=2.4.0
python-dateutil<=2.8.2
pytz<=2022.1
pyyaml<=6.0
querystring-parser<=1.2.4
smmap<=5.0.0
sqlalchemy<=1.4.39
sqlparse<=0.4.2
tabulate<=0.8.10
websocket-client<=1.3.3
zipp<=3.8.1
tensorboard<=2.15.0
tensorboard-data-server<=0.8.0
tensorboard-plugin-wit<=1.8.1
tensorflow-estimator<=2.15.0
tensorflow-macos<=2.15.0
tensorflow-metal
termcolor<=1.1.0
typing-extensions<=4.3.0
urllib3<=1.26.10
werkzeug<=2.1.2
wrapt<=1.14.1
fastcluster>=1.2.4
matplotlib>=3.5.1
ffmpeg-python==0.2.0
imageio-ffmpeg>=0.4.7
ffmpy
torch<=2.2.1
torchvision<=0.17.1
torchaudio<=2.2.1
insightface<=0.2.1
ipython<=7.21.0
PyQt5
PyQt6<=6.2.3
git+https://www.github.com/keras-team/keras-contrib.git
2 changes: 1 addition & 1 deletion requirements_3.6.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.19.2
opencv-contrib-python-headless==4.1.2.30
scipy==1.5.4
tensorflow==2.6.1
tensorflow==2.6.2
colorama==0.4.4
tqdm==4.62.3
ffmpeg-python==0.2.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_3.9.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy==1.21.4
opencv-contrib-python-headless==4.5.1.48
scipy==1.7.2
tensorflow==2.7.0
tensorflow==2.8.4
colorama==0.4.4
tqdm==4.62.3
ffmpeg-python==0.2.0
Expand Down
2 changes: 1 addition & 1 deletion requirements_3.9_arm64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ ffmpeg-python==0.2.0
Pillow==8.4.0
scikit-image==0.19.1
scipy==1.8.0
tensorflow-macos==2.7.0
tensorflow-macos==2.8.4
PyQt6==6.2.3
21 changes: 21 additions & 0 deletions scripts/0_patch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
cd "$(dirname $0)/.."
eval "$(/opt/homebrew/bin/brew shellenv)"

set -e

source .dfl/deep/bin/activate

set -e

python3.11 -m pip install --upgrade pip numpy==1.23.3 numexpr opencv-python colorama tqdm future tensorflow-macos scipy pillow PyQt5

source .dfl/env/bin/activate

set -e

python3.10 -m pip install --upgrade pip numpy==1.23.3 numexpr opencv-python colorama tqdm future tensorflow-macos scipy pillow PyQt5 onnx protobuf>=3.12.2

cp -R .dfl/ffmpeg/ffmpeg .dfl/deep/lib/python3.11/site-packages/

echo "Done."
Loading