astorfi / 3D-convolutional-speaker-recognition

:speaker: Deep Learning & 3D Convolutional Neural Networks for Speaker Verification
Apache License 2.0
782 stars 274 forks source link

Error importing Tables #20

Closed GValens closed 6 years ago

GValens commented 6 years ago

Hello, first of all thank you for releasing the code. Unfortunately, I'm stuck at step 1 (step 0 works.) I installed all the requirements, this is my setup: Win7 64 Python 3.5.4 Tensorflow 1.6 (installed in a separate Anaconda environment but still wit pip install) Tables 3.4.3 I also installed pytables from conda, I thought it was missing, but the result is still the same:

When running train_softmax, at 'import tables', I get: File "C:\Users...\AppData\Local\Continuum\Anaconda3\envs\tensorflow\lib\site-packages\tables__init__.py", line 90, in from .utilsextension import (

ImportError: DLL load failed: The specified procedure could not be found.

The thing is, if i simpy import tables with no code preceding it, it's fine. If I import it after tensorflow (as in your code), it gives me the error. If I move 'import tables' before 'import tensorflow', then python crashes.

I tried to find answers on the net but none was useful...

Thanks

GValens commented 6 years ago

I (kind of) resolved it using another environment with python 3.6, is this output to be expected?

Epoch 1, Minibatch 1 of 4 , Minibatch Loss= 1.3863, TRAIN ACCURACY= 0.000 Epoch 1, Minibatch 2 of 4 , Minibatch Loss= 1.4426, TRAIN ACCURACY= 0.000 Epoch 1, Minibatch 3 of 4 , Minibatch Loss= 1.4641, TRAIN ACCURACY= 0.000 Epoch 1, Minibatch 4 of 4 , Minibatch Loss= 1.4434, TRAIN ACCURACY= 0.000 TESTING after finishing the training on: epoch 1 Test Accuracy 1, Mean= 50.0000, std= 50.000 Closing remaining open files:../../data/development_sample_dataset_speaker.hdf5...done

astorfi commented 6 years ago

@GValens Please open this issue if the problem still remains. Thanks