Skip to content

[BUG] Deprecated keras.layers.convolutional Import #5

@sabinleee

Description

@sabinleee

Hello,

I'm unsure if this repository is actively maintained, but I've noticed that keras.layers.convolutional is deprecated. To ensure compatibility with the latest version of Keras, some import statements need to be updated.

The following files require changes:

  • Models/mtex_cnn.py
  • Models/xcm_seq.py
  • Models/xcm.py

Current import:

from keras.layers.convolutional import Conv1D, Conv2D

Proposed update:

from keras.layers import Conv1D, Conv2D

Implementing this change will prevent issues related to the deprecated package and improve code compatibility.

Thank you for your attention to this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions