Comments (6)
Further looking into the code, looks like the demo broke while trying to execute the tf.app.run() especially in the conv stage. The rank of the matrix being different from what is expected.
COnsole error is as below:
Traceback (most recent call last):
File "./code/1-development/train_softmax.py", line 602, in
tf.app.run()
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "./code/1-development/train_softmax.py", line 414, in main
logits, end_points_speech = model_speech_fn(batch_speech[i * step: (i + 1) * step])
File "/home/osboxes/3D_CNN/3D-convolutional-speaker-recognition/code/1-development/nets/nets_factory.py", line 59, in network_fn
return func(images, num_classes, is_training=is_training)
File "/home/osboxes/3D_CNN/3D-convolutional-speaker-recognition/code/1-development/nets/cnn_speech.py", line 118, in speech_cnn
net = slim.conv2d(inputs, 16, [3, 1, 5], stride=[1, 1, 1], scope='conv11')
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 183, in func_with_args
return func(*args, **current_args)
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1154, in convolution2d
conv_dims=2)
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 183, in func_with_args
return func(*args, **current_args)
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1025, in convolution
(conv_dims + 2, input_rank))
ValueError: Convolution expects input with rank 4, got 5
from 3d-convolutional-speaker-recognition.
I think there is another thread on the same topic and seems to mention to use older Tensorflow. Is that correct? Do i need to revert to v1.0.0?
from 3d-convolutional-speaker-recognition.
With tensorflow v1.0.0 i was able to get past the training. But enrollment is not going through:
Traceback (most recent call last):
File "./code/2-enrollment/enrollment.py", line 330, in
tf.app.run()
File "/home/osboxes/anaconda3/envs/py36/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "./code/2-enrollment/enrollment.py", line 201, in main
for i in xrange(FLAGS.num_clones):
NameError: name 'xrange' is not defined
from 3d-convolutional-speaker-recognition.
@sivagururaman i am also facing same issue along with one more error
No such file or directory: 'results/SCORES/score_vector.npy'
please help here
thanks
from 3d-convolutional-speaker-recognition.
Please update your fork.
from 3d-convolutional-speaker-recognition.
@sivagururaman Have you solved your problem?
from 3d-convolutional-speaker-recognition.
Related Issues (20)
- Convolution expects input with rank 4, got 5 HOT 9
- Extracting VAD for our own dataset HOT 1
- How to generate data HOT 13
- No such file or directory: 'results/SCORES/score_vector.npy HOT 1
- Where does input_feature.py store it's results? HOT 1
- How to make Speaker Verification (1:1 recognition) model in keras? HOT 1
- What is the exact meaning of "utterances"? HOT 4
- ValueError: axes don't match array
- What does low-level and high-level features extraction mean? HOT 1
- .wav inputs specifics HOT 6
- where is score_vector.npy HOT 2
- Demo video recording link is broken
- Please update the vedio link of the demo.
- Pre trained model HOT 1
- Does anyone know the EER of this repo? HOT 1
- How to deal with .hdfs5 files ? HOT 2
- version problem HOT 1
- Speakers for Enrollment and Development
- All Dependency of This Project HOT 1
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 3d-convolutional-speaker-recognition.