mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
init (#1467)
This commit is contained in:
parent
e6b0b8c00a
commit
e52d7c42ca
@ -76,9 +76,9 @@ ENV PATH="/root/workspace/ncnn/build/tools/quantize/:${PATH}"
|
||||
### install mmdeploy
|
||||
WORKDIR /root/workspace
|
||||
ARG VERSION
|
||||
RUN git clone https://github.com/open-mmlab/mmdeploy.git &&\
|
||||
RUN git clone -b dev-1.x https://github.com/open-mmlab/mmdeploy.git &&\
|
||||
cd mmdeploy &&\
|
||||
if [ -z ${VERSION} ] ; then git checkout -b dev-1.x ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\
|
||||
if [ -z ${VERSION} ] ; then echo "No MMDeploy version passed in, building on dev-1.x" ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\
|
||||
git submodule update --init --recursive &&\
|
||||
rm -rf build &&\
|
||||
mkdir build &&\
|
||||
|
@ -57,9 +57,9 @@ RUN cp -r /usr/local/lib/python${PYTHON_VERSION}/dist-packages/tensorrt* /opt/co
|
||||
ENV ONNXRUNTIME_DIR=/root/workspace/onnxruntime-linux-x64-${ONNXRUNTIME_VERSION}
|
||||
ENV TENSORRT_DIR=/workspace/tensorrt
|
||||
ARG VERSION
|
||||
RUN git clone https://github.com/open-mmlab/mmdeploy &&\
|
||||
RUN git clone -b dev-1.x https://github.com/open-mmlab/mmdeploy &&\
|
||||
cd mmdeploy &&\
|
||||
if [ -z ${VERSION} ] ; then git checkout -b dev-1.x ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\
|
||||
if [ -z ${VERSION} ] ; then echo "No MMDeploy version passed in, building on dev-1.x" ; else git checkout tags/v${VERSION} -b tag_v${VERSION} ; fi &&\
|
||||
git submodule update --init --recursive &&\
|
||||
mkdir -p build &&\
|
||||
cd build &&\
|
||||
|
Loading…
x
Reference in New Issue
Block a user