Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstring typos #263

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/convnets/resnets/resnext.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Creates a ResNeXt model with the specified depth, cardinality, and base width.

# Arguments

- `depth`: one of `[50, 101, 152]`. The depth of the ResNet model.
- `depth`: one of `[50, 101, 152]`. The depth of the ResNeXt model.

- `pretrain`: set to `true` to load the model with pre-trained weights for ImageNet.
Supported configurations are:

+ depth 50, cardinality of 32 and base width of 4.
+ depth 101, cardinality of 32 and base width of 8.
+ depth 101, cardinality of 64 and base width of 4.
Expand Down
8 changes: 4 additions & 4 deletions src/convnets/resnets/seresnet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ Creates a SEResNet model with the specified depth.

# Arguments

- `depth`: one of `[18, 34, 50, 101, 152]`. The depth of the ResNet model.
- `depth`: one of `[18, 34, 50, 101, 152]`. The depth of the SEResNet model.
- `pretrain`: set to `true` to load the model with pre-trained weights for ImageNet
- `inchannels`: the number of input channels.
- `nclasses`: the number of output classes

!!! warning

`SEResNet` does not currently support pretrained weights.

Advanced users who want more configuration options will be better served by using [`resnet`](@ref).
Expand Down Expand Up @@ -49,15 +49,15 @@ Creates a SEResNeXt model with the specified depth, cardinality, and base width.

# Arguments

- `depth`: one of `[50, 101, 152]`. The depth of the ResNet model.
- `depth`: one of `[50, 101, 152]`. The depth of the SEResNeXt model.
- `pretrain`: set to `true` to load the model with pre-trained weights for ImageNet
- `cardinality`: the number of groups to be used in the 3x3 convolution in each block.
- `base_width`: the number of feature maps in each group.
- `inchannels`: the number of input channels
- `nclasses`: the number of output classes

!!! warning

`SEResNeXt` does not currently support pretrained weights.

Advanced users who want more configuration options will be better served by using [`resnet`](@ref).
Expand Down
Loading