Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for keras-tcn #1455

Open
Steviey opened this issue Jun 2, 2024 · 1 comment
Open

Support for keras-tcn #1455

Steviey opened this issue Jun 2, 2024 · 1 comment

Comments

@Steviey
Copy link

Steviey commented Jun 2, 2024

philipperemy/keras-tcn#246

@t-kalinowski
Copy link
Member

t-kalinowski commented Jun 2, 2024

Hi, thanks for opening.

If you're looking for Temporal Fusion Transformers for timeseries in R+Keras: https://github.com/krzjoa/aeon

If there is a Keras layer in the Python community you want to use from R, like https://github.com/philipperemy/keras-tcn, you can do so like this:

# install the python package
reticulate::py_install("keras-tcn")

# import the python module: 
tcn <- reticulate::import("tcn")

# create the layer
layer <- tcn$TCN(...)

# use the layer() normally (e.g., in a Functional or Sequential Model)

Note, it seems the two tft implementations linked to have not yet been updated for Keras 3.

@t-kalinowski t-kalinowski changed the title Support fo keras-tcn Support for keras-tcn Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants