Skip to content

Commit

Permalink
fixed class_names
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Mar 22, 2023
1 parent fcec4a4 commit 44d9f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/object_detection.livemd
Expand Up @@ -58,7 +58,8 @@ alias TFLiteElixir.TFLiteTensor

```elixir
model_buffer = File.read!(data_files.model)
TFLite.FlatBufferModel.get_associated_file(model_buffer, "labelmap.txt")
class_names =
TFLite.FlatBufferModel.get_associated_file(model_buffer, "labelmap.txt")
|> String.split("\n")
```

Expand Down

0 comments on commit 44d9f78

Please sign in to comment.