Skip to content

ValueError: all elements of new_shape must be non-negative #212

Description

@eklee0309

Hello.

I'm trying to test the trained model with training_tf2/test_lpcnet.py.

I got an error related to the numpy module,

"Traceback (most recent call last):
File "test_lpcnet.py", line 72, in
features = np.resize(features, (-1, nb_features))
ValueError: all elements of new_shape must be non-negative".

What do I have to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions