LuxDL / Lux.jl

Elegant & Performant Scientific Machine Learning in Julia
https://lux.csail.mit.edu/
MIT License
446 stars 50 forks source link

Predefined loss functions #689

Closed NeroBlackstone closed 1 month ago

NeroBlackstone commented 1 month ago

I read the MLP and LSTM tutorials of Lux.jl, and I noticed that the loss functions of these two tutorials need to be defined manually, which I think is a bit troublesome.

Flux.jl has some built-in loss functions. What is the motivation for Lux.jl not to include built-in loss functions? Is it because Flux.jl does not define the loss function as a separate Julia package, making it difficult to reuse?

NeroBlackstone commented 1 month ago

close, duplicate to #517