LearningToCompare_FSL
LearningToCompare_FSL copied to clipboard
IndexError: scatter_(): Expected dtype int64 for index.
i hava no idea to solve the problem. can you help me? Thanks
Hi!Were you able to resolve this issue?
You can add .long() to batch_labels.view(-1,1) in the line of code where the error is coming. Then the error will go away.
The problem has been solved, thank you very much!