File size: 674 Bytes
d319333 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
---
license: mit
---
MobileNet models ported from [torchvision](https://pytorch.org/vision/stable/index.html) for use with [Metalhead.jl](https://github.com/FluxML/Metalhead.jl). The script for creating this file can be found [here](https://github.com/FluxML/Metalhead.jl/blob/master/scripts/port_torchvision.jl).
To use this model in Julia, [add the Metalhead.jl package to your environment](https://pkgdocs.julialang.org/v1/managing-packages/#Adding-packages). Then execute:
```julia
using Metalhead
# MobileNet V2 model
model = MobileNetv2(pretrain=true)
# MobileNet V3 models
model = MobileNetv3(:small, pretrain=true)
model = MobileNetv3(:large, pretrain=true)
```
|