parent
2d9918e72b
commit
25dbebd5b7
2 changed files with 3 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -92,6 +92,8 @@ dep-tensorflow:
|
|||
scripts/download-facenet.sh
|
||||
scripts/download-nasnet.sh
|
||||
scripts/download-nsfw.sh
|
||||
zip-facenet:
|
||||
(cd assets && zip -r facenet.zip facenet -x "*/.*" -x "*/version.txt")
|
||||
zip-nasnet:
|
||||
(cd assets && zip -r nasnet.zip nasnet -x "*/.*" -x "*/version.txt")
|
||||
zip-nsfw:
|
||||
|
|
|
@ -113,6 +113,7 @@ RUN /root/.local/bin/install-go.sh ${TARGETARCH}
|
|||
RUN rm -rf /tmp/* && mkdir -p /tmp/photoprism && \
|
||||
wget "https://dl.photoprism.org/tensorflow/nsfw.zip?${BUILD_TAG}" -O /tmp/photoprism/nsfw.zip && \
|
||||
wget "https://dl.photoprism.org/tensorflow/nasnet.zip?${BUILD_TAG}" -O /tmp/photoprism/nasnet.zip && \
|
||||
wget "https://dl.photoprism.org/tensorflow/facenet.zip?${BUILD_TAG}" -O /tmp/photoprism/facenet.zip && \
|
||||
wget "https://dl.photoprism.org/qa/testdata.zip?${BUILD_TAG}" -O /tmp/photoprism/testdata.zip
|
||||
|
||||
# Install additional tools
|
||||
|
|
Loading…
Reference in a new issue