Skip to content

Issues Encountered When Reproducing DOVER++ Effects on DEVIDE17k #33

@wenhao7841

Description

@wenhao7841

I encountered some issues while attempting to reproduce the effects of DOVER++ on the DEVIDE17k dataset. I have detailed the problems below, along with the corresponding code snippets and error messages.

Issue 1: AttributeError: 'list' object has no attribute 'float'

Error message:

Linear Epoch 0:
Training in epoch 0: 0%| | 0/228 [00:19<?, ?it/s]
y = data["gt_label"].float().detach().to(device).unsqueeze(-1)
AttributeError: 'list' object has no attribute 'float'

The error occurs at the following line of code:

y = data["gt_label"].float().detach().to(device).unsqueeze(-1)

Issue 2: KeyError: 'gt_label_a'

Error message:

y_a = data["gt_label_a"].float().detach().to(device).unsqueeze(-1)
KeyError: 'gt_label_a'

The error occurs at the following line of code:

y_a = data["gt_label_a"].float().detach().to(device).unsqueeze(-1)

It appears that there might be an issue with the dataset class. Could this be due to an undisclosed dataset class causing these errors? Alternatively, what steps should I follow to train the model and achieve the effects of the public weights? Any guidance would be greatly appreciated.

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