astorfi / lip-reading-deeplearning

:unlock: Lip Reading - Cross Audio-Visual Recognition using 3D Architectures
Apache License 2.0
1.84k stars 323 forks source link

The version of tensorflow. #19

Closed XiangYangAI closed 5 years ago

XiangYangAI commented 6 years ago

Could you please give some information about the version of tensorflow, I got the different errors when I did on the different versions of tensorflow. Thank you. tensorflow:1.11.0

 File "/Users/apple/anaconda3/envs/venv/lib/python2.7/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

tensorflow:1.6.0

  File "/Users/apple/anaconda3/envs/tensorflow-1.0.0/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1751, in restore
    raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
jam-lock commented 6 years ago

The first one might be due a change on the tensorflow API, replacing the conv2d on lipread_mouth.py and lipread_speech.py with conv3d solved the problem here

astorfi commented 5 years ago

@XiangYangAI @jam-lock Thank you all very much. The repository has been updated.