Skip to content

Commit

Permalink
Update FAISS / dockerfiles to latest version in master.
Browse files Browse the repository at this point in the history
FAISS approximate retrieval use copy_subset_to.
Soon FAISS K-NN graph construction.

Next:

- Implement pre-condition checks, failed to launch error
messages for processes. Rollback created models on failure to launch.

- Implement clustering.

- Implement location net, fine-tuning / training face recognition models
  • Loading branch information
akshay bhat committed Jun 3, 2018
1 parent 3ff169e commit 7baade4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ WORKDIR "/root/thirdparty/faiss"
RUN apt-get install -y libopenblas-dev swig
ENV BLASLDFLAGS /usr/lib/libopenblas.so.0
RUN mv example_makefiles/makefile.inc.Linux ./makefile.inc
RUN make tests/test_blas -j $(nproc) && make -j $(nproc) && make py
RUN make -j $(nproc) && make py
#RUN cd tests && ./run_tests.sh && cd ..
ENV PYTHONPATH /root/DVA/repos/:$PYTHONPATH
ENV PYTHONPATH /root/DVA/repos/tf_ctpn_cpu/:$PYTHONPATH
Expand Down
2 changes: 1 addition & 1 deletion deploy/dockerfiles/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ WORKDIR "/root/thirdparty/faiss"
RUN apt-get install -y libopenblas-dev swig
ENV BLASLDFLAGS /usr/lib/libopenblas.so.0
RUN mv example_makefiles/makefile.inc.Linux ./makefile.inc
RUN make tests/test_blas -j $(nproc) && make -j $(nproc) && make py
RUN make -j $(nproc) && make py
#RUN cd tests && ./run_tests.sh && cd ..
# Waiting for CUDA 9 compatibility for FAISS to compile GPU version
ENV PYTHONPATH /root/DVA/repos/:$PYTHONPATH
Expand Down

0 comments on commit 7baade4

Please sign in to comment.