Browse Source

update DirectoryorCreate to DirectoryOrCreate

Signed-off-by: hey-kong <iggiewang@gmail.com>
tags/v0.5.0
hey-kong 3 years ago
parent
commit
5a39c7ed1b
4 changed files with 6 additions and 6 deletions
  1. +2
    -2
      examples/incremental_learning/helmet_detection/README.md
  2. +2
    -2
      examples/incremental_learning/helmet_detection/helmet_detection.yaml
  3. +1
    -1
      examples/storage/s3/joint_inference/README.md
  4. +1
    -1
      pkg/localcontroller/managers/dataset/dataset.go

+ 2
- 2
examples/incremental_learning/helmet_detection/README.md View File

@@ -215,11 +215,11 @@ spec:
- name: localvideo - name: localvideo
hostPath: hostPath:
path: /incremental_learning/video/ path: /incremental_learning/video/
type: DirectoryorCreate
type: DirectoryOrCreate
- name: hedir - name: hedir
hostPath: hostPath:
path: /incremental_learning/he/ path: /incremental_learning/he/
type: DirectoryorCreate
type: DirectoryOrCreate
outputDir: "/output" outputDir: "/output"
EOF EOF
``` ```


+ 2
- 2
examples/incremental_learning/helmet_detection/helmet_detection.yaml View File

@@ -97,9 +97,9 @@ spec:
- name: localvideo - name: localvideo
hostPath: hostPath:
path: /incremental_learning/video/ path: /incremental_learning/video/
type: DirectoryorCreate
type: DirectoryOrCreate
- name: hedir - name: hedir
hostPath: hostPath:
path: /incremental_learning/he/ path: /incremental_learning/he/
type: DirectoryorCreate
type: DirectoryOrCreate
outputDir: "/output" outputDir: "/output"

+ 1
- 1
examples/storage/s3/joint_inference/README.md View File

@@ -124,7 +124,7 @@ spec:
hostPath: hostPath:
# user must create the directory in host # user must create the directory in host
path: /joint_inference/output path: /joint_inference/output
type: DirectoryorCreate
type: DirectoryOrCreate
cloudWorker: cloudWorker:
model: model:


+ 1
- 1
pkg/localcontroller/managers/dataset/dataset.go View File

@@ -45,7 +45,7 @@ const (
// CSVFormat is commas separated value format with a extra header. // CSVFormat is commas separated value format with a extra header.
// It can be used in structured data scenarios. // It can be used in structured data scenarios.
CSVFormat = "csv" CSVFormat = "csv"
// FormatTXT is line separated format.
// TXTFormat is line separated format.
// It can be used in unstructured data scenarios. // It can be used in unstructured data scenarios.
TXTFormat = "txt" TXTFormat = "txt"
) )


Loading…
Cancel
Save