I'm an activationist.
To be or not to be, that is the question
['AY1', 'M', ' ', 'AE1', 'N', ' ', 'AE2', 'K', 'T', 'IH0', 'V', 'EY1', 'SH', 'AH0', 'N', 'IH0', 'S', 'T', ' ', '.']
['T', 'UW1', ' ', 'B', 'IY1', ' ', 'AO1', 'R', ' ', 'N', 'AA1', 'T', ' ', 'T', 'UW1', ' ', 'B', 'IY1', ' ', ',', ' ', 'DH', 'AE1', 'T', ' ', 'IH1', 'Z', ' ', 'DH', 'AH0', ' ', 'K', 'W', 'EH1', 'S', 'CH', 'AH0', 'N']
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample image,
$ python3 g2p_en.py
If you want to specify the input text, put the image path after the --input
option.
$ python3 g2p_en.py --input text
Pytorch
ONNX opset=17