-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Questions about different versions of mmpose #795
Comments
Please also raise an issue in mmaction2. |
There are already similar problems above and have not been solved yet |
Could you please upload full error information to help us locate the problem? @Deep-learning999 |
TypeError Traceback (most recent call last) TypeError: object of type 'int' has no len() During handling of the above exception, another exception occurred: ZeroDivisionError Traceback (most recent call last) in vis_skeleton(vid_path, anno, category_name, ratio) mmpose/mmpose/apis/inference.py in vis_pose_result(model, img, result, radius, thickness, kpt_score_thr, bbox_color, dataset, show, out_file) /mmpose/mmpose/models/detectors/top_down.py in show_result(self, img, result, skeleton, kpt_score_thr, bbox_color, pose_kpt_color, pose_limb_color, text_color, radius, thickness, font_scale, bbox_thickness, win_name, show, show_keypoint_weight, wait_time, out_file) /mmpose/mmpose/core/visualization/image.py in imshow_bboxes(img, bboxes, labels, colors, text_color, thickness, font_scale, show, win_name, wait_time, out_file) <array_function internals> in split(*args, **kwargs) /usr/local/lib/python3.8/dist-packages/numpy/lib/shape_base.py in split(ary, indices_or_sections, axis) ZeroDivisionError: integer division or modulo by zero |
I want to install the latest version of mmpose and mmaction2 will have this problem |
We will try to fix that problem in mmaction2. |
Okay thank you |
…dels (open-mmlab#795) * first commit * fix bugs * add logging * add changelog * add writing to local file * fix sampeling strategy bug * update annotations, remove global variables * update docs * decouple display frame shape and model frame shape * fix known issue * fix display default shape and fix visualize tools * fix predict_stepsize bug * add cn docs * update * fix * update color plate docs * fix a bug when drawing * add alphaction visualization tool * add visualization tool docs * fix a few bugs * typo * remove alphaction visualization tool due to licence issue * typo Co-authored-by: Haodong Duan <[email protected]>
* [Feature] Add BaseInferencer (open-mmlab#773) * Update BaseInferencer * Fix ci * Fix CI and rename iferencer to infer * Fix CI * Add renamed file * Add test file * Adjust interface sequence * refine preprocess * Update unit test Update unit test * Update unit test * Fix unit test * Fix as comment * Minor refine * Fix docstring and support load image from different backend * Support load collate_fn from downstream repos, refine dispatch * Minor refine * Fix lint * refine grammar * Remove FileClient * Refine docstring * add rich * Add list_models * Add list_models * Remove backend args * Minor refine * Fix typos in docs and type hints (open-mmlab#787) * [Fix] Add _inputs_to_list (open-mmlab#795) * Add preprocess inputs * Add type hint * update api/infer in index.rst * rename preprocess_inputs to _inputs_to_list * Fix doc format * Update infer.py Co-authored-by: Zaida Zhou <[email protected]> * [Fix] Fix alias type (open-mmlab#801) * [Enhance] Support loading model config from checkpoint (open-mmlab#864) * first commit * [Enhance] Support build model from weight * minor refine * Fix type hint * refine comments * Update docstring * refine as comment * Add method * Refine docstring * Fix as comment * refine comments * Refine warning message * Fix unit test and refine comments * replace MODULE2PACKAGE to MODULE2PAKCAGE * Fix typo and syntax error in docstring Co-authored-by: Zaida Zhou <[email protected]> Co-authored-by: Tong Gao <[email protected]>
* [Feature] Add BaseInferencer (open-mmlab#773) * Update BaseInferencer * Fix ci * Fix CI and rename iferencer to infer * Fix CI * Add renamed file * Add test file * Adjust interface sequence * refine preprocess * Update unit test Update unit test * Update unit test * Fix unit test * Fix as comment * Minor refine * Fix docstring and support load image from different backend * Support load collate_fn from downstream repos, refine dispatch * Minor refine * Fix lint * refine grammar * Remove FileClient * Refine docstring * add rich * Add list_models * Add list_models * Remove backend args * Minor refine * Fix typos in docs and type hints (open-mmlab#787) * [Fix] Add _inputs_to_list (open-mmlab#795) * Add preprocess inputs * Add type hint * update api/infer in index.rst * rename preprocess_inputs to _inputs_to_list * Fix doc format * Update infer.py Co-authored-by: Zaida Zhou <[email protected]> * [Fix] Fix alias type (open-mmlab#801) * [Enhance] Support loading model config from checkpoint (open-mmlab#864) * first commit * [Enhance] Support build model from weight * minor refine * Fix type hint * refine comments * Update docstring * refine as comment * Add method * Refine docstring * Fix as comment * refine comments * Refine warning message * Fix unit test and refine comments * add infer.md * minor refine * minor refine * minor refine * Apply suggestions from code review Co-authored-by: Zaida Zhou <[email protected]> * Fix conflicts and minor refine * minor refine * Fix as comment Co-authored-by: Zaida Zhou <[email protected]> Co-authored-by: Tong Gao <[email protected]>
When I run a cell
Visualize Skeleton vis_frames = vis_skeleton(vid_path, anno, gym_categories[anno['label']]) vid = mpy.ImageSequenceClip(vis_frames, fps=24) vid.ipython_display()
in mmaction2/demo/visualize_heatmap_volume.ipynb, it raise an 'devided by zero' error, I can run it correctly before.
I check the traceback, and I remember I changed my mmpose version from 0.13.0 to 0.16.0 to use the latest posec3d demo.(Posec3d demo can't use with the version of mmpose under 0.16.0)
How to solve this problem
The text was updated successfully, but these errors were encountered: