Page 1 of 1

Local Reprocessing using hrnet

Posted: Wed Dec 13, 2023 11:09 pm
by jeevin03
Hello,

I am trying to locally reprocess some of my trials using hrnet to see if there are any differences in the results. But after instally pytorch, mmcv, mmengine and mmdet I still get an error.

Code: Select all

Traceback (most recent call last):
  File "c:\Users\jeevi\Desktop\opencap-core-main\main.py", line 296, in main
    videoExtension = runPoseDetector(
  File "c:\Users\jeevi\Desktop\opencap-core-main\utilsDetector.py", line 50, in runPoseDetector
    runMMposeVideo(
  File "c:\Users\jeevi\Desktop\opencap-core-main\utilsDetector.py", line 328, in runMMposeVideo
    from utilsMMpose import detection_inference, pose_inference
  File "c:\Users\jeevi\Desktop\opencap-core-main\utilsMMpose.py", line 14, in <module>
    from mmpose_inference import init_pose_model, init_test_pipeline, run_pose_inference, run_pose_tracking
  File "c:\Users\jeevi\Desktop\opencap-core-main\mmpose\mmpose_inference.py", line 6, in <module>
    from mmcv.runner import load_checkpoint
ModuleNotFoundError: No module named 'mmcv.runner'
How can I go about solving this?

Re: Local Reprocessing using hrnet

Posted: Fri Dec 15, 2023 10:53 am
by suhlrich
Hi - there currently is not a clean way to reprocess data locally with HRNet. You can try with the high resolution openpose settings.

Re: Local Reprocessing using hrnet

Posted: Thu Dec 21, 2023 10:08 am
by jeevin03
Hello scott,

Thank you for the information. I will reprocess in openpose if needed.

Also is there a way for me to reprocess the data using a different model? I would like to reprocess my data using the shoulder model and not the original model. Should I use the changeSessionMetadata.py script to change the metadata to the LaiUhlrich2022_shoulder model and then use the reproecssSessions.py script to reprocess and get the results?

I tried doing this with one of my subjects and somehow the neutral pose disappeared and the dynamic trial failed :shock: . Could you help me check on this as I do not know how to recover the neutral trial. The session ID is :
03a7083d-cf62-4e17-b4a6-a11f94bd8b6b

Your help is much appreciated.

Regards,
Jeevin

Re: Local Reprocessing using hrnet

Posted: Fri Dec 22, 2023 1:05 am
by jeevin03
I have found that following the steps of changing the metadata and reprocessing does indeed work at changing the model used. Its just that one trial that has a missing neutral pose that I need help with.

Re: Local Reprocessing using hrnet

Posted: Mon Jan 01, 2024 11:46 pm
by antoinefalisse
Hey, I reprocessed your session. Take a look and let us know.

Best,
Antoine