Skip to content

Instantly share code, notes, and snippets.

@lilacs2039
Created December 9, 2017 13:42
Show Gist options
  • Save lilacs2039/3629a9323adb25d019b69749a08973a9 to your computer and use it in GitHub Desktop.
Save lilacs2039/3629a9323adb25d019b69749a08973a9 to your computer and use it in GitHub Desktop.
WEBDNNのRESNET50チュートリアルをDocker環境で試す(WebAssemblyのみ) ref: https://qiita.com/lilacs/items/c6fc8c0178a9563c0e2a
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment