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
4 frames /usr/local/lib/python3.10/dist-packages/keras/src/backend/common/variables.py in standardize_shape(shape)
528 raise ValueError("Undefined shapes are not supported.")
529 if not hasattr(shape, "iter"):
--> 530 raise ValueError(f"Cannot convert '{shape}' to a shape.")
531 if config.backend() == "tensorflow":
532 if isinstance(shape, tf.TensorShape):
ValueError: Cannot convert '8' to a shape.
The text was updated successfully, but these errors were encountered:
Tried on Colab
!pip install vngrs-nlp
from vnlp import DependencyParser
dependency_parser = DependencyParser()
ValueError Traceback (most recent call last)
in <cell line: 1>()
----> 1 dependency_parser = DependencyParser()
2 # dependency_parser = DependencyParser(model = 'SPUContextDP', evaluate = True)
4 frames
/usr/local/lib/python3.10/dist-packages/keras/src/backend/common/variables.py in standardize_shape(shape)
528 raise ValueError("Undefined shapes are not supported.")
529 if not hasattr(shape, "iter"):
--> 530 raise ValueError(f"Cannot convert '{shape}' to a shape.")
531 if config.backend() == "tensorflow":
532 if isinstance(shape, tf.TensorShape):
ValueError: Cannot convert '8' to a shape.
The text was updated successfully, but these errors were encountered: