PoseNet-CoreML icon indicating copy to clipboard operation
PoseNet-CoreML copied to clipboard

Implementation on windows

Open swatinair123 opened this issue 6 years ago • 2 comments

Hi , How can i convert this code to make it work on windows?

swatinair123 avatar Nov 28 '18 09:11 swatinair123

Hi. Running CoreML on Windows is a difficult story. In the case of Unity, it can run on Windows. Have a look at this. https://github.com/infocom-tpo/PoseNet-Unity

mbotsu avatar Nov 29 '18 01:11 mbotsu

Thanks to the conversion code in this repository, I started on a path that ended up in a Python Tensorflow and PyTorch port of TFJS PoseNet. They both work on Windows with a recent version of Anaconda (tested with 64-bit Anaconda 2018.12 Python 3.7 installer).

https://github.com/rwightman/posenet-python https://github.com/rwightman/posenet-pytorch

Raw throughput of the neural net + post processing is around 100fps for the Tensorflow version on Windows with a 1080 Ti and modest 4 core CPU. PyTorch version is really slow in Windows for some reason (~65fps), but faster than Tensorflow (130+ fps) in Linux.

The webcam demo with skeleton and keypoints overlay keeps up with a 30fps webcam on either Windows or Linux.

rwightman avatar Jan 20 '19 02:01 rwightman