Skip to content

Commit

Permalink
Switch AC UNet channels
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreicher committed Nov 29, 2023
1 parent 20327ca commit e25ceea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion src/autoseg/train/ACLSDTrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def aclsd_train(

# initial MTLSD UNet
unet = setup_unet(downsample_factors=[(2, 2, 2), (2, 2, 2)], padding="same")
unet_ac = setup_unet(downsample_factors=[(2, 2, 2), (2, 2, 2)], padding="same", num_heads=1)
unet_ac = setup_unet(in_channels=10, downsample_factors=[(2, 2, 2), (2, 2, 2)], padding="same", num_heads=1)

mtlsd_model = MTLSDModel(unet=unet, num_fmaps=unet.out_channels)
mtlsd_loss = Weighted_MSELoss() # aff_lambda=0)
Expand Down

0 comments on commit e25ceea

Please sign in to comment.