MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / forward

Method forward

PATH/core/models/model_entry.py:23–27  ·  view source on GitHub ↗
(self, input_var, current_step)

Source from the content-addressed store, hash-verified

21 add_task_specific(self.decoder_module.loss, True)
22
23 def forward(self, input_var, current_step):
24 x = self.backbone_module(input_var) # {'image': img_mask, 'label': target_mask, 'filename': img_name, 'backbone_output':xxx}
25 x = self.neck_module(x)
26 decoder_feature = self.decoder_module(x)
27 return decoder_feature
28
29class aio_entry(nn.Module):
30 def __init__(self, backbone_module, neck_module, decoder_module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected