dong_iccv_2017
dong_iccv_2017 copied to clipboard
A wrong in loaddataset.
Sorry to bother you again, but I encountered an error loading the data:
Loading a dataset...
Traceback (most recent call last):
File "train_text_embedding.py", line 106, in
@tangjialiang-jj It seems that the type of the variable indices
is not a Long
type tensor. I have no idea why it does not work on your environment, but what I can tell is that the purpose of the line 106 is to sort the img
tensor along the batch dimension according to indices
.