milliEye icon indicating copy to clipboard operation
milliEye copied to clipboard

the parameter needs "targets = " ?

Open GitGhidorah opened this issue 3 years ago • 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):

GitGhidorah avatar Oct 11 '21 15:10 GitGhidorah

Hi @GitGhidorah , I am not sure that your question is clear. Did you mean to change the following line: https://github.com/sxontheway/milliEye/blob/31626601c32e67961103b8776e07c18f53106c5f/module3_our_dataset/train.py#L185 ?

fabrizioschiano avatar Nov 09 '21 17:11 fabrizioschiano