forked from hcmlab/vadnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
do_bin.cmd
26 lines (21 loc) · 986 Bytes
/
do_bin.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@echo off
cd /D bin
del /F /Q *.dll
cd ..
set PYTHON_VER_FULL=3.6.4
set PYTHON_VER=36
set SRC=https://github.com/hcmlab/ssi/raw/master/bin/x64/vc140/
set DST=bin\
%DST%wget.exe https://www.python.org/ftp/python/%PYTHON_VER_FULL%/python-%PYTHON_VER_FULL%-embed-amd64.zip -O %DST%python-%PYTHON_VER_FULL%-embed-amd64.zip
%DST%7za.exe x %DST%python-%PYTHON_VER_FULL%-embed-amd64.zip -aoa -o%DST%
%DST%7za.exe x %DST%python%PYTHON_VER%.zip -aoa -o%DST%python%PYTHON_VER%
%DST%wget.exe -q %SRC%python%PYTHON_VER%._pth -O %DST%python%PYTHON_VER%._pth
%DST%wget.exe -q https://bootstrap.pypa.io/get-pip.py -O %DST%get-pip.py
%DST%python %DST%get-pip.py
%DST%python %DST%has_gpu.py > %DST%has_gpu.txt
set /p GPU=<%DST%has_gpu.txt
%DST%Scripts\pip.exe install tensorflow%GPU%==1.8.0
%DST%Scripts\easy_install.exe termcolor
%DST%Scripts\pip.exe install tensorflow%GPU%==1.8.0
%DST%Scripts\pip.exe install librosa
%DST%wget.exe %SRC%xmlpipe.exe -O %DST%xmlpipe.exe