We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63a400c commit c8d9f06Copy full SHA for c8d9f06
docs/tutorials/tflite.md
@@ -11,7 +11,7 @@
11
## Conversion
12
13
```bash
14
-python3 examples/train.py \
+python3 examples/tflite.py \
15
--config-path=/path/to/config.yml.j2 \
16
--h5=/path/to/weight.h5 \
17
--bs=1 \ # Batch size
examples/inferences/main.py
@@ -55,11 +55,8 @@ def main(
55
previous_decoder_states=model.get_initial_decoder_states(),
56
)
57
58
- print(outputs.tokens)
59
transcript = tokenizer.detokenize(outputs.tokens)[0].numpy().decode("utf-8")
60
-
61
logger.info(f"Transcript: {transcript}")
62
- return transcript
63
64
65
if __name__ == "__main__":
0 commit comments