From 373109c8d01af44ea5459b3f837c66078c4c7472 Mon Sep 17 00:00:00 2001 From: Mddct Date: Tue, 28 Nov 2023 18:20:25 +0800 Subject: [PATCH] [paraformer]fix embed after wenet map class (#2177) --- wenet/utils/class_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wenet/utils/class_utils.py b/wenet/utils/class_utils.py index 3bda4db20..547117e9b 100644 --- a/wenet/utils/class_utils.py +++ b/wenet/utils/class_utils.py @@ -49,6 +49,7 @@ } WENET_EMB_CLASSES = { + "embed": PositionalEncoding, "abs_pos": PositionalEncoding, "rel_pos": RelPositionalEncoding, "no_pos": NoPositionalEncoding,