Skip to content

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

Open
@eklee0309

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?

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