Closed panovr closed 7 years ago
I prepare my custom dataset following the guide like:
train/<label1>/<image.jpg> train/<label2>/<image.jpg> val/<label1>/<image.jpg> val/<label2>/<image.jpg>
I just want to ask that will the dataset be shuffled randomly when fine-tuning?
Yes. Data are shuffled every epoch. In the dataloader.lua this, line generates the random permutation every epoch local perm = torch.randperm(size)
local perm = torch.randperm(size)
That's it, thanks!
I prepare my custom dataset following the guide like:
I just want to ask that will the dataset be shuffled randomly when fine-tuning?