https://yomo.run/docs#install-cli
yomo serve -c config.yaml
# download the ONNX model
curl -O https://media.githubusercontent.com/media/onnx/models/main/vision/classification/mobilenet/model/mobilenetv2-7.onnx
# compile the serverless function to WebAssembly file
rustup target add wasm32-wasi
cargo build --release --target wasm32-wasi --manifest-path=mobilenet_onnx/Cargo.toml
# run the serverless function
yomo run mobilenet_onnx/target/wasm32-wasi/release/sfn.wasm
# build
go build -o cli ./cmd
# choose a picture for prediction
./cli sample.png