Skip to content

Commit e1e31c6

Browse files
Add descriptions of git_sparse_download.sh/bat in README.md
1 parent 9a48f4b commit e1e31c6

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,27 @@ git version 2.9.3 # or newer
2626
```
2727
3. Add [SSH key](https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/) to your GitHub account (if you haven't already)
2828

29-
4. clone the repo:
29+
4. clone the full repo:
3030
```
3131
$ git clone https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe-models.git
3232
```
33+
34+
5. clone a part of the repo:
35+
```
36+
If you don't need all models and want to save disc space you can use special scripts:
37+
38+
git_sparse_download.sh - for Linux
39+
git_sparse_download.bat - for Windows
40+
41+
They set-up git repo for working in space-checkout mode, with minimum git history
42+
43+
1. Choose a folder where "cnn_models" folder will be created.
44+
2. Select on "Save link as .." to save the script in that folder
45+
2. Choose a list of models which you want to work with ( in caffe_models folder), for instance: googlenet mobilenet
46+
3. Run the script with params - names of selected models:
47+
Example:
48+
git_sparse_download.sh googlenet mobilenet
49+
50+
It creates "cnn_models" folder, init git repo in there, dowload common files and models you select.
51+
52+
```

0 commit comments

Comments
 (0)