@satos---jp
Before starting, please dowonload a font file by the following command.
wget https://github.com/googlefonts/Inconsolata/blob/e0c6cfb8df929029c123fa01d036a81b3146d0e7/fonts/ttf/Inconsolata-Regular.ttf?raw=true -O Inconsolata-Regular.ttf
Then, run python3 problem.py
and have fun!
$ sha1sum problem.onnx Inconsolata-Regular.ttf
2e35ddcf9b09fc2fc7a032d453340802eb69c440 problem.onnx
b29224e69806e6ffe412082795ac0fc8cc312951 Inconsolata-Regular.ttf
まずフォントを以下のコマンドでダウンロードしてきてください.
wget https://github.com/googlefonts/Inconsolata/blob/e0c6cfb8df929029c123fa01d036a81b3146d0e7/fonts/ttf/Inconsolata-Regular.ttf?raw=true -O Inconsolata-Regular.ttf
あとは python3 problem.py
を動かしてみれば分かるかと.
$ sha1sum problem.onnx Inconsolata-Regular.ttf
2e35ddcf9b09fc2fc7a032d453340802eb69c440 problem.onnx
b29224e69806e6ffe412082795ac0fc8cc312951 Inconsolata-Regular.ttf
med-hard