-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to run using webcam : python -m demo.demo_frankmocap --input_path webcam --renderer_type opengl_gui #18
Comments
We had problems like this in the past because of a problem installing git package. try this code then run the installation bat again, please. |
it say ERROR: detectron2-0.3-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform. |
well that is a big issue then.... The problem is. To install detectron was so difficult, that, to be able to make things easier for everyone, I compiled it in my machine, and shared this compiled package. Looks like yous system is not compatible with mine... so you would have to compile in your own machine. But I think what is the problem. It was you that installed python 3.8? If you have a different version of python, probably will be easier to install and run the installation via python 3.7, so you wont have to compile detectron on your own. And I cant explain how I did, because I dont remember 😅 Another thing. As far as I know, detectron is used only if you want to do pose estimation on the whole body or hands only. If you are good to run only the body, without pose estimationm from the hands, you could run the other command to pose estimate only the body. This only body solution would be this code (I took from frankmocap site)
|
Ok I will try with py 2.7 |
2.7 no.... try with 3.7 on miniconda you can create virtualenviroment setting it to be 3.7, probably vanila python can let you do the same. I guess, just dont know how. |
oh sorry |
3.7.10 is fine |
C:\Users\binod\AppData\Local\Programs\Python\Python37\python37.exe: can't find 'main' module in 'detectron2-0.3-cp37-cp37m-win_amd64.whl' |
I am getting this error |
It installed Thank You for your support. |
Command "c:\users\binod\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\binod\AppData\Local\Temp\pip-install-3g8ffzwy\pycocotools\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\binod\AppData\Local\Temp\pip-record-s8vc8le1\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\binod\AppData\Local\Temp\pip-install-3g8ffzwy\pycocotools |
This solved |
Only detectron2 is not able to install |
Take a look at this previous issue, maybe it can help you Because from what I saw, you are having problems with pycocotools |
It resolve but now when i run I am trying to run using webcam : python -m demo.demo_frankmocap --input_path webcam --renderer_type opengl_gui |
Oh sorry, I didnt try with webcam, so i'm not able to help. |
it says same for vid also |
Unfortunately I didnt have this type of issue, even for this problem you should get a better response at the original frankmocap github. |
Sir I just had to delete and make the env again but now it says detectron _C is missing |
Please send the full output when you run the installation, probably there are some errors over there. |
Traceback (most recent call last):
File "D:\MINICONDA\envs\frankmocap\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\MINICONDA\envs\frankmocap\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\binod\Downloads\FRANKMOCAP\MOCAP\demo\demo_frankmocap.py", line 23, in
from bodymocap.body_bbox_detector import BodyPoseEstimator
File "C:\Users\binod\Downloads\FRANKMOCAP\MOCAP\bodymocap\body_bbox_detector.py", line 18, in
from detectors.body_pose_estimator.pose2d_models.with_mobilenet import PoseEstimationWithMobileNet
ModuleNotFoundError: No module named 'detectors'
The text was updated successfully, but these errors were encountered: