mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-08-14 02:37:01 -07:00
upgrade python to 3.7.9 and numpy to 1.21.1
This commit is contained in:
parent
5ae2b7641f
commit
bb4a5d59f6
1 changed files with 3 additions and 3 deletions
|
@ -456,12 +456,12 @@ pause
|
|||
""")
|
||||
|
||||
|
||||
def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.6.8'):
|
||||
def build_deepfacelive_windows(release_dir, cache_dir, python_ver='3.7.9'):
|
||||
builder = WindowsFolderBuilder(release_path=Path(release_dir),
|
||||
cache_path=Path(cache_dir),
|
||||
python_ver=python_ver,
|
||||
clear_release_path=True)
|
||||
builder.install_pip_package('numpy==1.19.5')
|
||||
builder.install_pip_package('numpy==1.21.1')#1.19.5
|
||||
builder.install_pip_package('scipy==1.5.4')
|
||||
builder.install_pip_package('numexpr')
|
||||
builder.install_pip_package('opencv-python==4.5.3.56')
|
||||
|
@ -520,7 +520,7 @@ if __name__ == '__main__':
|
|||
p.add_argument('--build-type', required=True, choices=['dfl-windows'])#,'dfl-windows-installer'])
|
||||
p.add_argument('--release-dir', action=fixPathAction, default=None)
|
||||
p.add_argument('--cache-dir', action=fixPathAction, default=None)
|
||||
p.add_argument('--python-ver', default="3.6.8")
|
||||
p.add_argument('--python-ver', default="3.7.9")
|
||||
args = p.parse_args()
|
||||
|
||||
if args.build_type == 'dfl-windows':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue