This image is available on DockerHub.
Tensorflow to use uncomment corresponding lines in Dockerfile
.
Converter
docker run --volume=$(pwd):/workspace --rm -it gordinmitya/tnn-convert:latest python3 ./converter.py onnx2tnn /workspace/model.onnx -optimize -v=v1.0 -o /workspace/tnn/fp32
Show help:
docker run --rm -it gordinmitya/tnn-convert:latest python3 ./converter.py onnx2tnn --help