-
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
webcam_demo.py #1812
Comments
Hi, thanks for using MMPose. It seems like a problem with the format of dataset metainfo. Could you please provide the information about the configs (webcam & pose estimator)? They will help us find out where the problem lies. |
yeah this is my config: runtimetrain_cfg = dict(max_epochs=300, val_interval=50) optimizeroptim_wrapper = dict(optimizer=dict( #resume = True #load_from = None log_config = dict( learning policyparam_scheduler = [ automatically scaling LR based on the actual training batch sizeauto_scale_lr = dict(base_batch_size=512) hooksdefault_hooks = dict(checkpoint=dict(save_best='coco/AP', rule='greater')) codec settingscodec = dict( model settingsmodel = dict( base dataset settingsdataset_type = 'CocoDataset' pipelinestrain_pipeline = [ data loaderstrain_dataloader = dict( evaluatorsval_evaluator = dict( |
and this is the cam_cfg: Copyright (c) OpenMMLab. All rights reserved.executor_cfg = dict( |
This bug is caused by the distinct format of metainfo in MMPose and MMDetection. Thank you very much for pointing it out. You can modify your code as in #1813 to fix this bug. |
I used my trained model to run the camera demo. When no one was detected, everything was normal. When someone was detected, the error was as follows
I tried to print the texts:
The text was updated successfully, but these errors were encountered: