Wave-U-Net-Pytorch icon indicating copy to clipboard operation
Wave-U-Net-Pytorch copied to clipboard

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

Open xiao-c-y opened this issue 2 years ago • 0 comments

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

xiao-c-y avatar Oct 09 '23 03:10 xiao-c-y