Skip to content

Commit

Permalink
Fix(docs): fix ormb save command in docs (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
FogDong authored Jan 26, 2021
1 parent d35e13c commit f759e68
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ examples/SavedModel-fashion
Next, we can push the trained model from local to remote image registry.

```bash
# Save the model in local cache first
$ ormb save gaocegege/fashion_model:v1
# Save the model from model directory in local cache first
$ ormb save <model directory> gaocegege/fashion_model:v1
ref: gaocegege/fashion_model:v1
digest: 6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size: 162.1 KiB
Expand Down
4 changes: 2 additions & 2 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ examples/SavedModel-fashion
接下来,我们可以将在本地训练好的模型推送到远端镜像仓库中:

```bash
# 将模型保存在本地文件系统的缓存中
$ ormb save gaocegege/fashion_model:v1
# 将模型目录中的文件保存在本地文件系统的缓存中
$ ormb save <model directory> gaocegege/fashion_model:v1
ref: gaocegege/fashion_model:v1
digest: 6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size: 162.1 KiB
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Login succeeded

### ormb save

`ormb save` will store the model files in the current directory into the local cache and simultaneously parses `ormbfile.yaml` to get the model metadata. The model will be converted to the following format:
`ormb save` will store the model files in the model directory into the local cache and simultaneously parses `ormbfile.yaml` to get the model metadata. The model will be converted to the following format:

```go
type Model struct {
Expand Down Expand Up @@ -62,7 +62,7 @@ type CacheRefSummary struct {
Command format:

```bash
ormb save projectName/modelName:modelVersion
ormb save <model directory> projectName/modelName:modelVersion
```

### ormb tag
Expand Down
2 changes: 1 addition & 1 deletion docs/docs_zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type CacheRefSummary struct {
命令格式:

```bash
ormb save projectName/modelName:modelVersion
ormb save <model directory> projectName/modelName:modelVersion
```

### ormb tag
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Next, we can push the trained model from local to remote image registry.

```bash
# Save the model in local cache first
$ ormb save gaocegege/fashion_model:v1
$ ormb save ./model gaocegege/fashion_model:v1
ref: gaocegege/fashion_model:v1
digest: 6b08cd25d01f71a09c1eb852b3a696ee2806abc749628de28a71b507f9eab996
size: 162.1 KiB
Expand Down

0 comments on commit f759e68

Please sign in to comment.