Skip to content

Data2DETR overides default method of lightning #345

@anhtu293

Description

@anhtu293
 File "/home/anhtu/aloception-oss/alonet/detr/data_modules/data2detr.py", line 55, in __init__
    self.size = list(self.size)
TypeError: 'method' object is not iterable

The bug happens when I use Data2Detr class. The reason is that size is a method of pytorch-lightning and it is overridden here.

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