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

how can i run the main code with my own dataset? #14

Open
refuserMa opened this issue Jan 24, 2022 · 0 comments
Open

how can i run the main code with my own dataset? #14

refuserMa opened this issue Jan 24, 2022 · 0 comments

Comments

@refuserMa
Copy link

when I run the main code with my dataset, it comes to this error:

line 116, in train
targets_fast[idx] = targets[neighbor[random.randint(1,num_neighbor)]]
IndexError: index 5 is out of bounds for dimension 0 with size 5

how to select num_neighbor?is that based on batch_size ,or my dataset's label?

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

1 participant