From d931f3b9b6e4d9bb78a415126032b349eaacc6a6 Mon Sep 17 00:00:00 2001 From: shuheilocale Date: Sat, 6 May 2023 22:24:59 +0900 Subject: [PATCH] Fix ret val and metrics --- 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"