问题
A while back I read this post on PyImageSearch and was satisfied enough to switch completely to tf.keras
.
But since then I noticed the Keras website got an overhaul and seems to be expanding on its ambitions.
So I'm a bit confused.
- Is it still true that "the latest release of the keras package (v2.3.0) will be the last release to support multiple backends and feature updates. Moving forward, the keras package will receive only bug fixes." from PyImageSearch?
- If I stick with
tf.keras
could I miss out on anything? I'm talking about specific features (to make this a "fact based" question)
回答1:
An answer on the Datascience Stack Exchange site seems to answer this question.
François Chollet, the creator of Keras, recommends that users switch to tf.keras
(source)
New release of multi-backend Keras: 2.3.0
https://github.com/keras-team/keras/releases/tag/2.3.0
- First release of multi-backend Keras with full TF 2 support
- Continued support for Theano/CNTK
- Will be the last major release of multi-backend Keras
We recommend you switch your Keras code to tf.keras.
And in two replies:
Both Theano and CNTK are out of development. Meanwhile, as Keras backends they represent less than 4% of Keras usage. The other 96% of users (of which more than half are already on tf.keras) are better served with tf.keras.
Keras development will focus on tf.keras going forward.
Importantly, we will seek to start developing tf.keras in its own standalone GitHub repository at keras-team/keras in order to make it much easier for 3rd party folks to contribute.
Keras has never been moving faster than now :)
来源:https://stackoverflow.com/questions/63376657/should-i-be-using-tf-keras-or-keras-in-2020