Skip to content

Releases: vmobilis/PyTorch2NCNN

Portable live CD

02 Sep 16:50
5561f70

Choose a tag to compare

Usable in 64-bit Intel virtual machine with writable shared folder and 3...3.5 Gb of RAM.
QEMU should work (does for me).
Maybe will work on hardware directly, but I didn't test such case.
Based on www.tinycorelinux.net CD.

  1. Place one PTH or ONNX model in shared folder.
  2. Run live CD, mount the shared folder inside it with sudo mount /dev/hda1 or sudo mount /dev/vda1, depending on IDE / VirtIO interface type; copy the model from shared folder (/mnt/hda1 or /mnt/vda1) to /tmp.
  3. In /tmp, run pth2ncnn, then sudo cp converted models (there should be ONNX + NCNN + MNN versions in /tmp) back to shared folder, you can use included sudo mc for that.

Archive size is 499 182 276 bytes.