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

AssertionError: idx 0 != idx_new 20 during testing. #92

Open
pmgautam opened this issue Mar 24, 2023 · 9 comments
Open

AssertionError: idx 0 != idx_new 20 during testing. #92

pmgautam opened this issue Mar 24, 2023 · 9 comments

Comments

@pmgautam
Copy link

I'm getting the error AssertionError: idx 0 != idx_new 20 during testing.. Can someone help me with this. I've tried looking in issues but couldn't get much help. Thanks in advance!

@fuzheng1209
Copy link

I have the same error,do you solve the problem?

@neverstoplearn
Copy link

I meet tehe save error,have anyone solve it?

@shivpoojansaini
Copy link

shivpoojansaini commented Mar 30, 2023

I'm getting the error AssertionError: idx 0 != idx_new 20 during testing.. Can someone help me with this. I've tried looking in issues but couldn't get much help. Thanks in advance!

have you got this while training the model? Or only inferencing on your own data.

@shivpoojansaini
Copy link

I meet tehe save error,have anyone solve it?

One possible solution #34 (comment)

@neverstoplearn
Copy link

I meet tehe save error,have anyone solve it?

One possible solution #34 (comment)

will this affect the performance of the model?

@shivpoojansaini
Copy link

I meet tehe save error,have anyone solve it?

One possible solution #34 (comment)

will this affect the performance of the model?

No, we just skipped some data there is no modification from the model perspective.

@shivpoojansaini
Copy link

Fo more details understand the exception cause of def get(self, idx): under dataset.py

@fuzheng1209
Copy link

I use Baidu cloud datasets provided by the author.But I also meet the same problem.

@shivpoojansaini
Copy link

shivpoojansaini commented Mar 30, 2023

Modify the function under dataset.py
if not self.is_training: if idx!=idx_new: pass

under function def __getitem__(self, idx):
Since def get(self, idx): going in exception for some id of data

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

4 participants