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

Method forward

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

Source from the content-addressed store, hash-verified

82 add_decoder_specific(self.decoder_module, True)
83
84 def forward(self, input_var, current_step):
85 x = self.backbone_module(input_var) # {'image': img_mask, 'label': target_mask, 'filename': img_name, 'backbone_output':xxx}
86 x = self.neck_module(x)
87 decoder_feature = self.decoder_module(x)
88 return decoder_feature
89
90
91# seg input_var: {'image': img_mask, 'label': target_mask, 'filename': img_name, 'backbone_output':xxx}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected