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

Error when using AutoNCP #66

Open
anafreis opened this issue Jun 11, 2024 · 0 comments
Open

Error when using AutoNCP #66

anafreis opened this issue Jun 11, 2024 · 0 comments

Comments

@anafreis
Copy link

anafreis commented Jun 11, 2024

Hello Liquid AI team,

I'm performing some tests on different architectures and wirings of the LNN. However, when I try to use AutoNCP with CfC class, I receive the following error after fitting the model:

Exception has occurred: AttributeError
'WiredCfCCell' object has no attribute 'hidden_units'

The current model only considers a CfC layer and is constructed with AutoNCP as

model = keras.models.Sequential(
    [
        keras.layers.InputLayer(input_shape=input_shape),
        CfC(AutoNCP(units=LNN_SIZE,output_size=output_size,return_sequences=True))
    ])

The dataset has 80000 samples with 20 symbols and 104 features. I'm considering:
input_shape = (20, 104)
output_size = 104

As per my understanding from the previous questions in this repo, CfC layer can work with input shape of this dimension. Is this still true when using AutoNCP?

Many thanks in advance.

CfCtraining

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

1 participant