megvii-research / AnchorDETR

An official implementation of the Anchor DETR.
Other
333 stars 35 forks source link

How to replace resnet50 with your own backbone #45

Closed yao-zheng-yi closed 1 year ago

yao-zheng-yi commented 1 year ago

How to replace resnet50 with your own backbone? Has anyone tried replacing backbone?

tangjiuqi097 commented 1 year ago

Hi, you can replace this line to your own backbone. You may refer to these codes as an example.

yao-zheng-yi commented 1 year ago

Okay, thank you very much!

wym @.***> 于2023年2月9日周四 15:25写道:

Hi, you can replace this line https://github.com/megvii-research/AnchorDETR/blob/0b4358a1caacf4b311b8653312e145f1c94de3d3/models/anchor_detr.py#L345 to your own backbone. You may refer to these codes https://github.com/megvii-research/SOLQ/blob/97f537ccc3284f7317c99fea1e05567df6663282/models/solq.py#L567-L571 as an example.

— Reply to this email directly, view it on GitHub https://github.com/megvii-research/AnchorDETR/issues/45#issuecomment-1423748201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ22QC65DPOMPWRVMDVYT7DWWSLVTANCNFSM6AAAAAAUV75KEU . You are receiving this because you authored the thread.Message ID: @.***>