Skip to content

[BUG Report]: Exception of type System.AccessViolationException is thrown while loading data into an NDArray #1299

Description

@Rokumaehn

Description

While loading training data into an NDArray an exception is being thrown. In this example "i" was 455, "xDim" = 740, "yDim" = 532

Image

this is the stack trace

Image

Reproduction Steps

probably loading as much data as in the description above into an NDArray of the same shape.
With this code:

Image

Known Workarounds

Don't use NDArrays, use Tensors and a Dataset instead.

Something like this:

Image

Configuration and Other Information

TensorFlow.NET version is 0.150.0
target .net version is 9.0
OS is windows 11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions