Skip to content

Commit

Permalink
[Fix] Fix ret val and metrics (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuheilocale authored May 8, 2023
1 parent b25a08f commit 8c737b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/MMPose_Tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@
" data_list.append(data_info)\n",
" ann_id = ann_id + 1\n",
"\n",
" return data_list\n"
" return data_list, None\n"
]
},
{
Expand Down Expand Up @@ -1488,7 +1488,7 @@
"cfg.val_evaluator = dict(type='PCKAccuracy')\n",
"cfg.test_evaluator = cfg.val_evaluator\n",
"\n",
"cfg.default_hooks.checkpoint.save_best = 'pck/PCK@0.05'\n",
"cfg.default_hooks.checkpoint.save_best = 'PCK'\n",
"cfg.default_hooks.checkpoint.max_keep_ckpts = 1\n",
"\n",
"print(cfg.pretty_text)\n"
Expand Down

0 comments on commit 8c737b1

Please sign in to comment.