File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 55 Trainer ,
66)
77
8+ im_path = Path (__file__ ).resolve ().parent / "res/test.tif"
89
9- def test_unsupervised_worker (make_napari_viewer_proxy ):
10- im_path = Path (__file__ ).resolve ().parent / "res/test.tif"
11- # im_path_str = str(im_path)
1210
11+ def test_unsupervised_worker (make_napari_viewer_proxy ):
1312 unsup_viewer = make_napari_viewer_proxy ()
1413 widget = Trainer (viewer = unsup_viewer )
1514 widget .device_choice .setCurrentIndex (0 )
16-
1715 widget .model_choice .setCurrentText ("WNet" )
1816 widget ._toggle_unsupervised_mode (enabled = True )
1917
Original file line number Diff line number Diff line change @@ -285,6 +285,7 @@ class WNetTrainingWorkerConfig(TrainingWorkerConfig):
285285 out_channels : int = 1 # decoder (reconstruction) output channels
286286 num_classes : int = 2 # encoder output channels
287287 dropout : float = 0.65
288+ learning_rate : np .float64 = 2e-5
288289 use_clipping : bool = False # use gradient clipping
289290 clipping : float = 1.0 # clipping value
290291 weight_decay : float = 0.01 # 1e-5 # weight decay (used 0.01 historically)
You can’t perform that action at this time.
0 commit comments