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] Fix get_flops scrip #3551

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

xiexinch
Copy link
Collaborator

Motivation

inputs and input_shape can't be both set to mmengine api get_model_complexity_info

open-mmlab/mmengine#1056

Modification

Set input_shape to None.

@xiexinch xiexinch merged commit 1929c25 into open-mmlab:dev-1.x Jan 31, 2024
6 of 8 checks passed
Chrps pushed a commit to Chrps/mmsegmentation that referenced this pull request Apr 8, 2024
## Motivation

`inputs` and `input_shape` can't be both set to mmengine api
`get_model_complexity_info`

open-mmlab/mmengine#1056


## Modification

Set `input_shape` to None.
@Deom-z
Copy link

Deom-z commented Apr 21, 2024

请问还是不支持maskformer和mask2former吗

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

Successfully merging this pull request may close these issues.

2 participants