Skip to content

Commit

Permalink
Added docker stuff to run on Sinzlab server
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneNx committed Nov 25, 2019
1 parent 24f1c45 commit 86e35b4
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ target/
celerybeat-schedule

# dotenv
.env
#.env

# virtualenv
venv/
Expand All @@ -97,3 +97,6 @@ ENV/

# Rope project settings
.ropeproject

#misc
.history.*
48 changes: 48 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: "2.3"
services:
local_debug:
build: ..
volumes:
- ./notebooks/models:/notebooks/models
- ./notebooks:/notebooks
- ../ml-utils:/transfer_learning/ml-utils
- ../transfer_learning:/projects/transfer_learning
- /tmp/djcache:/cache
env_file: .env
entrypoint: ""
local_develop:
build: ..
volumes:
- ./notebooks/models:/notebooks/models
- ./notebooks:/notebooks
- ../ml-utils:/transfer_learning/ml-utils
- ../transfer_learning:/projects/transfer_learning
- /tmp/djcache:/cache
ports:
- "8888:8888"
env_file: .env
server_develop:
build: ..
volumes:
- ./notebooks/models:/notebooks/models
- ./notebooks:/notebooks
- ../ml-utils:/transfer_learning/ml-utils
- ../transfer_learning:/projects/transfer_learning
- /tmp/djcache:/cache
ports:
- "6001:8888"
env_file: .env
runtime: nvidia
server_job:
build: ..
volumes:
- ./notebooks/models:/notebooks/models
- ./notebooks:/notebooks
- ../ml-utils:/transfer_learning/ml-utils
- ../transfer_learning:/projects/transfer_learning
- /tmp/djcache:/cache
env_file: .env
runtime: nvidia
entrypoint: /usr/bin/python3
command: run.py

Empty file added requirements.txt
Empty file.
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from setuptools import setup

setup(
name='transfer_learning',
version='0.1dev',
description='Experiments about inductive bias transfer',
author='Arne Nix',
author_email='[email protected]',
packages=['transfer_learning'], #same as name
install_requires=[], #external packages as dependencies
)

0 comments on commit 86e35b4

Please sign in to comment.