Comments (4)
now i have updated the code, you can try again!
from speech-emotion-recognition.
print the shape of every tensorflow and you will find the issue!
from speech-emotion-recognition.
('valid_label==', (436, 4))
('valid_data==', (436, 300, 40, 3))
('layer1 shape', TensorShape([Dimension(None), Dimension(300), Dimension(40), Dimension(256)]))
('layer 2 shape', TensorShape([Dimension(None), Dimension(300), Dimension(10), Dimension(512)]))
(?, 300, 5, 512)
('layer2 shape', TensorShape([Dimension(None), Dimension(300), Dimension(5), Dimension(512)]))
('layer2 shape', TensorShape([Dimension(None), Dimension(200), Dimension(2560)]))
('layer2 shape', TensorShape([Dimension(None), Dimension(2560)]))
('linear1 shape', TensorShape([Dimension(None), Dimension(768)]))
('linear1 shape', TensorShape([Dimension(None), Dimension(768)]))
('linear1 shape', TensorShape([Dimension(None), Dimension(200), Dimension(768)]))
('outputs1 shape', (<tf.Tensor 'LSTM1/fw/fw/transpose:0' shape=(?, 200, 128) dtype=float32>, <tf.Tensor 'ReverseV2:0' shape=(?, 200, 128) dtype=float32>))
('outputs shape', TensorShape([Dimension(None), Dimension(200), Dimension(256)]))
('outputs shape', TensorShape([Dimension(None), Dimension(200), Dimension(256), Dimension(1)]))
('gru shape', TensorShape([Dimension(None), Dimension(256)]))
('fully1 shape', TensorShape([Dimension(None), Dimension(64)]))
('Ylogits shape', TensorShape([Dimension(None), Dimension(4)]))
i checked and i printed all shapes looking like shapes are good . but getting same error. why i am getting more loggits. many of them getting the same error as i get. can you please check sir. Thanking you sir
from speech-emotion-recognition.
thanking you sir for quick reply.
sir you need to change 2 things
load_validdata(FLAGS.traindata_path) from load_traindata(FLAGS.traindata_path) in model,py line 61
and
gru, alphas = attention(outputs1,1, return_alphas=True) from gru, alphas = attention(outputs1, return_alphas=True) in arcnn1.py line 150
from speech-emotion-recognition.
Related Issues (20)
- how train with EmoBD (7 emotion)
- Incompatible shapes: [654] vs. [436] HOT 1
- 关于utils.py测试的问题 HOT 7
- 数据处理部分 HOT 1
- 对代码的几点疑惑 HOT 1
- train loss 下降,但valid loss 有下小降,然后大幅上升
- train loss 下降,但valid loss 有下小降,然后大幅上升 HOT 1
- 数据集的处理问题 HOT 5
- 关于特征提取问题 HOT 1
- 关于one_hot编码 HOT 3
- 关于utils.py,关于berlin库 HOT 2
- Did not found the IEMOCAP DATASET
- 一些文件没有用到
- No module named 'python_speech_features
- IndexError: index 4833 is out of bounds for size 4800 HOT 1
- Can you provide Checkpoint, please HOT 1
- How to use 'Happy' data twice HOT 1
- How to use model1.py? HOT 1
- 进行模型评估的时候报错 key cnn/unit-1/bn1/beta not found,求解答,谢谢 HOT 1
- KeyError: 'wav\\Ses01F_impro01\\Ses01F_impro01_F000'
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 speech-emotion-recognition.