Skip to content

Commit 1418bc8

Browse files
authored
Update ml model files (#3618)
1 parent 091fa96 commit 1418bc8

File tree

3 files changed

+3
-85
lines changed

3 files changed

+3
-85
lines changed

Diff for: docs/services/ml/deploy/_index.md

-78
This file was deleted.

Diff for: docs/services/ml/tflite_cpu.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ It is supported on any CPU and Linux, Raspbian, MacOS and Android machines.
2020
To work with the `tflite_cpu` ML model service, an ML model is comprised of a <file>.tflite</file> model file which defines the model, and optionally a <file>.txt</file> labels file which provides the text labels for your model.
2121
With the `tflite_cpu` ML model service, you can deploy:
2222

23-
- [a model from the registry](https://app.viam.com/registry)
23+
- a [model from the registry](https://app.viam.com/registry)
2424
- a [model](/registry/ml-models/) trained outside the Viam platform that you have uploaded
2525
- a model available on your machine
2626

Diff for: layouts/_default/list.typesense.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,14 @@
157157
{{- end -}}
158158
{{- end -}}
159159
{{- if eq .Section "services" -}}
160-
{{ $services_with_resources := slice "Generic Service" "ML Model Service" "Computer Vision" }}
160+
{{ $services_with_resources := slice "Generic Service" "ML Model" "Computer Vision" }}
161161
{{- if and (in $services_with_resources .Parent.LinkTitle) (and (not .Draft) (not .Params.no_service)) -}}
162162
{{- if .Params.canonical -}}
163163
{{- $.Scratch.Set "permalink" (printf "%s" .Params.canonical) -}}
164164
{{- $.Scratch.Set "relpermalink" (printf "%s" .Params.canonical) -}}
165165
{{- else -}}
166166
{{- $.Scratch.Set "permalink" .Permalink -}}
167-
{{- if eq .Parent.LinkTitle "ML Model Service" -}}
168-
{{- $.Scratch.Set "relpermalink" (printf "../../..%s" .RelPermalink) -}}
169-
{{- else -}}
170-
{{- $.Scratch.Set "relpermalink" (printf "../..%s" .RelPermalink) -}}
171-
{{- end -}}
167+
{{- $.Scratch.Set "relpermalink" (printf "../..%s" .RelPermalink) -}}
172168
{{- end -}}
173169

174170
{{- $.Scratch.Set "id" (printf "builtin:rdk:service:%s:%s" (strings.Replace (strings.ToLower .Parent.LinkTitle) " " "_" ) (strings.ToLower .LinkTitle) ) -}}

0 commit comments

Comments
 (0)