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.
- Place one PTH or ONNX model in shared folder.
- Run live CD, mount the shared folder inside it with
sudo mount /dev/hda1orsudo mount /dev/vda1, depending on IDE / VirtIO interface type; copy the model from shared folder (/mnt/hda1or/mnt/vda1) to/tmp. - In
/tmp, runpth2ncnn, thensudo cpconverted models (there should be ONNX + NCNN + MNN versions in/tmp) back to shared folder, you can use includedsudo mcfor that.
Archive size is 499 182 276 bytes.