Skip to content

Type Errors with Numpy on CPU #358

@nsutphen1

Description

@nsutphen1

I am attempting to build a model that takes in Array2D for the features and Array1D for the labels.

The feature vectors are numpy arrays stored in a python list, and the labels are one-hot encoded arrays in a numpy array.

The error comes when I attempt to use the parametric attention layer. It says that y must be a ragged list, but there aren't any layers that affect y to my knowledge.

Been working on this for a while, any input would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    usageGeneral Thinc usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions