Skip to content

IndexError: list index out of range in p2ch10 #79

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

Closed
ghost opened this issue Sep 22, 2021 · 0 comments
Closed

IndexError: list index out of range in p2ch10 #79

ghost opened this issue Sep 22, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 22, 2021

After all the dataloader programming stuff, when I run

series_uid = findPositiveSamples
showCandidate(series_uid)

I receive
Warning: no positive samples found; using first negative sample
IndexError: list index out of range

Visual Code says the problem is in dsets.py

def __getitem__(self, ndx):
--> 138         candidate_info_tup = self.candidate_info_list[ndx]
    139         width_irc = (32, 48, 48)

Don't quite understand what's wrong

@ghost ghost closed this as completed Oct 2, 2021
This issue was closed.
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

0 participants