You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

joint-inference-helmet-detection-little.Dockerfile 564 B

1234567891011121314151617181920
  1. FROM tensorflow/tensorflow:1.15.4
  2. RUN apt update \
  3. && apt install -y libgl1-mesa-glx
  4. COPY ./lib/requirements.txt /home
  5. RUN pip install -r /home/requirements.txt
  6. RUN pip install opencv-python==4.4.0.44
  7. RUN pip install Pillow==8.0.1
  8. ENV PYTHONPATH "/home/lib"
  9. WORKDIR /home/work
  10. COPY ./lib /home/lib
  11. ENTRYPOINT ["python"]
  12. COPY examples/joint_inference/helmet_detection_inference/little_model/little_model.py /home/work/infer.py
  13. COPY examples/joint_inference/helmet_detection_inference/little_model/interface.py /home/work/interface.py
  14. CMD ["infer.py"]