Update spatial size in test case

own
Bobholamovic 2 years ago
parent c4743373e3
commit a135b37e99
  1. 7
      tests/rs_models/test_cd_models.py

@ -242,7 +242,12 @@ class TestFCCDNModel(TestCDModel):
] # yapf: disable
def set_targets(self):
tar_c2 = [self.get_zeros_array(2), [self.get_zeros_array(1)] * 2]
b = self.DEFAULT_BATCH_SIZE
h = self.DEFAULT_HW[0] // 2
w = self.DEFAULT_HW[1] // 2
tar_c2 = [
self.get_zeros_array(2), [self.get_zeros_array(1, b, h, w)] * 2
]
self.targets = [
tar_c2, tar_c2, [self.get_zeros_array(8), tar_c2[1]],
[self.get_zeros_array(2)]

Loading…
Cancel
Save