Skip to content

Help me locate the error in the code plz!! #12

@Zzzzhr947

Description

@Zzzzhr947

Why does my code always throw an error:
File "D:\UAV\re_allocation\DQN.py", line 127, in sample
state, action, reward, next_state, done = zip(*batch)
TypeError: 'int' object is not iterable

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