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

vocab.py bulid_vocab(....,threshold=300)? #10

Open
KevinLight831 opened this issue Apr 1, 2021 · 2 comments
Open

vocab.py bulid_vocab(....,threshold=300)? #10

KevinLight831 opened this issue Apr 1, 2021 · 2 comments

Comments

@KevinLight831
Copy link

DSRAN/vocab.py

Line 121 in 630d9dc

vocab = build_vocab(data_path, data_name, jsons=annotations, threshold=300)

为什么这里是300,之前的大多设为4,occurrence高于300的词很少吧

@KevinLight831
Copy link
Author

是不是因为vocab.py只用vocabulary对象初始化读取的文件,build_vocab函数没用,也就是说vocab.py只有vocabulary类有用到

@kywen1119
Copy link
Owner

这个我没有用到,直接使用的VSE++的vocab文件

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