Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the parameter needs "targets = " ? #2

Open
GitGhidorah opened this issue Oct 11, 2021 · 1 comment
Open

the parameter needs "targets = " ? #2

GitGhidorah opened this issue Oct 11, 2021 · 1 comment

Comments

@GitGhidorah
Copy link

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):

@fabrizioschiano
Copy link

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())
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants