CTUAvastLab / Mill.jl

Build flexible hierarchical multi-instance learning models.
https://ctuavastlab.github.io/Mill.jl/stable/
MIT License
86 stars 8 forks source link

ArrayModels are too restrictive #89

Closed simonmandlik closed 2 years ago

simonmandlik commented 2 years ago

ArrayModel(::T) where T<:Union{Function, Chain, Dense} doesn't allow custom functors for example. We should replace with Base.Callable or with Any.

simonmandlik commented 2 years ago

Solved in e80203fecae0f93bcc63366b7a2a377805891710