-
Notifications
You must be signed in to change notification settings - Fork 131
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
请问一下文中设置的batch size和chunk size的区别 #74
Comments
是不是会遇上这样的错误:
|
请问解决了?我也遇到一样的问题 |
# train.py
import platform
# ...
def init_parallel_jobs(dbs, queue, fn):
if platform.system().lower() == 'windows':
tasks = [Process(target=prefetch_data, args=(db, queue, fn, system_configs._configs)) for db in dbs]
else:
tasks = [Process(target=prefetch_data, args=(db, queue, fn, None)) for db in dbs]
# ...
def prefetch_data(db, queue, sample_data, system_configs_data):
if platform.system().lower() == 'windows':
system_configs._configs = system_configs_data
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
感谢作者的代码,我用的win10系统,batchsize可以和原文一样设置为16,但是chunksize只能设置为1才能运行,暂时没有找到解决方法,也仅有此处一处不同,导致模型准确率和原文相差甚远,能否释义一下chunksize运作含义以及对精度的影响,对windows系统如何才能修改为chunksize[16]运行呢,不然只能装虚拟机尝试了,麻烦作者了,辛苦!
The text was updated successfully, but these errors were encountered: