Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM public.ecr.aws/lambda/python:3.10.2023.05.27.23-x86_64
- COPY onnx-root-usr /usr
- RUN pip install numpy==1.24.3 && pip install numpy==1.24.3 && pip install onnxruntime==1.15.0 && \
- pip install opencv-python==4.7.0.72 && pip cache purge
- COPY model_efficientnet_b3_nonhuman_included.onnx model_efficientnet_b3_nonhuman_included.onnx
- COPY onnx-inference-aws.py app.py
- CMD ["app.handler"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement