Open
Description
I'm looking at Metalhead integration in MLJFlux. To do this well, I'm looking for some uniformity in the Metalhead.jl API that seems to be lacking. In particular, it would help if nclasses
and inchannels
were supported kwargs for all Metalhead constructors (VGG
, and so forth). Perhaps if there are models that really can't support them, an informative error could be thrown?
For example, I think the following ought to just work but don't:
VGG(inchannels=1)
ResNet(inchannels=1)
Also helpful would be a trait to label those constructors that build fixed image size models. I think there's at least one.
Metadata
Metadata
Assignees
Labels
No labels