Skip to content

Commit a8b1625

Browse files
author
anna-grim
committed
cleaner
1 parent 03583ed commit a8b1625

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

  • src/aind_exaspim_image_compression/machine_learning

src/aind_exaspim_image_compression/machine_learning/unet3d.py

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -418,22 +418,10 @@ def __init__(
418418

419419
factor = 2 if trilinear else 1
420420

421-
self.down1 = DownBlur(
422-
self.channels[0],
423-
self.channels[1],
424-
)
425-
self.down2 = DownBlur(
426-
self.channels[1],
427-
self.channels[2],
428-
)
429-
self.down3 = DownBlur(
430-
self.channels[2],
431-
self.channels[3],
432-
)
433-
self.down4 = DownBlur(
434-
self.channels[3],
435-
self.channels[4] // factor,
436-
)
421+
self.down1 = DownBlur(self.channels[0], self.channels[1])
422+
self.down2 = DownBlur(self.channels[1], self.channels[2])
423+
self.down3 = DownBlur(self.channels[2], self.channels[3])
424+
self.down4 = DownBlur(self.channels[3], self.channels[4] // factor)
437425

438426
# remove highest-resolution skip
439427
self.up4 = UpNoSkip3D(

0 commit comments

Comments
 (0)