-
Notifications
You must be signed in to change notification settings - Fork 1
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
训练时长的问题 #1
Comments
我之前是用的 NVIDIA RTX 3080 (10G) 跑的,看文件里的日志应该是跑了4个多小时。 |
哦哦,好的 原来是这样,我以为是数据有问题
ss
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年10月24日(星期二) 上午10:36
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [yaokui2018/chinese_spam_filtering] 训练时长的问题 (Issue #1)
感谢您的回复,我之前试过将batch_size调小看训练的结果, b报错这个,我将原始数据spam0和normal0数据删除后可以完成训练。
这个错误是训练的数据里面只有一个分类,是不是 batch_size 设置的太小了,导致一个批次里面的数据都是正样本或者都是负样本。按理来说,这个错误跟【spam0和normal0数据】没啥关系,应该是因为重新运行的原因,数据重新划分了。
代码里加载数据的时候做了 shuffle ,正常情况下应该不容易出现一个批次都是一类数据的,,
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我后台挂载了一晚上也还没有跑完,而且batch_size那么大,那个tqdm也没用,不显示进度,
The text was updated successfully, but these errors were encountered: