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

assert set(self.pred_boxes.sample_tokens) == set(self.gt_boxes.sample_tokens), \ AssertionError: Samples in split doesn't match samples in predictions. #3

Open
lsy19103118 opened this issue Apr 4, 2024 · 6 comments

Comments

@lsy19103118
Copy link

No description provided.

@sanmin0312
Copy link
Owner

Could you provide additional context or details?

@lsy19103118
Copy link
Author

lsy19103118 commented Apr 8, 2024 via email

@sanmin0312
Copy link
Owner

Thank you for providing the details.
To address it, please modify the value of 'limit_val_batches' from 0.5 to 1.0 in line 42 of ./p2d/exps/base_cli.py file.
This change will ensure that the model generates prediction results for the entire validation set.
Alternatively, you can disable the evaluation per epoch by changing the value of 'check_val_every_n_epoch' to 0 in line 39 of ./p2d/exps/base_cli.py file.

@lsy19103118
Copy link
Author

lsy19103118 commented Apr 10, 2024 via email

@sanmin0312
Copy link
Owner

Sorry for the confusion.

To turn off the evaluation per epoch, please comment out 'check_val_every_n_epoch=1' in line 39 and set 'limit_val_batches' to 0 in line 42 of ./p2d/exps/base_cli.py file.

@lsy19103118
Copy link
Author

lsy19103118 commented Apr 11, 2024 via email

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