Comments (10)
Ok. Can you confirm the md5 checksum of the datafiles please? On my machine I have the following checksums:
$ md5sum /mnist/*
67e63534a144e1be3db6c9bfca1a9ece /mnist/model.txt
85a9c3dba219af50242a99220c272481 /mnist/output.dat
5422ae00443ee2294976a2c283dba551 /mnist/out.txt
9d835bc9f2ddd0fc6dfa6cead8cb4e00 /mnist/t10k-cat.mat
1c91e98bb03fcf9bb35e98a74dd1027c /mnist/t10k-dat.mat
2646ac647ad5339dbf082846283269ea /mnist/t10k-images-idx3-ubyte
27ae3e4e09519cfbb04c329615203637 /mnist/t10k-labels-idx1-ubyte
c4f731158903901b4b5999ccab5f4bd8 /mnist/train-cat.mat
c9b44655a5d1a77a49aae0f4be446d30 /mnist/train.dat
8740d0f1d641fac583a09d38f7fa7a6d /mnist/train-dat.mat
6bbc9ace898e44ae57da46a324031adb /mnist/train-images-idx3-ubyte
6bbc9ace898e44ae57da46a324031adb /mnist/train-images.idx3-ubyte
a25bea736e30d166cdddb491f175f624 /mnist/train-labels-idx1-ubyte
a25bea736e30d166cdddb491f175f624 /mnist/train-labels.idx1-ubyte
from deepcl.
I do not know the other files' use. The md5 checksums of the mnist data I download from [1] are:
2646ac647ad5339dbf082846283269ea ./mnist/t10k-images.idx3-ubyte
27ae3e4e09519cfbb04c329615203637 ./mnist/t10k-labels.idx1-ubyte
6bbc9ace898e44ae57da46a324031adb ./mnist/train-images.idx3-ubyte
a25bea736e30d166cdddb491f175f624 ./mnist/train-labels.idx1-ubyte
[1] http://yann.lecun.com/exdb/mnist/
from deepcl.
Hmmm... well those md5 checksums look correct. Guess I need to fire up a win box... In case you're wondering, it does definitely run on my own ubuntu 64-bit box:
deepcl_train datadir=/mnist trainfile=train-images-idx3-ubyte validatefile=t10k-images-idx3-ubyt
...
after epoch 1 13134 ms
training loss: 19359.6
train accuracy: 53898/60000 89.83%
test accuracy: 9697/10000 96.97%
after tests 713 ms
record epoch=1
wrote weights to file, filesize 173KB
after epoch 2 12740 ms
training loss: 5911.4
train accuracy: 58161/60000 96.935%
test accuracy: 9814/10000 98.14%
after tests 713 ms
record epoch=2
wrote weights to file, filesize 173KB
from deepcl.
Hmmm. Well. I confirm I get the same error message on Windows.
forward try kernel 1
... seems valid
ForwardAuto: kernel 1 0ms
clblas teardown
Something went wrong: Label 28 exceeds number of softmax planes 10
Can you paste a dummy message into this thread, so that it stays in my 'notifications' please? (otherwise it falls out of my 'horizon')
from deepcl.
Thank you very much!
from deepcl.
Oh, I see what's happening. Basically, the filename of hte labels file is determined by doing:
string labelsFilePath = replace(imagesFilePath, "-images-idx3-ubyte", "-labels-idx1-ubyte");
You can call this hacky ;-) And it is. Anyway, it fails, if the filenames are using .
instead of -
, in between images
and idx3
. I will simply add a new line:
string labelsFilePath = replace(imagesFilePath, "-images-idx3-ubyte", "-labels-idx1-ubyte");
labelsFilePath = replace(labelsFilePath, "-images.idx3-ubyte", "-labels-idx1-ubyte");
That should probalby fix it
from deepcl.
Addressed in b32766f . Can you pull down the latest version, and retry?
from deepcl.
(Hmmm, probably would be better if MnistLoader replaced "images"
with "labels"
and "idx3"
with "idx1"
. Anyway, I think the current version should work for you now?)
from deepcl.
Yes, it works. Thank you very much!
from deepcl.
Cool :-)
from deepcl.
Related Issues (20)
- clBlas error HOT 5
- MNIST data format HOT 1
- Python Q-Learning - Add Dropout Layout causes runtime error HOT 11
- can passed all test in #ad1ab61, but not now (#b256220) HOT 48
- function "NetLearner::learn" is deprecated, how to train a network by the new method? HOT 2
- How to use ExpectedData correctly in training? HOT 2
- tutorial and documentation is very less
- integrated demo HOT 2
- could deepcl run on FPGAs? HOT 1
- deepcl_predict HOT 5
- does the Neural network created on GPU? HOT 3
- captcha
- pip with windows does not work
- Need cythonize
- deepcl_unittests not running in CentOS 7. HOT 2
- opencl 1.1?
- Feature Request: Add Mish activation HOT 3
- How to set stride of conv layer? HOT 2
- Implementation of DNN on FPGA HOT 2
- Any examples for face detection?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepcl.