CTCModel icon indicating copy to clipboard operation
CTCModel copied to clipboard

Keras version

Open agatheminaro opened this issue 4 years ago • 6 comments

Hi,

Thanks for this beautiful work. Just a question : what is the version of keras used for this, please ?

Agathe

agatheminaro avatar Aug 13 '21 13:08 agatheminaro

Hi ! It is supposed to work with the latest versions of Keras. If you encounter compatibility issues with any version, can you specify which one, so that I can check on the issue ?

Thanks !

cyprienruffino avatar Aug 17 '21 09:08 cyprienruffino

Yes I had to make some small changes on the packages import by replacing :

  • from keras.engine import Model by from keras.engine.training import Model
  • from keras.utils import Sequence, GeneratorEnqueuer, OrderedEnqueuer by from tensorflow.keras.utils import Sequence, GeneratorEnqueuer, OrderedEnqueuer
  • from keras.optimizers import Adam by from tensorflow.keras.optimizers import Adam

agatheminaro avatar Aug 17 '21 09:08 agatheminaro

Also the dropbox link in the example.py file does not work anymore.

agatheminaro avatar Aug 17 '21 09:08 agatheminaro

Thanks ! I'll look into that immediately. I've updated the dropbox link, it should work now. Which version of Keras and TensorFlow are you using ?

cyprienruffino avatar Aug 17 '21 11:08 cyprienruffino

I'm using the version 2.6.0 of Keras and Tensorflow.

agatheminaro avatar Aug 17 '21 13:08 agatheminaro

@agatheminaro I want to know that which one you are using?Tensorflow or Tensorflow-gpu? and @cyprienruffino What tf and Keras versions did you use when developing this extension? Because I can only run with tf-CPU now, but the speed is too slow, but the various versions of TF-GPU are not successful.

xiaozh0202 avatar Jan 07 '22 12:01 xiaozh0202