Commit 176b743 1 parent b95d117 commit 176b743 Copy full SHA for 176b743
File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -109,8 +109,18 @@ else
109
109
echo torchvision==${TORCHVISION_VERSION} +cu${CUDA_VERSION_CODE} >> ${CONSTRAINTS_FILE}
110
110
fi
111
111
112
- pip install -r requirements.txt
113
- pip install -e .
112
+ # Install Anomalib
113
+ pip install -e $ANOMALIB_REPO || exit 1
114
+
115
+ # Install requirements.
116
+ pip install -r $ANOMALIB_REPO /requirements/requirements.txt -c ${CONSTRAINTS_FILE} || exit 1
117
+
118
+ pip install -e . -c ${CONSTRAINTS_FILE} || exit 1
119
+ ANOMALIB_OTE_DIR=$( realpath .)
120
+ echo " export ANOMALIB_OTE_DIR=${ANOMALIB_OTE_DIR} " >> ${venv_dir} /bin/activate
121
+
122
+ # Install OpenVINO requirements
123
+ pip install -r $ANOMALIB_REPO /requirements/requirements_openvino_mo.txt -c ${CONSTRAINTS_FILE} || exit 1
114
124
115
125
pip install -e $OTE_SDK_PATH || exit 1
116
126
You can’t perform that action at this time.
0 commit comments