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
您好,我在运行train.py文件的时候,在跳转到trainer文件的TrainerX(SimpleTrainer),会遇到这个问题: for self.batch_idx, batch in enumerate(self.train_loader_x): data_time.update(time.time() - end) loss_summary = self.forward_backward(batch) batch_time.update(time.time() - end) losses.update(loss_summary) 其中: def forward_backward(self, batch): raise NotImplementedError 是这样定义的,所以我一运行就报这个错误,我的基础比较差,不知道能不能麻烦您解释一下,帮我看看这个问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,我在运行train.py文件的时候,在跳转到trainer文件的TrainerX(SimpleTrainer),会遇到这个问题:
for self.batch_idx, batch in enumerate(self.train_loader_x):
data_time.update(time.time() - end)
loss_summary = self.forward_backward(batch)
batch_time.update(time.time() - end)
losses.update(loss_summary)
其中:
def forward_backward(self, batch):
raise NotImplementedError
是这样定义的,所以我一运行就报这个错误,我的基础比较差,不知道能不能麻烦您解释一下,帮我看看这个问题
The text was updated successfully, but these errors were encountered: