Skip to content

Error found in the batch_pred function #3

@wangy8989

Description

@wangy8989

Error message:
[Cannot convert list to array: ValueError: only one element tensors can be converted to Python scalars]

In tabular.py,
output = output.detach().cpu().numpy() in the batch_pred function.
Otherwise, it produces an error when running BayesianNN model.

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