captcha_identify.pytorch
captcha_identify.pytorch copied to clipboard
运行报错
直接运行后会弹以下报错 ValueError: num_samples should be a positive integer value, but got num_samples=0 我将captcha_identify.pytorch-master\datasets.py 第47行的 return DataLoader(dataset, batch_size=1, shuffle=True) 的True改为False后弹出新的报错 报错信息:ZeroDivisionError: division by zero 似乎是test.py 中第78行的 return 100 * correct / total 引起的