philipperemy / keras-tcn

Keras Temporal Convolutional Network.
MIT License
1.9k stars 455 forks source link

keras-tcn for R #246

Open Ujjwal4CULS opened 1 year ago

Ujjwal4CULS commented 1 year ago

Would you please le me know how to interface this keras-tcn module in R or RStudio?

philipperemy commented 1 year ago

@Ujjwal4CULS maybe try this:

Keras-TCN is a 100% Keras layer. So if you can make it work with a simple Keras model, it should work with this one.

Let me know.

Steviey commented 6 months ago

+1 Has the layer to be hardcoded registered anywhere?

suppressPackageStartupMessages(library(reticulate))
    use_condaenv("keras_tensorflow")

    suppressPackageStartupMessages(library(tensorflow))
    suppressPackageStartupMessages(library(keras))
    #suppressPackageStartupMessages(library(keras3))
    #suppressPackageStartupMessages(library(kerasR))
    suppressPackageStartupMessages(library(abind))

Caused by error in `layer_tcn()`:
! could not find function "layer_tcn"
philipperemy commented 3 months ago

Not that I am aware of.