class RTv4(nn.Module)| 名称 | 类型 | 默认值 |
|---|---|---|
backbone | nn.Module | — |
encoder | nn.Module | — |
decoder | nn.Module | — |
forward(self, x, targets=None, teacher_encoder_output=None)| 名称 | 类型 | 默认值 |
|---|---|---|
x | — | — |
targets | — | None |
teacher_encoder_output | — | None |
deploy(self)RT-DETRv4: Painlessly Furthering Real-Time Object Detection with Vision Foundation Models Copyright (c) 2025 The RT-DETRv4 Authors. All Rights Reserved.
导出符号 · RTv4
class RTv4(nn.Module)| 名称 | 类型 | 默认值 |
|---|---|---|
backbone | nn.Module | — |
encoder | nn.Module | — |
decoder | nn.Module | — |
forward(self, x, targets=None, teacher_encoder_output=None)| 名称 | 类型 | 默认值 |
|---|---|---|
x | — | — |
targets | — | None |
teacher_encoder_output | — | None |
deploy(self)