Following is the error trace:
File “main.py”, line 267, in main
_ = train(iteration,optimizer)
File “main.py”, line 134, in train
for j, (img,fix,img_seq,target) in enumerate(trainloader):
File “/DATA/rani.1/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 345, in next
data = self._next_data()
File “/DATA/rani.1/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py”, line 385, in _next_data
data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
File “/DATA/rani.1/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py”, line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File “/DATA/rani.1/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py”, line 44, in 
data = [self.dataset[idx] for idx in possibly_batched_index]
File “./util/data_processing.py”, line 275, in getitem
for i,idx in enumerate(np.random.choice(np.arange(len(pt_img)),self.pt_len,replace=False)):
File “mtrand.pyx”, line 1168, in mtrand.RandomState.choice
ValueError: Cannot take a larger sample than population when ‘replace=False’