captcha_identify.pytorch icon indicating copy to clipboard operation
captcha_identify.pytorch copied to clipboard

基于torch进行验证码识别,识别率达94%

Results 10 captcha_identify.pytorch issues
Sort by recently updated
recently updated
newest added

现在的话 准确度到了85了 但是始终上不去了 可以问一下具体的超参以及训练集数据集的大小吗?

1.FileNotFoundError: [Errno 2] No such file or directory: './weights/cnn_000.pt' 解决方法:在代码根目录创建weights文件夹 2.OsError could not found \\dataset\\test 解决方法:在datasets中创建test文件夹,再创建一些验证码作为测试。 3.Error22...... cnn_000.pt。此错误为跑了一遍报错后重跑发生的 解决方法:删除weights中生成的cnn_000.pt

找了好久资料都不知道怎么用GPU训练,一些设置也改了 # -*- coding: UTF-8 -*- import torch import torch.nn as nn from torch.autograd import Variable import datasets from models import * import torch_util import os, shutil import argparse import...

请问,你这个默认还是在CPU上跑的吧?怎么默认到GPU上训练呢??

请问这是正常情况吗?用的代码中的默认参数,模型也从CNN改成了RESNET18,结果还是一样

图片生成脚本中生成的图片的size为60x160,用vgg或resnet模型时,是否需要transforms.resize图片大小为224x224?

用于应对这类问题 - https://github.com/pprp/captcha_identify.pytorch/issues/8 - https://github.com/pprp/captcha_identify.pytorch/issues/9

直接运行后会弹以下报错 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 /...