Date: Fri, 10 Feb 2023 20:55:08 +0800
Subject: [PATCH 10/11] fix bug in demo_skeleton.py (#2214)
---
demo/demo_skeleton.py | 3 ---
mmaction/apis/inference.py | 3 ++-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/demo/demo_skeleton.py b/demo/demo_skeleton.py
index f2a4e09a65..57c84c90a3 100644
--- a/demo/demo_skeleton.py
+++ b/demo/demo_skeleton.py
@@ -170,9 +170,6 @@ def main():
config = mmengine.Config.fromfile(args.config)
config.merge_from_dict(args.cfg_options)
- if 'data_preprocessor' in config.model:
- config.model.data_preprocessor['mean'] = (w // 2, h // 2, .5)
- config.model.data_preprocessor['std'] = (w, h, 1.)
model = init_recognizer(config, args.checkpoint, args.device)
result = inference_recognizer(model, fake_anno)
diff --git a/mmaction/apis/inference.py b/mmaction/apis/inference.py
index e094a9d93a..ac014d0350 100644
--- a/mmaction/apis/inference.py
+++ b/mmaction/apis/inference.py
@@ -37,9 +37,10 @@ def init_recognizer(config: Union[str, Path, mmengine.Config],
raise TypeError('config must be a filename or Config object, '
f'but got {type(config)}')
- config.model.backbone.pretrained = None
init_default_scope(config.get('default_scope', 'mmaction'))
+ if config.model.backbone.get('pretrained', None):
+ config.model.backbone.pretrained = None
model = MODELS.build(config.model)
if checkpoint is not None:
From d24701c68d99068bb3e2a8995b3e0d27c89d2f7c Mon Sep 17 00:00:00 2001
From: cir7 <33249023+cir7@users.noreply.github.com>
Date: Fri, 10 Feb 2023 21:57:18 +0800
Subject: [PATCH 11/11] Bump version 1.0.0rc3 (#2211)
---
README.md | 14 +++++---------
docs/en/notes/changelog.md | 33 ++++++++++++++++++++++++++++++---
mmaction/version.py | 2 +-
3 files changed, 36 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index c9dc20b4f2..5e85da2fd5 100644
--- a/README.md
+++ b/README.md
@@ -70,15 +70,11 @@ The 1.x branch works with **PyTorch 1.6+**.
## What's New
-**Release**: v1.0.0rc2 with the following new features:
+**Release (2022.02.10)**: v1.0.0rc3 with the following new features:
-- We Support Omni-Sourece training on ImageNet and Kinetics datasets.
-- We support exporting spatial-temporal detection models to ONNX.
-- We support **STGCN++** on NTU-RGB+D.
-- We support **MViT V2** on Kinetics 400 and something-V2.
-- We refine our skeleton-based pipelines and support the joint training of multi-stream skeleton information, including **joint, bone, joint-motion, and bone-motion**.
-- We support **VideoMAE** on Kinetics400.
-- We support **C2D** on Kinetics400, achieve 73.57% Top-1 accuracy (higher than 71.8% in the [paper](https://arxiv.org/abs/1711.07971)).
+- Support Action Recognition model UniFormer V1(ICLR'2022), UniFormer V2(Arxiv'2022).
+- Support training MViT V2(CVPR'2022), and MaskFeat(CVPR'2022) fine-tuning.
+- Add a new handy interface for inference MMAction2 models ([demo](https://github.com/open-mmlab/mmaction2/blob/dev-1.x/demo/README.md#inferencer))
## Installation
@@ -209,7 +205,7 @@ If you have any feature requests, please feel free to leave a comment in [Issues
UCF101-24* (Homepage) (CRCV-IR-12-01) |
JHMDB* (Homepage) (ICCV'2015) |
AVA (Homepage) (CVPR'2018) |
- |
+ AVA-Kinetics (Homepage) (Arxiv'2020) |
Skeleton-based Action Recognition |
diff --git a/docs/en/notes/changelog.md b/docs/en/notes/changelog.md
index b0e16351eb..bbf5b9ffbc 100644
--- a/docs/en/notes/changelog.md
+++ b/docs/en/notes/changelog.md
@@ -1,10 +1,37 @@
# Changelog
+## 1.0.0rc3 (2/10/2023)
+
+**Highlights**
+
+- Support Action Recognition model UniFormer V1(ICLR'2022), UniFormer V2(Arxiv'2022).
+- Support training MViT V2(CVPR'2022), and MaskFeat(CVPR'2022) fine-tuning.
+
+**New Features**
+
+- Support UniFormer V1/V2 ([#2153](https://github.com/open-mmlab/mmaction2/pull/2153))
+- Support training MViT, and MaskFeat fine-tuning ([#2186](https://github.com/open-mmlab/mmaction2/pull/2186))
+- Support a unified inference interface: Inferencer ([#2164](https://github.com/open-mmlab/mmaction2/pull/2164))
+
+**Improvements**
+
+- Support load data list from multi-backends ([#2176](https://github.com/open-mmlab/mmaction2/pull/2176))
+
+**Bug Fixes**
+
+- Upgrade isort to fix CI ([#2198](https://github.com/open-mmlab/mmaction2/pull/2198))
+- Fix bug in skeleton demo ([#2214](https://github.com/open-mmlab/mmaction2/pull/2214))
+
+**Documentation**
+
+- Add Chinese documentation for config.md ([#2188](https://github.com/open-mmlab/mmaction2/pull/2188))
+- Add readme for Omnisource ([#2205](https://github.com/open-mmlab/mmaction2/pull/2205))
+
## 1.0.0rc2 (1/10/2023)
**Highlights**
-- Support Action Recognition model VideoMAE(NeurIPS'2022), MVit V2(CVPR'2022), C2D and skeleton-based action recognition model STGCN++
+- Support Action Recognition model VideoMAE(NeurIPS'2022), MViT V2(CVPR'2022), C2D and skeleton-based action recognition model STGCN++
- Support Omni-Source training on ImageNet and Kinetics datasets
- Support exporting spatial-temporal detection models to ONNX
@@ -12,7 +39,7 @@
- Support VideoMAE ([#1942](https://github.com/open-mmlab/mmaction2/pull/1942))
- Support MViT V2 ([#2007](https://github.com/open-mmlab/mmaction2/pull/2007))
-- Supoort C2D ([#2022](https://github.com/open-mmlab/mmaction2/pull/2022))
+- Support C2D ([#2022](https://github.com/open-mmlab/mmaction2/pull/2022))
- Support AVA-Kinetics dataset ([#2080](https://github.com/open-mmlab/mmaction2/pull/2080))
- Support STGCN++ ([#2156](https://github.com/open-mmlab/mmaction2/pull/2156))
- Support exporting spatial-temporal detection models to ONNX ([#2148](https://github.com/open-mmlab/mmaction2/pull/2148))
@@ -61,7 +88,7 @@
- Refine some docs ([#2038](https://github.com/open-mmlab/mmaction2/pull/2038)), ([#2040](https://github.com/open-mmlab/mmaction2/pull/2040)), ([#2058](https://github.com/open-mmlab/mmaction2/pull/2058))
- Update TSN/TSM Readme ([#2082](https://github.com/open-mmlab/mmaction2/pull/2082))
- Add chinese document ([#2083](https://github.com/open-mmlab/mmaction2/pull/2083))
-- Adjust docment structure ([#2088](https://github.com/open-mmlab/mmaction2/pull/2088))
+- Adjust document structure ([#2088](https://github.com/open-mmlab/mmaction2/pull/2088))
- Fix Sth-Sth and Jester dataset links ([#2103](https://github.com/open-mmlab/mmaction2/pull/2103))
- Fix doc link ([#2131](https://github.com/open-mmlab/mmaction2/pull/2131))
diff --git a/mmaction/version.py b/mmaction/version.py
index be3f0959a7..5a0a756926 100644
--- a/mmaction/version.py
+++ b/mmaction/version.py
@@ -1,6 +1,6 @@
# Copyright (c) Open-MMLab. All rights reserved.
-__version__ = '1.0.0rc2'
+__version__ = '1.0.0rc3'
def parse_version_info(version_str: str):