-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.bat
24 lines (20 loc) · 957 Bytes
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
:: Installation script :::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Scene Classifier
::
:: This script is only called from ..\..\CodeProject.AI-Server\src\setup.bat in
:: Dev setup, or ..\..\src\setup.bat in production
::
:: For help with install scripts, notes on variables and methods available, tips,
:: and explanations, see /src/modules/install_script_help.md
@if "%1" NEQ "install" (
echo This script is only called from ..\..\CodeProject.AI-Server\src\setup.bat
@pause
@goto:eof
)
REM Backwards compatibility with Server 2.6.5
if "!utilsScript!" == "" if "!sdkScriptsDirPath!" NEQ "" set utilsScript=%sdkScriptsDirPath%\utils.bat
:: Download the YOLO models and store in /assets
call "%utilsScript%" GetFromServer "models/" "scene-classification-models.zip" "assets" "Downloading Scene classification models..."
REM TODO: Check assets created and has files
REM set moduleInstallErrors=...