Comments (2)
Hi,
Here is output with default settings
Using Theano backend.
WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release (v0.10). Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end%28gpuarray%29
Using gpu device 0: GeForce GTX 980 (CNMeM is enabled with initial size: 90.0% of memory, cuDNN 5110)
Load data...
x_train shape: (25000, 400)
x_test shape: (25000, 400)
Model type is CNN-rand
Train on 25000 samples, validate on 25000 samples
Epoch 1/10
7s - loss: 0.5782 - acc: 0.6365 - val_loss: 0.3192 - val_acc: 0.8677
Epoch 2/10
7s - loss: 0.3063 - acc: 0.8735 - val_loss: 0.2846 - val_acc: 0.8827
Epoch 3/10
7s - loss: 0.2539 - acc: 0.8977 - val_loss: 0.2727 - val_acc: 0.8882
Epoch 4/10
7s - loss: 0.2334 - acc: 0.9064 - val_loss: 0.2768 - val_acc: 0.8868
Epoch 5/10
7s - loss: 0.2143 - acc: 0.9162 - val_loss: 0.2894 - val_acc: 0.8825
Epoch 6/10
7s - loss: 0.2065 - acc: 0.9189 - val_loss: 0.2821 - val_acc: 0.8848
Epoch 7/10
7s - loss: 0.2007 - acc: 0.9218 - val_loss: 0.2855 - val_acc: 0.8844
Epoch 8/10
7s - loss: 0.1926 - acc: 0.9234 - val_loss: 0.2929 - val_acc: 0.8839
Epoch 9/10
7s - loss: 0.1822 - acc: 0.9274 - val_loss: 0.2986 - val_acc: 0.8810
Epoch 10/10
7s - loss: 0.1835 - acc: 0.9292 - val_loss: 0.2924 - val_acc: 0.8800
Process finished with exit code 0
from cnn-for-sentence-classification-in-keras.
When I created a new versions of Python environment, this problem solved even backend is tensorflow.
Thank you.
from cnn-for-sentence-classification-in-keras.
Related Issues (20)
- error when retraining word vector HOT 3
- Error in w2v.py line 52 HOT 4
- TypeError: __init__() takes at least 3 arguments (2 given) HOT 1
- Running instructions HOT 1
- expected input_4 to have shape (None, 185) but got array with shape (1665, 35) HOT 1
- how to run trained model on sample sentence HOT 1
- Trying to replicate the results obtained with denny brtiz's code HOT 8
- Using local directory dataset does not yield the marked results HOT 1
- Using Glove or GoogleNews? HOT 1
- Wrong model for Y.Kim's TextCNN HOT 1
- Using pre-trained google word embeddings HOT 3
- Negative dimension size caused by subtracting 3 from 1
- Only words, no sentences HOT 1
- 问题咨询 HOT 8
- How to train the model with multi-class dataset HOT 2
- accuracy HOT 3
- The model always predicts the same label HOT 1
- Two fully-connected layers after convolutions HOT 1
- as for the CNN-non-static model initialization issue
- Multiple Dropouts different from Original Paper and Denny Britz
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 cnn-for-sentence-classification-in-keras.