Skip to content

Commit

Permalink
Update ml model files (#3618)
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Oct 23, 2024
1 parent 091fa96 commit 1418bc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 85 deletions.
78 changes: 0 additions & 78 deletions docs/services/ml/deploy/_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/services/ml/tflite_cpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ It is supported on any CPU and Linux, Raspbian, MacOS and Android machines.
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.
With the `tflite_cpu` ML model service, you can deploy:

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

Expand Down
8 changes: 2 additions & 6 deletions layouts/_default/list.typesense.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,18 +157,14 @@
{{- end -}}
{{- end -}}
{{- if eq .Section "services" -}}
{{ $services_with_resources := slice "Generic Service" "ML Model Service" "Computer Vision" }}
{{ $services_with_resources := slice "Generic Service" "ML Model" "Computer Vision" }}
{{- if and (in $services_with_resources .Parent.LinkTitle) (and (not .Draft) (not .Params.no_service)) -}}
{{- if .Params.canonical -}}
{{- $.Scratch.Set "permalink" (printf "%s" .Params.canonical) -}}
{{- $.Scratch.Set "relpermalink" (printf "%s" .Params.canonical) -}}
{{- else -}}
{{- $.Scratch.Set "permalink" .Permalink -}}
{{- if eq .Parent.LinkTitle "ML Model Service" -}}
{{- $.Scratch.Set "relpermalink" (printf "../../..%s" .RelPermalink) -}}
{{- else -}}
{{- $.Scratch.Set "relpermalink" (printf "../..%s" .RelPermalink) -}}
{{- end -}}
{{- $.Scratch.Set "relpermalink" (printf "../..%s" .RelPermalink) -}}
{{- end -}}

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

0 comments on commit 1418bc8

Please sign in to comment.