Giter Site home page Giter Site logo

Comments (2)

limhoyeon avatar limhoyeon commented on July 30, 2024

It is my dockerfile that I wrote for challenge docker environment. So, It maybe different from current codes and files in this git repository. Im sorry but plz modify this docker file for your use case. Thanks.

FROM pytorch/pytorch:1.7.1-cuda11.0-cudnn8-devel
#RUN apt-get update && apt-get install wget
#RUN wget https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-#keyring_1.0-1_all.deb

#RUN dpkg -i cuda-keyring_1.0-1_all.deb

#RUN rm /etc/apt/sources.list.d/cuda.list && rm /etc/apt/sources.list.d/nvidia-ml.list && \
RUN mv /etc/apt/sources.list.d/cuda.list /etc/apt/sources.list.d/cuda.list.temp && mv /etc/apt/sources.list.d/nvidia-ml.list /etc/apt/sources.list.d/nvidia-ml.list.temp
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6  -y
RUN mv /etc/apt/sources.list.d/cuda.list.temp /etc/apt/sources.list.d/cuda.list && mv /etc/apt/sources.list.d/nvidia-ml.list.temp /etc/apt/sources.list.d/nvidia-ml.list

RUN groupadd -r algorithm && useradd -m --no-log-init -r -g algorithm algorithm

RUN mkdir -p /opt/algorithm /input /output \
    && chown algorithm:algorithm /opt/algorithm /input /output

#USER algorithm

WORKDIR /opt/algorithm

ENV PATH="/home/algorithm/.local/bin:${PATH}"

#RUN python -m pip install --user -U pip


RUN pip install wandb && \
pip install trimesh==3.10.2 && \
pip install --ignore-installed PyYAML && \
pip install open3d && \
pip install multimethod && \
pip install termcolor

#COPY --chown=algorithm:algorithm tsegnet/* /opt/algorithm/
ADD tsegnet /opt/algorithm
RUN TORCH_CUDA_ARCH_LIST=All
RUN cd testmodel/lib/pointops && python setup.py install && cd ../../..
RUN cd openpoints/cpp/chamfer_dist && python setup.py install && cd ../emd && python setup.py install && cd ../pointnet2_batch && python setup.py install && cd ../subsampling && python setup.py install && cd ../../..
#RUN python -m pip install --user -rrequirements.txt
RUN pip install easydict
USER algorithm

ENTRYPOINT python -m process $0 $@
#ENTRYPOINT python -m eval_test $0 $@

from toothgroupnetwork.

M-Alsouqi avatar M-Alsouqi commented on July 30, 2024

Thank you for sharing.

I managed to modify it for my use case!

from toothgroupnetwork.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.