Update README.md (#2581)

* Update README.md

type in pip command to install requirements

* Update model_store.py

fix not working url. the models in the previous url were just stub.
This commit is contained in:
mosheliv
2021-01-11 16:48:43 +13:00
committed by GitHub
parent 6dcf86b0e6
commit ba70b2f780
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ mat = ncnn.Mat(mat_np)
# Model Zoo
install requirements
```bash
pip install -U requirements.txt
pip install -r requirements.txt
```
then you can import ncnn.model_zoo and get model list as follow:
```bash
@@ -83,4 +83,4 @@ all model in model zoo has example in ncnn/python/examples folder
# Custom Layer
custom layer demo is in ncnn/python/ncnn/model_zoo/yolov5.py:23
custom layer demo is in ncnn/python/ncnn/model_zoo/yolov5.py:23
+1 -1
View File
@@ -64,7 +64,7 @@ _model_sha1 = {
]
}
github_repo_url = "https://github.com/caishanli/pyncnn-assets/raw/master/models/"
github_repo_url = "https://github.com/nihui/ncnn-assets/raw/master/models/"
_url_format = "{repo_url}{file_name}"