Fixed counter

This commit is contained in:
Jacob Holder 2023-04-19 17:34:32 +02:00
parent 458998d1f7
commit a684504213
Signed by: jacob
GPG Key ID: 2194FC747048A7FD

View File

@ -122,9 +122,11 @@ def random(seed):
for i in tqdm.tqdm(ind):
maske[np.unravel_index(i, (LEN, LEN))] = True
counter += 1
if np.mod(counter, 100) != 0 and not i == ind[-1]:
if np.mod(counter, 100) != 0 and i != ind[-1] and i != ind[0]:
continue
print(counter, i)
si.apply_mask(lat.parse_mask(maske))
si.gaussian(20)