mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Attempt to fix PR build.
This commit is contained in:
parent
d360c4f808
commit
ca69beec9e
@ -286,7 +286,7 @@ RUN set -eux; \
|
|||||||
DEBIAN_FRONTEND=noninteractive; \
|
DEBIAN_FRONTEND=noninteractive; \
|
||||||
export DEBIAN_FRONTEND; \
|
export DEBIAN_FRONTEND; \
|
||||||
apt -y update; \
|
apt -y update; \
|
||||||
apt -y install nodejs make; \
|
apt -y install nodejs npm make; \
|
||||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \
|
||||||
npm install -g npm@10
|
npm install -g npm@10
|
||||||
|
|
||||||
|
|||||||
@ -3,9 +3,11 @@ from openvino.tools import mo
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from site import getsitepackages
|
from site import getsitepackages
|
||||||
|
|
||||||
|
|
||||||
def transformations_config_location(path: Path):
|
def transformations_config_location(path: Path):
|
||||||
return path / 'openvino' / 'tools' / 'mo' / 'front' / 'tf' / 'ssd_v2_support.json'
|
return path / 'openvino' / 'tools' / 'mo' / 'front' / 'tf' / 'ssd_v2_support.json'
|
||||||
|
|
||||||
|
|
||||||
configs = [transformations_config_location(Path(path)) for path in getsitepackages()]
|
configs = [transformations_config_location(Path(path)) for path in getsitepackages()]
|
||||||
assert len(configs) > 0, 'Expected at least one transformations config to exist but none existed.'
|
assert len(configs) > 0, 'Expected at least one transformations config to exist but none existed.'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user