You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There currently also isn't any direct way to create a pretrained VGG model with custom dropout_prob.
Oh, this is interesting! I think this can be handled with loadpretrain! in Metalhead if you pass in the model created by vgg and the artifact name. We don't really list the artifacts in the docs (we really should, good change to make in the future) but right now you can just check the Artifacts.toml file – for the VGG models they're just named "vggX".
Only thing to keep in mind is that you'll have to wrap the layers around the model struct because that's what the function expects. Something like:
PR #270 inadvertently changed the default
Dropout
probability of VGG models from0.5
to0.0
:There currently also isn't any direct way to create a pretrained VGG model with custom
dropout_prob
:The text was updated successfully, but these errors were encountered: