Skip to content

IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed #57

Description

@yzj0531

File "train.py", line 355, in main
loss_semi_adv_value += loss_semi_adv.data.cpu().numpy()[0]/args.lambda_semi_adv
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed

i need help, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions