You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error I get when trying to run NFM is not very clear, specifically, it shows
/usr/local/lib/python3.6/dist-packages/ecco/output.py in __init__(self, activations, n_input_tokens, token_ids, _path, n_components, tokens, **kwargs)
498 from_layer = kwargs['from_layer'] if 'from_layer' in kwargs else None
499 to_layer = kwargs['to_layer'] if 'to_layer' in kwargs else None
--> 500 if len(activations.shape) != 3:
501 raise ValueError(f"The 'activations' parameter should have three dimensions: (layers, neurons, positions). "
502 f"Supplied dimensions: {activations.shape}", 'activations')
AttributeError: 'list' object has no attribute 'shape'
This seems an easy mistake that a beginner user could make and could easily be improved by checking earlier that output object has properties required for doing NFM.
The text was updated successfully, but these errors were encountered:
If I load a model like this
without specifically setting
activations=True
The error I get when trying to run NFM is not very clear, specifically, it shows
This seems an easy mistake that a beginner user could make and could easily be improved by checking earlier that output object has properties required for doing NFM.
The text was updated successfully, but these errors were encountered: