Comments (4)
I am trying to running this code as well and did some update so to let it be able to run on newer version of Keras and with a TF backend.
With a 1080Ti, I could get ag_news model learned in a few minutes (1 or 2 minutes an epoch, and after 4 or 5 epoch I get accuracy on test above 0.87).
You might want to look my out put here
https://github.com/liufuyang/py_crepe/blob/master/log.example.txt
from py_crepe.
Hello @liufuyang, you got 96% test accuracy, right? Could you post your Keras, TensorFlow and Python version? Also, how did you print this organized log?
from py_crepe.
@ayrtondenner no. If you read the log:
60s 503us/step - loss: 0.1122 - acc: 0.9619 - val_loss: 0.4629 - val_acc: 0.8736
You can see that the test accuracy, or val_acc
is 0.87.
0.96 acc is on train set.
About version info you can check here again (seems to be Python library Keras(v2.1.5), using the Tensorflow-gpu(v1.6) backend.):
https://github.com/liufuyang/py_crepe
About the organised log, I simply used the some high level Keras training API. So the code looks much simpler than the original repo here.
You can take a look at this:
https://github.com/liufuyang/py_crepe/blob/master/main.py
from py_crepe.
Ops, my bad. You got 87% in validation, I used the network and got 87% in test accuracy, so it seems ok. I will try to run it again using cmd instead of through Python, so I can run using GPU and passing THEANO_FLAGS parameters. I will also check your code, thanks.
from py_crepe.
Related Issues (9)
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 py_crepe.