Based on the stack trace it seems you are using a custom Dataset, which seems to be defined in ./util/data_processing.py. Inside the __getitem__ method you are apparently using np.random.choice, which get’s an invalid argument combination.
It seems that len(pt_img) might be smaller than self.pt_len which could yield a similar issue as this code snippet:
np.random.choice(np.arange(10), 10, replace=False) # works
np.random.choice(np.arange(9), 10, replace=False) # fails