Dear Sir, I don't know why but here the getitem function is called twice. (batch_size = 1 number_views = 1)
for epoch in range(start_epoch, opt.num_epoch): #number of epoch is 100
for train_idx, train_data in enumerate(train_data_loader):
iter_start_time = time.time()
break
break
ex:
epoch=0;
train_idx=0
the first iteration calls the getitem
i have two index here: they are 352 and 97.
but the index returned : 352.
Is there any problem here or am I missing someting?
Dear Sir, I don't know why but here the getitem function is called twice. (batch_size = 1 number_views = 1)
ex: epoch=0; train_idx=0 the first iteration calls the getitem i have two index here: they are 352 and 97. but the index returned : 352. Is there any problem here or am I missing someting?