Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wenhao7841 opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@wenhao7841
Copy link

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.

@BubbleYu-ZJU
Copy link

Setting fully_supervised and plus_plus to False can resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants