Skip to content

Commit

Permalink
filename call in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreicher committed Nov 27, 2023
1 parent 501bad6 commit c631d1a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions optoseg/src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ func main() {
modelType string
scriptPath string
args []string
}{
{"MTLSD", "./scripts/mtlsd_train.sh", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--voxel_size", "33"}},
{"ACLSD", "./scripts/aclsd_train.sh", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--warmup", "100000"}},
{"STELARR", "./scripts/stelarr_train.sh", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--warmup", "100000"}},
// Add more parameter sets as needed
}{ // TODO: add model type arg
{"MTLSD", "../batch_run.py", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--voxel_size", "33"}},
{"ACLSD", "../batch_run.py", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--warmup", "100000"}},
{"STELARR", "../batch_run.py", []string{"--iterations", "100000", "--raw_file", "path/to/zarr/or/n5", "--warmup", "100000"}},
}

autoseg.RunTrainingInParallel(trainingParams)
Expand Down

0 comments on commit c631d1a

Please sign in to comment.