Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to Install spconv1.x in docker #581

Closed
ajithvcoder opened this issue Mar 23, 2023 · 0 comments
Closed

Method to Install spconv1.x in docker #581

ajithvcoder opened this issue Mar 23, 2023 · 0 comments

Comments

@ajithvcoder
Copy link

ajithvcoder commented Mar 23, 2023

FROM pytorch/pytorch:1.1.0-cuda10.0-cudnn7.5-devel
RUN apt-get update && apt-get install -y libboost-all-dev\
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip

RUN pip install Pillow==6.1
RUN apt remove cmake
RUN pip install cmake --upgrade
RUN pip install setuptools==39.1.0
RUN pip install torch==1.3.0 torchvision==0.4.1

# spconv 
WORKDIR /root
RUN git clone https://github.com/poodarchu/spconv.git --recursive /spconv
RUN cd /spconv &&  python setup.py bdist_wheel
RUN cd /spconv/dist && pip install *

Above is a docker file you can also use nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 in first line
it took 3 long days to find it
Credits to V2AI/Det3D#155 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant