Skip to content

Instantly share code, notes, and snippets.

@khirotaka
Created August 10, 2020 15:14
Show Gist options
  • Save khirotaka/35e8368c4949a0a641aea752b2387c76 to your computer and use it in GitHub Desktop.
Save khirotaka/35e8368c4949a0a641aea752b2387c76 to your computer and use it in GitHub Desktop.
Dockerfile for Unsupervised Representation Learning for Multivariate Time Series
FROM pytorch/pytorch:0.4.1-cuda9-cudnn7-devel
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
vim \
python-pil \
python-matplotlib \
python-pygraphviz \
default-jdk \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN conda install -y --channel conda-forge fasttsne && \
pip install --user \
Orange3==3.18.0 \
pandas==0.23.4 \
javabridge==1.0.17 \
python-weka-wrapper3==0.1.6 \
scikit-learn==0.20.0
RUN git clone https://github.com/White-Link/UnsupervisedScalableRepresentationLearningTimeSeries.git
@khirotaka
Copy link
Author

khirotaka commented Aug 11, 2020

Usage

Build

$ mkdir unsupervised/
$ cd unsupervised/
$ vim Dockerfile
$ docker build -t unsupervised .

Run

$ docker run -it --rm --gpus=0 -v $PWD/DATASET:/workspace/DATASET unsupervised

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment