pupil_repo / convert_to_onnx.sh
g30rv17ys's picture
Add files using upload-large-folder tool
eec42bd verified
raw
history blame
173 Bytes
#/bin/bash
# prerequisite:
# pip install tf2onnx
RUNDIR="path/to/run/dir"
python -m tf2onnx.convert --saved-model $RUNDIR/best_savedmodel --output $RUNDIR/best_model.onnx