Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 7th No.22】NO.22 在 paddle.audio.functional.get_window 中支持 bartlett 、 kaiser 和 nuttall 窗函数 -part #68268

Merged
merged 5 commits into from
Oct 11, 2024

Conversation

Micalling
Copy link
Contributor

PR Category

Inference

PR Types

Others

Description

【Hackathon 7th No.22】NO.22 在 paddle.audio.functional.get_window 中支持 bartlett 、 kaiser 和 nuttall 窗函数

Copy link

paddle-bot bot commented Sep 17, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Micalling
Copy link
Contributor Author

请问这个是需要验证什么吗?那个cla是签署了的。
image
@luotao1

@Micalling
Copy link
Contributor Author

#68270
这个也是

@CLAassistant
Copy link

CLAassistant commented Sep 18, 2024

CLA assistant check
All committers have signed the CLA.

@Micalling
Copy link
Contributor Author

Micalling commented Sep 21, 2024

image
image
image
您好,CI-Coverage在我写好单测之后似乎并没有执行,是需要我修改哪里吗?
@luotao1 @jeff41404

"triang",
"bohman",
],
[True, False],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外也请review一下这个#68268 我觉得ci似乎有问题,我在 test/legacy_test/test_audio_functions.py 中的修改并没有执行,导致我一开始的单侧覆盖率一直过不去,后来我新加一个文件后,他却提示数据对不上,但我在本身的window电脑、aistudio的linux环境以及我朋友的mac电脑里面都是可以的,另外您也是可以看到,代码使用的都是paddle已经实现的api

我看这里的修改和原来的一样呀。

image 目前单侧没有过。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

另外也请review一下这个#68268 我觉得ci似乎有问题,我在 test/legacy_test/test_audio_functions.py 中的修改并没有执行,导致我一开始的单侧覆盖率一直过不去,后来我新加一个文件后,他却提示数据对不上,但我在本身的window电脑、aistudio的linux环境以及我朋友的mac电脑里面都是可以的,另外您也是可以看到,代码使用的都是paddle已经实现的api

我看这里的修改和原来的一样呀。

image 目前单侧没有过。

image
你看,这个是 #68430 的覆盖率,他显示代码并没有被执行,然后单侧我是在我朋友还有我自己电脑、aistudio那里试过了的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已经可以了,请review @jeff41404

Copy link

paddle-ci-bot bot commented Oct 4, 2024

Sorry to inform you that 761b5cf's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@@ -31,6 +31,8 @@
'hamming',
'hann',
'kaiser',
'bartlett',
'nuttall',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because of adding types of window functions, we should synchronously expand the introduction documents of window member in Spectrogram, MelSpectrogram, LogMelSpectrogram, and MFCC classes below in this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的好的



class TestAudioFuncitons(unittest.TestCase):
def test_bartlett_nuttall_kaiser_window(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's better to add other 11 unit tests of window function besides these three?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请稍等,我现在就加上去

@Micalling
Copy link
Contributor Author

I am add the tests to the files. Please review @jeff41404

@luotao1 luotao1 added the API label Oct 11, 2024
Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1 luotao1 changed the title 【Hackathon 7th No.22】NO.22 在 paddle.audio.functional.get_window 中支持 bartlett 、 kaiser 和 nuttall 窗函数 【Hackathon 7th No.22】NO.22 在 paddle.audio.functional.get_window 中支持 bartlett 、 kaiser 和 nuttall 窗函数 -part Oct 11, 2024
@luotao1 luotao1 merged commit 06f57c9 into PaddlePaddle:develop Oct 11, 2024
26 of 27 checks passed
@luotao1
Copy link
Contributor

luotao1 commented Oct 11, 2024

hi, @Micalling

  • 非常感谢你对飞桨的贡献,我们正在运营一个PFCC组织,会通过定期分享技术知识与发布开发者主导任务的形式持续为飞桨做贡献,详情可见 https://github.com/luotao1 主页说明。
  • 如果你对PFCC有兴趣,请发送邮件至 ext_paddle_oss@baidu.com,我们会邀请你加入~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants