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.

federated-learning-surface-defect-detection-train.Dockerfile 688 B

12345678910111213141516171819202122232425262728
  1. FROM tensorflow/tensorflow:2.3.0
  2. RUN apt update \
  3. && apt install -y libgl1-mesa-glx git
  4. COPY ./lib/requirements.txt /home
  5. RUN python -m pip install --upgrade pip
  6. COPY ./lib/requirements.txt /home
  7. RUN pip install -r /home/requirements.txt
  8. RUN pip install keras
  9. RUN pip install opencv-python
  10. RUN pip install Pillow
  11. RUN pip install tensorflow-datasets
  12. ENV PYTHONPATH "/home/lib:/home/plato"
  13. COPY ./lib /home/lib
  14. RUN git clone https://github.com/TL-System/plato.git /home/plato
  15. RUN rm -rf /home/plato/.git
  16. RUN pip install -r /home/plato/requirements.txt
  17. WORKDIR /home/work
  18. COPY examples/federated_learning/surface_defect_detection_v2 /home/work/
  19. ENTRYPOINT ["python", "train.py"]