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

train the project #8

Open
Jacobyan1 opened this issue Apr 28, 2024 · 0 comments
Open

train the project #8

Jacobyan1 opened this issue Apr 28, 2024 · 0 comments

Comments

@Jacobyan1
Copy link

您好,我最近在尝试运行您的代码,出现了 File "G:\YKZ\ISSAFE-master\train.py", line 105, in training
self.writer.add_scalar('train/total_loss_epoch', train_loss/num_img_tr, epoch)
~~~~~~~~~~^~~~~~~~~~~
ZeroDivisionError: float division by zero,我是一名新生,请问这个问题是出现在了数据集部分吗,已经困扰了我两三个月了

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

1 participant