Open yafangna opened 1 year ago
A question about h_min, h_max = torch.nonzero(h_filter).view(-1)[[0, -1]] / Hi # [h_min, h_max]; 0 <= h <= 1 This line of code generates an error :IndexError: index is out of bounds for dimension with size 0 .Have you ever met?
A question about h_min, h_max = torch.nonzero(h_filter).view(-1)[[0, -1]] / Hi # [h_min, h_max]; 0 <= h <= 1 This line of code generates an error :IndexError: index is out of bounds for dimension with size 0 .Have you ever met?