Created
December 9, 2017 13:42
-
-
Save lilacs2039/3629a9323adb25d019b69749a08973a9 to your computer and use it in GitHub Desktop.
WEBDNNのRESNET50チュートリアルをDocker環境で試す(WebAssemblyのみ) ref: https://qiita.com/lilacs/items/c6fc8c0178a9563c0e2a
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
git clone --depth 1 https://github.com/mil-tokyo/webdnn webdnn | |
cd webdnn | |
docker run --rm -v "$(pwd):/src" -it lilacs2039/debian_webasm_webdnn | |
# in container... | |
cd /src/example/resnet && python convert_resnet_keras.py --backend webassembly | |
# exit | |
docker run --rm -p 8080:80 -v "$(pwd):/usr/local/apache2/htdocs/" httpd |
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
git clone --depth 1 https://github.com/mil-tokyo/webdnn 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
cd webdnn | |
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
# in container... | |
cd /src/example/resnet && python convert_resnet_keras.py --backend webassembly | |
# exit |
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 -p 8080:80 -v "$(pwd):/usr/local/apache2/htdocs/" httpd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment