Skip to content

Fix maskrcnn_resnet50_fpn_v2 weights _ops metadata - #9647

Open
YeonwooSung wants to merge 1 commit into
pytorch:mainfrom
YeonwooSung:fix/maskrcnn-v2-ops-meta-7349
Open

Fix maskrcnn_resnet50_fpn_v2 weights _ops metadata#9647
YeonwooSung wants to merge 1 commit into
pytorch:mainfrom
YeonwooSung:fix/maskrcnn-v2-ops-meta-7349

Conversation

@YeonwooSung

Copy link
Copy Markdown

test_schema_meta_validation[maskrcnn_resnet50_fpn_v2] was skipped because stored _ops did not match get_ops().

_ops

  • Old: 333.577
  • New: 333.577 (unchanged)

How computed

  • model = maskrcnn_resnet50_fpn_v2(weights=None) (same architecture as the published weights)
  • get_ops(model, MaskRCNN_ResNet50_FPN_V2_Weights.COCO_V1, height=800, width=800) from test/common_extended_utils.py
  • Input size 800x800 as in detection_models_input_dims
  • model.eval(); result is round(flops, 3)
  • Five seeds (04) all returned 333.577

Also verified num_params == sum(p.numel() for p in model.parameters()) (46359409).

Removed the pytest.skip for this model so the schema meta check runs again.

Fixes #7349

@pytorch-bot

pytorch-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9647

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_schema_meta_validation[maskrcnn_resnet50_fpn_v2] needs to be fixed

1 participant