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

How to train? #13

Open
nickluo1 opened this issue Feb 16, 2022 · 3 comments
Open

How to train? #13

nickluo1 opened this issue Feb 16, 2022 · 3 comments

Comments

@nickluo1
Copy link

就用中文书写了,请问下仅用公开数据集怎么训练?需要修改哪些代码,谢谢
email [email protected]

@chenmingxiang110
Copy link
Owner

请问具体是遇到了哪些问题?

@chenmingxiang110
Copy link
Owner

我看一开始你是在和背景噪音相关的issue下回复的。如果你有一些能用于增广的噪音文件的话,可以参考 train901.py,修改31、33行中 data/background 为你自己的路径。如果没有噪音文件只是想训练一下看看效果的话,可以将train901.py中的AUGMENTATION改为False,去掉lib/tools_batch.py中和background相关的代码。

@nickluo1
Copy link
Author

nickluo1 commented Mar 1, 2022

老师,我没用youtube上的数据,我按照你的要求更改了相关代码之后,110行代码 if augmentation:-119行进行了注释,后续137行代码 xs = np.array(xs)格式不匹配报错,后续代码应该怎么修改

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

No branches or pull requests

2 participants