Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RUN apt update
- RUN apt install -y sudo software-properties-common ssh git curl zsh vim build-essential cmake gfortran libatlas-dev libavcodec-dev libavformat-dev libboost-all-dev libgtk2.0-dev libjpeg-dev liblapack-dev libswscale-dev pkg-config python-dev python-pip wget zip
- RUN pip install --upgrade pip
- RUN pip install numpy scipy pandas scikit-learn
- RUN apt install -y python-skimage
- RUN apt install -y luarocks
- RUN curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash -e
- WORKDIR /root/
- RUN git clone https://github.com/torch/distro.git ./torch --recursive
- WORKDIR /root/torch/
- RUN bash install-deps
- RUN ./install.sh
- ENV PATH="/root/torch/install/bin:${PATH}"
- RUN luarocks install moses
- RUN luarocks install torchx
- RUN luarocks install nn
- RUN luarocks install dpnn
- RUN luarocks install csvigo
- RUN luarocks install optim
- WORKDIR /root/
- RUN git clone https://github.com/facebook/fblualib.git
- WORKDIR /root/fblualib/fblualib/python
- RUN luarocks make rockspec/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement