How to customize keypoint information to model train? #2489
-
Hello, recently I find that mmpose was updated. I started mmpose for project at 2022.11.08. hrnet_w32_coco_256x192_dark.pyold version : mmpose/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hrnet_w32_coco_256x192_dark.pybase = [ optimizer = dict( learning policylr_config = dict( model settingsmodel = dict( data_cfg = dict( train_pipeline = [ val_pipeline = [ test_pipeline = val_pipeline data_root = 'data/coco' Like this it was But now model's names are changed and contents are also changed. td-hm_hrnet-w32_8xb64-210e_coco-256x192.pypath : /mmpose/configs/body_2d_keypoint/topdown_heatmap/coco/td-hm_hrnet-w32_8xb64-210e_coco-256x192.pybase = ['../../../base/default_runtime.py'] runtimetrain_cfg = dict(max_epochs=210, val_interval=10) optimizeroptim_wrapper = dict(optimizer=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( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thanks for using MMPose. In the new version, if you want to use a custom dataset metainfo file, you can specify it in the config by following the instructions in the use-a-custom-dataset section. Also, remember to modify the |
Beta Was this translation helpful? Give feedback.
Hi, thanks for using MMPose. In the new version, if you want to use a custom dataset metainfo file, you can specify it in the config by following the instructions in the use-a-custom-dataset section. Also, remember to modify the
out_channels
of the model head.