Skip to article frontmatterSkip to article content

Model

Tensorflow 2.14 Keras 2

Download DeepdlncUD’s 9 predictive models for tensorflow 2.14x Keras 2x.

Command
Output log
import deepdlncud

deepdlncud.predict.download_data(
    url='https://github.com/2003100127/deepdlncud/releases/download/model/model.zip',
    sv_fpn='../../data/deepdlncud/model.zip',
)

Tensorflow 2.19 Keras 3

In Keras 3, the approach to loading and calling models has changed significantly compared to Keras 2, especially when used within the TensorFlow ecosystem. Many legacy TensorFlow models that relied on tf.keras.Model subclassing or SavedModel formats may now require structural modifications, explicit serialization logic, or migration to the new .keras format to ensure compatibility. However, when we attempted to make this transition, the process did not go as smoothly as expected. Please check the installation guide.

We generated a LSTMCNN model for use in Keras 3. You can access it as shown below. Due to a complicated process of conversion, we did not apply it to all models.

Code
Output
deepdlncud.predict.download_data(
    url='https://github.com/2003100127/deepdlncud/releases/download/lstmtf3/lstmcnn_w.h5',
    sv_fpn='../../data/deepdlncud/lstmcnn_w.h5',
)