Skip to content

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

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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions