From 8c737b1ccc9efbb025826ce2003cd6e6ffab2c51 Mon Sep 17 00:00:00 2001 From: shuhei yamamoto Date: Mon, 8 May 2023 11:05:57 +0900 Subject: [PATCH] [Fix] Fix ret val and metrics (#2340) --- demo/MMPose_Tutorial.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/MMPose_Tutorial.ipynb b/demo/MMPose_Tutorial.ipynb index 1fa381c3f8..b6d3b6aadb 100644 --- a/demo/MMPose_Tutorial.ipynb +++ b/demo/MMPose_Tutorial.ipynb @@ -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" ] }, { @@ -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"