SenseVoice icon indicating copy to clipboard operation
SenseVoice copied to clipboard

ban_emo_unk doesn't work

Open PMPBinZhang opened this issue 1 year ago • 2 comments

Notice: In order to resolve issues more efficiently, please raise issue following the template. (注意:为了更加高效率解决您遇到的问题,请按照模板提问,补充细节)

🐛 Bug

To Reproduce

Steps to reproduce the behavior (always include the command you ran):

  1. Run cmd '....'
  2. See error

Code sample

Expected behavior

Environment

  • OS (e.g., Linux):
  • FunASR Version (e.g., 1.0.0):
  • ModelScope Version (e.g., 1.11.0):
  • PyTorch Version (e.g., 2.0.0):
  • How you installed funasr (pip, source):
  • Python version:
  • GPU (e.g., V100M32)
  • CUDA/cuDNN version (e.g., cuda11.7):
  • Docker version (e.g., funasr-runtime-sdk-cpu-0.4.1)
  • Any other relevant information:

Additional context

PMPBinZhang avatar Aug 21 '24 08:08 PMPBinZhang

当使用 funasr 推理时,不想推理出情绪,但是ban_emo_unk参数不好用。

PMPBinZhang avatar Aug 21 '24 08:08 PMPBinZhang

ban_emo_unk是强制输出情感而不是禁用情感。情感识别没有增加计算量,手动删除情感标签即可

gaochangfeng avatar Aug 27 '24 07:08 gaochangfeng