Last active
December 9, 2017 13:45
-
-
Save lilacs2039/ca3da6c69ce932bd80eaa733a844270a to your computer and use it in GitHub Desktop.
WEBDNNのWebAssemblyコンパイル環境をDockerで用意 ref: https://qiita.com/lilacs/items/90c08538283918902d69
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (事前にカレントディレクトリを変換したいモデルのあるディレクトリへ移動すること) | |
docker run --rm -v "$(pwd):/src" -it lilacs2039/debian_webasm_webdnn | |
python /webdnn/bin/convert_keras.py resnet50.h5 --input_shape '(1,224,224,3)' --out output --backend webassembly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -v c:/Users:/data alpine ls /data | |
#成功例 | |
Administrator | |
All Users | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /path/to/model |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -v "$(pwd):/src" -it lilacs2039/debian_webasm_webdnn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python /webdnn/bin/convert_keras.py resnet50.h5 --input_shape '(1,224,224,3)' --out output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment