Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

FrankmocapColabV2 - allow user to upload and download from google drive. with GUI #166

Open
CGMikeG opened this issue Nov 7, 2021 · 6 comments

Comments

@CGMikeG
Copy link

CGMikeG commented Nov 7, 2021

Hi All,

Please see below link to FrankmocapColabV2. Feel free to do with it as you want.

I've added a simple GUI to help users to upload and download directly from google drive.

https://colab.research.google.com/drive/15LTkHCC79VdyBAsmrJmuLBlyUa1jLo_P?usp=sharing

Hopefully, this will help people with old gpu or no gpu at all. :D

@penincillin
Copy link
Contributor

@CGMikeG
That's a great help! Thanks!

@UtsaChattopadhyay
Copy link

Hi all. Thanks for the colab implementation btw. It was a great help. So I have used it with multiple video inputs and some different arguments also, but it seems the final output video has some jitters in it. Same reflected in the pkl file as well when I made animation. Any idea how to get rid of the jitter or am I missing something? Thanks

@penincillin
Copy link
Contributor

@UtsaChattopadhyay
As FrankMocap is an image-based method, it is hard to avoid jitters. To resolve this issue, you can either average the predictions of adjacent frames or try video-based methods such as VIBE.

@KholoudAlwadia
Copy link

@CGMikeG it help me thank you but it's only run demo_bodymocap I want to run as demo_frankmocap do you know how I can run it? it give me this message as an error:

Loading Body Pose Estimator
Loading Third View Hand Detector
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/content/frankmocap/demo/demo_frankmocap.py", line 247, in
main()
File "/content/frankmocap/demo/demo_frankmocap.py", line 230, in main
hand_bbox_detector = HandBboxDetector('third_view', device)
File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 311, in init
self.model = Third_View_Detector()
File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 48, in init
self.__load_hand_detector()
File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 57, in __load_hand_detector
self.hand_detector = DefaultPredictor(cfg)
File "/usr/local/lib/python3.7/dist-packages/detectron2/engine/defaults.py", line 222, in init
checkpointer.load(cfg.MODEL.WEIGHTS)
File "/usr/local/lib/python3.7/dist-packages/fvcore/common/checkpoint.py", line 141, in load
assert os.path.isfile(path), "Checkpoint {} not found!".format(path)
AssertionError: Checkpoint extra_data/hand_module/hand_detector/model_0529999.pth not found!

@UtsaChattopadhyay
Copy link

@CGMikeG it help me thank you but it's only run demo_bodymocap I want to run as demo_frankmocap do you know how I can run it? it give me this message as an error:

Loading Body Pose Estimator Loading Third View Hand Detector Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/content/frankmocap/demo/demo_frankmocap.py", line 247, in main() File "/content/frankmocap/demo/demo_frankmocap.py", line 230, in main hand_bbox_detector = HandBboxDetector('third_view', device) File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 311, in init self.model = Third_View_Detector() File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 48, in init self.__load_hand_detector() File "/content/frankmocap/handmocap/hand_bbox_detector.py", line 57, in __load_hand_detector self.hand_detector = DefaultPredictor(cfg) File "/usr/local/lib/python3.7/dist-packages/detectron2/engine/defaults.py", line 222, in init checkpointer.load(cfg.MODEL.WEIGHTS) File "/usr/local/lib/python3.7/dist-packages/fvcore/common/checkpoint.py", line 141, in load assert os.path.isfile(path), "Checkpoint {} not found!".format(path) AssertionError: Checkpoint extra_data/hand_module/hand_detector/model_0529999.pth not found!

Hey @kholoud707 .. SO u can download it from these two links
'https://drive.google.com/uc?id=1H2tWsZkS7tDF8q1-jdjx6V9XrK25EDbE'
'https://drive.google.com/uc?id=1OqgexNM52uxsPG3i8GuodDOJAGFsYkPg'
and upload it to yr drive. larenatively use !gdown and download it in the specif folder to run it.
Hopefully this helps.

@shidaimingwang
Copy link

hi,i get some trouble OpenGL.error.NullFunctionError: Attempt to call an undefined function glutInit, check for bool(glutInit) before calling

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants