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

Hello! I wanted to use my own data set, but this type error occurred during training #19

Open
xiao-c-y opened this issue Oct 9, 2023 · 0 comments

Comments

@xiao-c-y
Copy link

xiao-c-y commented Oct 9, 2023

Traceback (most recent call last):
File "F:/1Python/1_code_xunlian_from_githubOrOther/2_wave_u_net/Wave-U-Net-Pytorch-fuben/train.py", line 243, in
main(args)
File "F:/1Python/1_code_xunlian_from_githubOrOther/2_wave_u_net/Wave-U-Net-Pytorch-fuben/train.py", line 100, in main
utils.set_cyclic_lr(optimizer, example_num, len(train_data) // args.batch_size, args.cycles, args.min_lr, args.lr)
File "F:\1Python\1_code_xunlian_from_githubOrOther\2_wave_u_net\Wave-U-Net-Pytorch-fuben\utils.py", line 16, in set_cyclic_lr
curr_cycle = min(it // cycle_length, cycles-1)
ZeroDivisionError: integer division or modulo 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