We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Loading data... Vocab size: 4762 491it [00:00, 98460.66it/s] 40it [00:00, ?it/s] 42it [00:00, 42113.50it/s] Traceback (most recent call last): File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\run.py", line 41, in dev_iter = build_iterator(dev_data, config) File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\utils.py", line 117, in build_iterator iter = DatasetIterater(dataset, config.batch_size, config.device) File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\utils.py", line 77, in init if len(batches) % self.n_batches != 0: ZeroDivisionError: integer division or modulo by zero
The text was updated successfully, but these errors were encountered:
batch改小一点12?
Sorry, something went wrong.
改小batch,设为64可用。
No branches or pull requests
Loading data...
Vocab size: 4762
491it [00:00, 98460.66it/s]
40it [00:00, ?it/s]
42it [00:00, 42113.50it/s]
Traceback (most recent call last):
File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\run.py", line 41, in
dev_iter = build_iterator(dev_data, config)
File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\utils.py", line 117, in build_iterator
iter = DatasetIterater(dataset, config.batch_size, config.device)
File "C:\Users\dell\Desktop\Chinese-Text-Classification-Pytorch-master\utils.py", line 77, in init
if len(batches) % self.n_batches != 0:
ZeroDivisionError: integer division or modulo by zero
The text was updated successfully, but these errors were encountered: