Coder Social home page Coder Social logo

12306_captcha's Issues

CPU,GPU检测都为0,模型训练报错,

1.我查看任务管理器里面都有CPU和GPU啊,咋检测出来是0
2.模型训练报以下错误,请大师指点下,谢谢
File "run.py", line 129, in
callbacks=callbacks, shuffle=True)
File "E:\Python\lib\site-packages\keras\engine\training.py", line 955, in fit
batch_size=batch_size)
File "E:\Python\lib\site-packages\keras\engine\training.py", line 754, in _standardize_user_data
exception_prefix='input')
File "E:\Python\lib\site-packages\keras\engine\training_utils.py", line 126, in standardize_input_data
'with shape ' + str(data_shape))
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (0, 1)

关于训练集与测试集

老哥 能否提供一下测试集呢?我自己做测试集用切割的图片一张一张的做,真的很累,,,眼镜都快看瞎了才弄到300多一点的测试集,效果很不理想

运行报错

我运行python run.py --train -m=DenseNet -k=12 -d=40命令 出现如下错误,请问大神如何解决
Traceback (most recent call last): File "run.py", line 129, in <module> callbacks=callbacks, shuffle=True) File "/home/wsj/virtualenv/lib/python3.6/site-packages/keras/engine/training.py", line 1037, in fit validation_steps=validation_steps) File "/home/wsj/virtualenv/lib/python3.6/site-packages/keras/engine/training_arrays.py", line 178, in fit_loop batches = make_batches(num_train_samples, batch_size) File "/home/wsj/virtualenv/lib/python3.6/site-packages/keras/engine/training_utils.py", line 368, in make_batches num_batches = (size + batch_size - 1) // batch_size # round up ZeroDivisionError: integer division or modulo by zero

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.