Skip to content

Commit

Permalink
type fix for cnnectome_net_config (#250)
Browse files Browse the repository at this point in the history
fixed incorrect type for kernel_size_down and kernel_size_up in
cnnectome_net_config
  • Loading branch information
mzouink authored May 3, 2024
2 parents b194cbc + 7be30d3 commit d168877
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dacapo/experiments/architectures/cnnectome_unet_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ class CNNectomeUNetConfig(ArchitectureConfig):
"help_text": "The factors to downsample the feature maps along each axis per layer."
}
)
kernel_size_down: Optional[List[Coordinate]] = attr.ib(
kernel_size_down: Optional[List[List[Coordinate]]] = attr.ib(
default=None,
metadata={
"help_text": "The size of the convolutional kernels used before downsampling in each layer."
},
)
kernel_size_up: Optional[List[Coordinate]] = attr.ib(
kernel_size_up: Optional[List[List[Coordinate]]] = attr.ib(
default=None,
metadata={
"help_text": "The size of the convolutional kernels used before upsampling in each layer."
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/cosem_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
" ],\n",
" snapshot_interval=10000,\n",
" min_masked=0.05,\n",
" clip_raw=True,\n",
" clip_raw=False,\n",
")\n",
"config_store.store_trainer_config(trainer_config)"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/cosem_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
],
snapshot_interval=10000,
min_masked=0.05,
clip_raw=True,
clip_raw=False,
)
config_store.store_trainer_config(trainer_config)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
" ],\n",
" snapshot_interval=10000,\n",
" min_masked=0.05,\n",
" clip_raw=True,\n",
" clip_raw = False,\n",
")\n",
"# Store the trainer\n",
"config_store....\n"
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/cosem_example_fill_in_the_blank.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
],
snapshot_interval=10000,
min_masked=0.05,
clip_raw=True,
clip_raw=False,
)
# Store the trainer
config_store
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/cosem_finetune_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
" ],\n",
" snapshot_interval=10000,\n",
" min_masked=0.05,\n",
" clip_raw=True,\n",
" clip_raw = False,\n",
")\n",
"config_store.store_trainer_config(trainer_config)"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/cosem_finetune_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
],
snapshot_interval=10000,
min_masked=0.05,
clip_raw=True,
clip_raw=False,
)
config_store.store_trainer_config(trainer_config)

Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/synthetic_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@
" ],\n",
" snapshot_interval=10000,\n",
" min_masked=0.05,\n",
" clip_raw=True,\n",
" clip_raw = False,\n",
")\n",
"# config_store.store_trainer_config(trainer_config)\n"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/distance_task/synthetic_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
],
snapshot_interval=10000,
min_masked=0.05,
clip_raw=True,
clip_raw=False,
)
# config_store.store_trainer_config(trainer_config)

Expand Down

0 comments on commit d168877

Please sign in to comment.