Spaces:
Paused
Paused
Dean
commited on
Commit
·
47cfa83
1
Parent(s):
f7a3443
Initial commit for setting up DS environment
Browse files- Dockerfile +9 -0
- Notebooks/bts_tryout.ipynb +0 -0
- README.md +35 -0
- requirements.txt +0 -0
- run_dev_env.sh +10 -0
Dockerfile
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM pytorch/pytorch
|
2 |
+
|
3 |
+
RUN apt-get update && apt-get install -y software-properties-common && apt-get update
|
4 |
+
RUN add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git libglib2.0-dev
|
5 |
+
|
6 |
+
COPY requirements.txt ./
|
7 |
+
RUN pip install -r requirements.txt
|
8 |
+
|
9 |
+
RUN pip install jupyterlab
|
Notebooks/bts_tryout.ipynb
DELETED
The diff for this file is too large to render.
See raw diff
|
|
README.md
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Savta Depth - Monocular Depth Estimation OSDS Project
|
2 |
+
Savta Depth is a collaborative *O*pen *S*ource *D*ata *S*cience project for monocular depth estimation.
|
3 |
+
|
4 |
+
Here you will find the code for the project, but also the data, models, pipelines and experiments. This means that the project is easily reproducible on any machine, but also that you can contribute to it as a data scientist.
|
5 |
+
|
6 |
+
Have a great idea for how to improve the model? Want to add data and metrics to make it more explainable/fair? We'd love to get your help.
|
7 |
+
|
8 |
+
## Contributing Guide
|
9 |
+
Here we'll list things we want to work on in the project as well as ways to start contributing.
|
10 |
+
If you'd like to take part, please follow the guide.
|
11 |
+
|
12 |
+
### Setting up your environment to contribute
|
13 |
+
* To get started, fork the repository on DAGsHub
|
14 |
+
* Next, clone the repository you just forked by typing the following command in your terminal:
|
15 |
+
```bash
|
16 |
+
$ git clone https://dagshub.com/<your-dagshub-username>/SavtaDepth.git
|
17 |
+
$ dvc checkout #use this to get the data, models etc
|
18 |
+
```
|
19 |
+
* To get your environment up and running docker is the best way to go.
|
20 |
+
We created a dockerfile that has all you need in it and will install all requirements in the 'requirements.txt' file as well as run a jupyter lab instance.
|
21 |
+
* Just open the terminal in your project directory and type `docker build "savta_depth_dev" ."
|
22 |
+
* After the docker image is created run the following commands:
|
23 |
+
```bash
|
24 |
+
$ chmod +x run_dev_env.sh
|
25 |
+
$ ./run_dev_env.sh
|
26 |
+
```
|
27 |
+
* Open localhost:8888 and you are good to go
|
28 |
+
* After you are finished your modification, don't forget to push your code to DAGsHub, and your dvc managed files to your dvc remote. In order to setup a dvc remote please refer to [this guide](https://dagshub.com/docs/getting-started/set-up-remote-storage-for-data-and-models/).
|
29 |
+
* Create a Pull Request on DAGsHub!
|
30 |
+
* 🐶
|
31 |
+
### TODO:
|
32 |
+
[] Web UI
|
33 |
+
[] Testing various datasets as basis for training
|
34 |
+
[] Testing various models for the data
|
35 |
+
[] Adding qualitative tests for model performance (visually comparing 3d image outputs)
|
requirements.txt
ADDED
File without changes
|
run_dev_env.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
docker run --rm -p 8888:8888 \
|
2 |
+
--ipc=host \
|
3 |
+
--volume="$PWD:/workspace" \
|
4 |
+
savta_depth_dev jupyter lab \
|
5 |
+
--ip=0.0.0.0 \
|
6 |
+
--port=8888 \
|
7 |
+
--allow-root \
|
8 |
+
--no-browser \
|
9 |
+
--NotebookApp.token='' \
|
10 |
+
--NotebookApp.password=''
|