MTMT icon indicating copy to clipboard operation
MTMT copied to clipboard

AssertionError

Open huangxian123 opened this issue 3 years ago • 0 comments

def init(self, primary_indices, secondary_indices, batch_size, secondary_batch_size): self.primary_indices = primary_indices self.secondary_indices = secondary_indices self.secondary_batch_size = secondary_batch_size self.primary_batch_size = batch_size - secondary_batch_size #print(len(self.secondary_indices)) #print(len(self.primary_indices)) #print(self.primary_batch_size) #print(self.secondary_batch_size) assert len(self.primary_indices) >= self.primary_batch_size > 0 assert len(self.secondary_indices) >= self.secondary_batch_size > 0

huangxian123 avatar Sep 08 '21 03:09 huangxian123