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

contrain_op error when not using lct #5

Closed
prodangp opened this issue May 28, 2022 · 3 comments
Closed

contrain_op error when not using lct #5

prodangp opened this issue May 28, 2022 · 3 comments

Comments

@prodangp
Copy link

I am using the LTC network for my data and everything works fine. However, when I am trying to use LSTM, CTRNN or CTGRU, this error appears:

  File "seq.py", line 248, in fit
    if(len(self.constrain_op) > 0):
TypeError: object of type 'NoneType' has no len()

Do you have any idea why is this happening? Thank you in advance for your time.

@raminmh
Copy link
Owner

raminmh commented May 28, 2022

There is no file seq.py in our repository. Please provide a reference to a file that is included in the repo

@prodangp
Copy link
Author

We use gesture.py for classyfing inputs with one feature (instead of 32) based on 4 classes

@mlech26l
Copy link
Collaborator

mlech26l commented Jun 6, 2022

The file gesture.py does not contain the expression if(len(self.constrain_op) > 0):

@prodangp prodangp closed this as completed Jun 6, 2022
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

3 participants