Visual-Question-Answering icon indicating copy to clipboard operation
Visual-Question-Answering copied to clipboard

关于dataSupport_qa.py

Open leviswind opened this issue 7 years ago • 1 comments

假设training的样本数为1000,image就是10003224*224,我想问一下179行这里,如果bucket数目不为1,那么这个idx就不是原来的idx,因为len(x)小于1000,是不是这里有问题。当然如果bucket数目为1,这里就没有问题。

leviswind avatar Apr 03 '18 10:04 leviswind

bucket_idx_all = [np.random.permutation(len(x)) for x in self.data]

leviswind avatar Apr 03 '18 10:04 leviswind