sxontheway/milliEye

the parameter needs "targets = " ?

Opened this issue · 1 comments

I'm a beginner of Python, I think the following code needs "targets =" ?

loss, outputs, metric, radar_attention = model(imgs, radar_maps, radar_boxes, targets.clone())

I'm correct?

cf.

def forward(self, images, maps, radar_boxes_location, model_mode=0, targets=None):

Hi @GitGhidorah , I am not sure that your question is clear. Did you mean to change the following line:

loss, outputs, metric, radar_attention = model(imgs, radar_maps, radar_boxes, targets.clone())
?