Comments (1)
I have solved it. The reason why the error occurs was that the program should run in Keras 1.X instead of keras 2.x. If you encounter the similar problems, you can refer to it.
from textclassifier.
Related Issues (20)
- Consistency with the article (HATT) HOT 5
- Non-exact Implementation of CNN Sentence Classifier HOT 1
- Tokenization performed with validation data (HATT) HOT 1
- y_permute_dim.pop(-2) pop index out of range HOT 5
- mask zero and activation in HATT HOT 6
- some problem about data preprocess HOT 5
- save model error HOT 3
- Not able to train HAN because of the following error. HOT 8
- AttributeError: 'DataFrame' object has no attribute 'review' HOT 3
- the run problem in textClassifierHATT
- Capturing attention weights and seeing which words contributed to the classification HOT 1
- Dimensions must be equal, but are 15 and 100 for 'att_layer_2/mul' (op: 'Mul') with input shapes: [?,15], [?,15,100]. HOT 12
- Int to long
- ValueError: Error when checking target: expected dense_1 to have 2 dimensions, but got array with shape (40261, 2, 2) HOT 1
- The performance is worse
- ValueError HOT 1
- Incorporating this model into tensorflow project HOT 3
- Performance on Yelp 2015 (HAN)
- ValueError: Dimensions must be equal, but are 15 and 100 for '{{node Equal}} = Equal[T=DT_BOOL, incompatible_shape_error=true](mask, SequenceMask/Less)' with input shapes: [?,15,100], [?,100,?]. HOT 1
- Getting error on TimeDistributed()
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 textclassifier.