Skip to content

TypeError: expected Tensor as element 0 in argument 0, but got int #2

@kalamy13e45

Description

@kalamy13e45

The bot ran fine for the first 50 episodes, then it leaves this error before crashing

Traceback (most recent call last):
File "C\Users\naman\Desktop\GDBot-master\GDBot.py", line 239, in optimize_model()
File "C\Users\naman\Desktop\GDBot-master\GDBot.py", line 152, in optimize_model action_batch = torch.cat(batch.action)
TypeError: expected Tensor as element 0 in argument 0, but got int

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