diff --git a/.gitignore b/.gitignore index 4ec7696..f29a30f 100644 --- a/.gitignore +++ b/.gitignore @@ -86,7 +86,7 @@ target/ celerybeat-schedule # dotenv -.env +#.env # virtualenv venv/ @@ -97,3 +97,6 @@ ENV/ # Rope project settings .ropeproject + +#misc +.history.* diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c948493 --- /dev/null +++ b/docker-compose.yml @@ -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 + diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..16fc293 --- /dev/null +++ b/setup.py @@ -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='arnenix@googlemail.com', + packages=['transfer_learning'], #same as name + install_requires=[], #external packages as dependencies +) \ No newline at end of file