Is there an image that I could use to reduce size and use pytorch too?
I have made this dockerfile for a pytorch application, however, i am facing this error. It works fine when i use it with image "bitnami/pytorch" or "armswdev/pytorch-arm-neoverse-n1:r21.09-torch-1.9.0-onednn-acl", but the size exceeds 4 GB in the latter and 7 GB in the former. I need to reduce it to 1.5 GB at max.
RUN pip install numpy==1.21.2
RUN pip install opencv_python==188.8.131.52
RUN pip install Pillow==8.3.2
RUN pip install torchvision
RUN pip install torch
COPY Grid-Anchor-based-Image-Cropping-Pytorch ./
RUN bash ./make_all.sh
RUN pip install typing-extensions==184.108.40.206
CMD ["python", "demo_eval.py"]