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

TypeError: __init__() got an unexpected keyword argument 'output_stride' #978

Open
LuShuaie opened this issue Nov 14, 2024 · 1 comment
Open

Comments

@LuShuaie
Copy link

smp.DeepLabV3Plus(encoder_name='tu-maxvit_base_tf_224',
                  encoder_depth=5, encoder_weights='imagenet',
                  encoder_output_stride=16, decoder_channels=256,
                  decoder_atrous_rates=(12, 24, 36), in_channels=3,
                  classes=1, activation=None, upsampling=4, aux_params=None)

when I run the above code,I get error,
TypeError: init() got an unexpected keyword argument 'output_stride'

@brianhou0208
Copy link
Contributor

Hi @LuShuaie , maxvit doesn't support the output_stride parameter due to lack of dilation support.
Check the doc for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants