Skip to content

Commit

Permalink
Update cellfinder batch sizes to match new defaults (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamltyson authored Jun 4, 2024
1 parent 1bc4237 commit 2269d99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* `--model-weights` To use pretrained model weights. Ensure that this model matches the `--network-depth` parameter.
* `--network-depth`. Resnet depth \(based on [He et al. \(2015\)](https://arxiv.org/abs/1512.03385)\) **Default: 50**
* `--batch-size` Batch size for classification. Can be adjusted depending on GPU memory. This can often be increased
on high-memory modern GPUS \(e.g. 128 works well on a Titan RTX\). **Default: 32**
on high-memory modern GPUS \(e.g. 128 works well on a Titan RTX\). **Default: 64**

_**You shouldn't need to change these:**_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ end_plane = -1
trained_model = None
model_weights = None
model = "resnet50_tv"
batch_size = 32
batch_size = 64
n_free_cpus = 2
network_voxel_sizes = [5, 1, 1]
soma_diameter = 16
Expand Down Expand Up @@ -169,7 +169,7 @@ run_training(
learning_rate=0.0001,
continue_training=True, # by default use supplied model
test_fraction=0.1,
batch_size=32,
batch_size=16,
save_progress=True,
epochs=10,
)
Expand Down

0 comments on commit 2269d99

Please sign in to comment.