neurostatslab / vocalocator

Deep neural networks for sound source localization and vocalization attribution.
MIT License
2 stars 0 forks source link

Separate loss function specification from `build_model` #42

Closed amanchoudhri closed 3 months ago

amanchoudhri commented 1 year ago

Doesn't make much semantic sense to determine (and certainly not return) the loss in that function. Instead might make more sense to have user specify it in config, and let Trainer parse it and determine whether the requested loss function makes sense for the given model.