-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADD vit #84
Comments
作業ブランチ: |
下記のPRを作成済み。 |
変換に使用した ViT TensorFlow 実装下記のリポジトリをgit clone READMEに書かれている requirements.txt を使用したインストールは失敗するので、動作するバージョンのパッケージを指定してインストールする。
TensorFlow Liteに変換するため tf.Erf が含まれないように、gelu を approximate=True にする。
vit_architectures.yaml は 224x224 に変更。
|
tf_flowers の学習元実装のImageNet学習済みウェイトはURLが404で失われている。
|
tflite変換保存した Checkpoint を使用した tflite 変換は下記のように実行可能。
|
int8 量子化 tflite 変換学習に使用している tf_flowers から100イメージを代表データセットとして量子化を実行。
|
下記のvitをtfliteに変換する。
https://github.com/taki0112/vit-tensorflow
The text was updated successfully, but these errors were encountered: