-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.bat
More file actions
24 lines (19 loc) · 775 Bytes
/
install.bat
File metadata and controls
24 lines (19 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
echo Installing dependencies
pip install -r requirements.txt
echo Dependencies installed successfully
echo Checking if Required Models are Downloaded
set "SRC_DIR=%~dp0src"
rem File names to look for
set "CLIP_MODEL=openai_clip.onnx"
set "FACE_MODEL=mediapipe_face-facelandmarkdetector-float.onnx"
rem ----- Check the OpenAI CLIP model ------------------------------
if not exist "%SRC_DIR%\%CLIP_MODEL%" (
echo Get OpenAI-Clip Model if Not already present in the src folder
echo Please Download from Qualcomm AI Hub
)
rem ----- Check the Face-detection / Face-mesh model ---------------
if not exist "%SRC_DIR%\%FACE_MODEL%" (
echo Get Facial Detection Model if Not already present in the src folder
echo Please Download from Qualcomm AI Hub
)