Dean commited on
Commit
07a1ed8
β€’
1 Parent(s): 912d076

Update 'README.md'

Browse files
Files changed (1) hide show
  1. README.md +28 -22
README.md CHANGED
@@ -4,6 +4,12 @@ Savta Depth is a collaborative *O*pen *S*ource *D*ata *S*cience project for mono
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.
@@ -16,9 +22,12 @@ If you'd like to take part, please follow the guide.
16
  #### Google Colab
17
  Google Colab can be looked at as your web connected, GPU powered IDE. Below is a link to a well-documented Colab notebook, that will load the code and data from this repository, enabling you to modify the code and re-run training. Notice that you still need to modify the code within the `src/code/` folder, adding cells should be used only for testing things out.
18
 
 
 
 
19
  In order to edit code files, you must save the notebook to your drive. You can do this by typing `ctrl+s` or `cmd+s` on mac.
20
 
21
- \>\> **[SavtaDepth Colab Environment](https://colab.research.google.com/drive/19027P09jiiN1C99-YGk4FPj0Ol9iXUIU?usp=sharing)** \<\<
22
 
23
  **_NOTE: The downside of this method (if you are not familiar with Colab) is that Google Colab will limit the amount of time an instance can be live, so you might be limited in your ability to train models for longer periods of time._**
24
 
@@ -26,9 +35,11 @@ This notebook is also a part of this project, in case it needs modification, in
26
 
27
  #### Local
28
  * Clone the repository you just forked by typing the following command in your terminal:
29
- ```bash
30
- $ git clone https://dagshub.com/<your-dagshub-username>/SavtaDepth.git
31
- ```
 
 
32
  * Create a virtual environment or Conda environment and activate it
33
  ```bash
34
  # Create the virtual environment
@@ -49,25 +60,22 @@ This notebook is also a part of this project, in case it needs modification, in
49
  * Pull the dvc files to your workspace by typing:
50
 
51
  ```bash
52
- $ dvc pull -r dvc-remote
53
  $ dvc checkout #use this to get the data, models etc
54
  ```
55
 
56
- **Note**: You might need to install and setup the tools to pull from a remote. Read more in [this guide](https://dagshub.com/docs/getting-started/set-up-remote-storage-for-data-and-models/) on how to setup Google Storage or AWS S3 access.
57
  * After you are finished your modification, make sure to do the following:
58
- * If you modified packages, make sure to freeze your virtualenv by typing in the terminal:
59
 
60
- ```bash
61
- $ make save_requirements
62
- ```
63
-
64
- * Push your code to DAGsHub, and your dvc managed files to your dvc remote. To setup a dvc remote please refer to [this guide](https://dagshub.com/docs/getting-started/set-up-remote-storage-for-data-and-models/).
65
 
66
  #### Docker
67
  * Clone the repository you just forked by typing the following command in your terminal:
68
- ```bash
69
- $ git clone https://dagshub.com/<your-dagshub-username>/SavtaDepth.git
70
- ```
 
 
71
  * To get your environment up and running docker is the best way to go. We use an instance of [MLWorkspace](https://github.com/ml-tooling/ml-workspace).
72
  * You can Just run the following commands to get it started.
73
 
@@ -106,19 +114,17 @@ This notebook is also a part of this project, in case it needs modification, in
106
  $ dvc checkout #use this to get the data, models etc
107
  ```
108
 
109
- **Note**: You might need to install and setup the tools to pull from a remote. Read more in [this guide](https://dagshub.com/docs/getting-started/set-up-remote-storage-for-data-and-models/) on how to setup Google Storage or AWS S3 access.
110
  * After you are finished your modification, make sure to do the following:
111
- * Freeze your virtualenv by typing in the terminal:
112
-
113
- ```bash
114
- $ make save_requirements
115
- ```
116
 
117
- * 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/).
118
 
119
  ---
120
  ### After pushing code and data to DAGsHub
121
  * Create a Pull Request on DAGsHub!
 
 
 
122
  * 🐢
123
 
124
  ### TODO:
 
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
+ ## Demo
8
+ **You can use [this notebook](https://colab.research.google.com/drive/1XU4DgQ217_hUMU1dllppeQNw3pTRlHy1?usp=sharing) to load a model from the project and run it on an image you uploaded, to get the depth map. Once it has been saved, you can download it to use on platforms that support it (e.g. Facebook) to create 3d photos.**
9
+
10
+ ![](https://i.ibb.co/r20HKpQ/savtadepthex.png)
11
+
12
+ \>\> **[Demo Notebook](https://colab.research.google.com/drive/1XU4DgQ217_hUMU1dllppeQNw3pTRlHy1?usp=sharing)** \<\<
13
 
14
  ## Contributing Guide
15
  Here we'll list things we want to work on in the project as well as ways to start contributing.
 
22
  #### Google Colab
23
  Google Colab can be looked at as your web connected, GPU powered IDE. Below is a link to a well-documented Colab notebook, that will load the code and data from this repository, enabling you to modify the code and re-run training. Notice that you still need to modify the code within the `src/code/` folder, adding cells should be used only for testing things out.
24
 
25
+ **You can also use this notebook to load a model from the project and run it on an image you uploaded, to get the depth map. Once it has been saved, you can download it to use on platforms that support it (e.g. Facebook) to create 3d photos.**
26
+
27
+
28
  In order to edit code files, you must save the notebook to your drive. You can do this by typing `ctrl+s` or `cmd+s` on mac.
29
 
30
+ \>\> **[SavtaDepth Colab Environment](https://colab.research.google.com/drive/1XU4DgQ217_hUMU1dllppeQNw3pTRlHy1?usp=sharing)** \<\<
31
 
32
  **_NOTE: The downside of this method (if you are not familiar with Colab) is that Google Colab will limit the amount of time an instance can be live, so you might be limited in your ability to train models for longer periods of time._**
33
 
 
35
 
36
  #### Local
37
  * Clone the repository you just forked by typing the following command in your terminal:
38
+
39
+ ```bash
40
+ $ git clone https://dagshub.com/<your-dagshub-username>/SavtaDepth.git
41
+ ```
42
+
43
  * Create a virtual environment or Conda environment and activate it
44
  ```bash
45
  # Create the virtual environment
 
60
  * Pull the dvc files to your workspace by typing:
61
 
62
  ```bash
63
+ $ dvc pull -r origin
64
  $ dvc checkout #use this to get the data, models etc
65
  ```
66
 
 
67
  * After you are finished your modification, make sure to do the following:
68
+ * If you modified packages, make sure to update the `requirements.txt` file accordingly.
69
 
70
+ * Push your code to DAGsHub, and your dvc managed files to your dvc remote. For reference on the commands needed, please refer to the Google Colab notebook section – [Commiting Your Work and Pushing Back to DAGsHub](https://colab.research.google.com/drive/1XU4DgQ217_hUMU1dllppeQNw3pTRlHy1?authuser=1#scrollTo=PAxz-29WhN12&line=1&uniqifier=1).
 
 
 
 
71
 
72
  #### Docker
73
  * Clone the repository you just forked by typing the following command in your terminal:
74
+
75
+ ```bash
76
+ $ git clone https://dagshub.com/<your-dagshub-username>/SavtaDepth.git
77
+ ```
78
+
79
  * To get your environment up and running docker is the best way to go. We use an instance of [MLWorkspace](https://github.com/ml-tooling/ml-workspace).
80
  * You can Just run the following commands to get it started.
81
 
 
114
  $ dvc checkout #use this to get the data, models etc
115
  ```
116
 
 
117
  * After you are finished your modification, make sure to do the following:
118
+ * If you modified packages, make sure to update the `requirements.txt` file accordingly.
 
 
 
 
119
 
120
+ * Push your code to DAGsHub, and your dvc managed files to your dvc remote. For reference on the commands needed, please refer to the Google Colab notebook section – [Commiting Your Work and Pushing Back to DAGsHub](https://colab.research.google.com/drive/1XU4DgQ217_hUMU1dllppeQNw3pTRlHy1?authuser=1#scrollTo=PAxz-29WhN12&line=1&uniqifier=1).
121
 
122
  ---
123
  ### After pushing code and data to DAGsHub
124
  * Create a Pull Request on DAGsHub!
125
+ * Explain what changes you are making.
126
+ * If your changes affect data or models, make sure they are pushed to your DAGsHub dvc remote, and are included in the PR.
127
+ * We will review your contribution ASAP, and merge it or start a discussion if needed.
128
  * 🐢
129
 
130
  ### TODO: