KevinLTT / video2bvh

Extracts human motion in video and save it as bvh mocap file.
MIT License
580 stars 90 forks source link

NotImplementedError: cannot instantiate 'PosixPath' on your system #41

Open CyWang-Jade opened 3 years ago

CyWang-Jade commented 3 years ago

Hello, after installing openpose I am not able to solve how to removeNotImplementedError: cannot instantiate 'PosixPath' on your system? please help!

hollowdrutt commented 3 years ago

I had the same problem on Windows 11 and got around the problem by adding the following lines to pose_estimator_3d\model\factory.py

import pathlib
temp = pathlib.PosixPath
pathlib.PosixPath = pathlib.WindowsPath
CyWang-Jade commented 3 years ago

I had the same problem on Windows 11 and got around the problem by adding the following lines to pose_estimator_3d\model\factory.py

import pathlib
temp = pathlib.PosixPath
pathlib.PosixPath = pathlib.WindowsPath

thank you very much.

kjerk commented 2 years ago
import pathlib
temp = pathlib.PosixPath
pathlib.PosixPath = pathlib.WindowsPath

Hey you random internet person from months ago. Thank you ❤️

lavanyayangala commented 1 year ago

Thanks for raising the issue.. I faced the same now and got it solved...

mil-lu commented 1 year ago

that's very helpful!

abdulrhman-arrikh commented 1 year ago

can help me and tell at which lines did you add\replaced them

lavanyayangala commented 1 year ago

can help me and tell at which lines did you add\replaced them

`import pathlib

temp = pathlib.PosixPath

pathlib.PosixPath = pathlib.WindowsPath`

you can check with these lines @abdulrhman-arrikh

poincarelee commented 12 months ago

@hollowdrutt Hi, I am working on this project on windows 11. Can you kindly tell me what nvidia gpu can afford in this project? 6G rtx3060 is enough?