[`DETR`] Remove timm hardcoded logic in modeling files #29038
amyeroberts
changed the title Remove timm in modeling files [`DETR`] Remove timm hardcoded logic in modeling files 1 year ago
Enable instantiating model with pretrained backbone weights
5e8d40c4
Clarify pretrained import
11ede698
Use load_backbone instead
e1067a4f
Add backbone_kwargs to config
d19fc397
Fix up
59ba8697
Add tests
899c9bd3
Tidy up
6fc904d5
Enable instantiating model with pretrained backbone weights
ad201dd2
Update tests so backbone checkpoint isn't passed in
589007d5
Clarify pretrained import
e5930076
Update configs - docs and validation check
4a601dc7
Update src/transformers/utils/backbone_utils.py
4506d087
Clarify exception message
cbc0f6ab
Update config init in tests
89804ae6
Add test for when use_timm_backbone=True
6300aef7
Use load_backbone instead
6870317a
Add use_timm_backbone to the model configs
aa3376c5
Add backbone_kwargs to config
737fd0ca
Pass kwargs to constructors
62d79f76
Draft
19fd92d5
Fix tests
f9cbc017
Add back timm - weight naming
cffd51fc
More tidying up
5bf5329d
Whoops
7d4e93ab
Tidy up
ac56450f
Handle when kwargs are none
1c55822e
Update tests
30d3232d
Revert test changes
81834368
Deformable detr test - don't use default
61fe6736
Don't mutate; correct model attributes
94309d92
Add some clarifying comments
80b32cc8
nit - grammar is hard
5a9799c1
amyeroberts
deleted the remove-timm-in-modeling-files branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub