MCPcopy Create free account
hub / github.com/coperception/star / infer_completion

Method infer_completion

star/utils/CoModule.py:81–88  ·  view source on GitHub ↗
(self, data, batch_size)

Source from the content-addressed store, hash-verified

79 return loss, result
80
81 def infer_completion(self, data, batch_size):
82 bev_seq = data['bev_seq']
83 trans_matrices = data['trans_matrices']
84 num_agent = data['num_agent']
85
86 result, ind_pred = self.model(bev_seq, trans_matrices, num_agent, batch_size=batch_size)
87
88 return result
89
90 # Used my MAE model in scene completion, added by Juexiao
91 def step_mae_completion(self, data, batch_size, mask_ratio, loss_fn='mse', trainable = False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected