-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
621 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#docker build -t ibl/dlc:base . | ||
FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04 | ||
|
||
# link the cuda libraries | ||
ENV LD_LIBRARY_PATH /usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH | ||
|
||
# setup time zone for tz | ||
ENV TZ=Europe/Paris | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
# Install python3.7 | ||
RUN apt-get update | ||
RUN apt-get install -y software-properties-common | ||
RUN add-apt-repository ppa:deadsnakes/ppa | ||
RUN apt-get update | ||
RUN apt-get install -y python3.7 python3.7-dev python3.7-tk python3-pip python3.7-venv git ffmpeg libgtk-3-dev | ||
|
||
# Install Python dependencies | ||
ARG PYTHON=python3.7 | ||
ENV LANG C.UTF-8 | ||
RUN ln -sf /usr/bin/${PYTHON} /usr/local/bin/python3 | ||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install "dask[complete]" | ||
RUN python3 -m pip install ibllib | ||
RUN python3 -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.7-cp37-cp37m-linux_x86_64.whl | ||
RUN python3 -m pip install tensorflow-gpu==1.13.1 | ||
RUN python3 -m pip install deeplabcut |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
__version__ = '0.2.0' # This is the only place where the version is hard coded, only adapt here | ||
__version__ = '1.0.0' # This is the only place where the version is hard coded, only adapt here | ||
|
||
import deeplabcut | ||
|
||
from iblvideo.run import run_session, run_queue | ||
from iblvideo.choiceworld import dlc, dlc_parallel | ||
from iblvideo.choiceworld import dlc | ||
from iblvideo.weights import download_weights | ||
from iblvideo.cluster import create_cpu_gpu_cluster |
Oops, something went wrong.