[New Sample] Add "swin_t" Model Computational Graph#653
Open
ClaireJunc wants to merge 1 commit intoPaddlePaddle:developfrom
Open
[New Sample] Add "swin_t" Model Computational Graph#653ClaireJunc wants to merge 1 commit intoPaddlePaddle:developfrom
ClaireJunc wants to merge 1 commit intoPaddlePaddle:developfrom
Conversation
… from torchvision - Extract swin_t computation graph using torchvision with static shape mode - Add extraction script at graph_net/test/swin_t_extract_test.py - Validated with graph_net.torch.validate (passed all constraints) Model: swin_t Framework: PyTorch Dependency: torchvision Made-with: Cursor
|
Thanks for your contribution! |
|
|
Collaborator
|
请签署CLA,修复CodeStyle流水线 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
swin_t(Swin Transformer Tiny) computation graph extracted fromtorchvisiongraph_net/test/swin_t_extract_test.pygraph_net.torch.validate— all constraints passedDetails
Model: swin_t
Framework: PyTorch
Dependency: torchvision
Content: Extract the Swin Transformer Tiny (swin_t) computation graph using torchvision with static shape mode (dynamic=False). Input shape is standard ImageNet (1, 3, 224, 224), output shape (1, 1000). The extraction script and sample files are included.
Test plan
graph_net.torch.validate --model-pathpasses all Dataset Construction Constraintsgraph_hash.txtgenerated with unique hashmodel.py,weight_meta.py,input_meta.py,input_tensor_constraints.py,graph_net.json,graph_hash.txt