Skip to content

vleue/bevmnist

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bevmnist

Running MNIST inference in bevy with tract. And in wasm!

demo

Demo

Demo is available: https://vleue.itch.io/bevmnist-poc

Build and test wasm

Optional Setup

To install the required target, WASM utils, and HTTP server:

rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli https

Build

cp -r assets wasm/
cargo build --release --target wasm32-unknown-unknown --no-default-features
wasm-bindgen --no-typescript --out-name bevmnist --out-dir wasm --target web ${CARGO_TARGET_DIR:-target}/wasm32-unknown-unknown/release/bevmnist.wasm

and then serve with your favorite http server the wasm folder (eg. cd wasm; http)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published