Skip to content

Commit

Permalink
Merge pull request #19 from kapilvgit/main
Browse files Browse the repository at this point in the history
minist fixes
  • Loading branch information
pavankad authored Jun 12, 2024
2 parents 314deb9 + 46a6b29 commit 0b88dff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scenarios/mnist/ci/Dockerfile.preprocess
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.9 get-pip.py

## Install dependencies
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cpu
RUN pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
RUN pip3 --default-timeout=1000 install onnx onnx2pytorch

RUN apt-get install -y jq
Expand Down
6 changes: 6 additions & 0 deletions scenarios/mnist/ci/push-containers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
containers=("depa-mnist-save-model:latest" "depa-mnist-preprocess:latest")
for container in "${containers[@]}"
do
docker tag $container $CONTAINER_REGISTRY"/"$container
docker push $CONTAINER_REGISTRY"/"$container
done

0 comments on commit 0b88dff

Please sign in to comment.