We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
channge the code in utils.py 235 line
original_ind = torch.LongTensor(range(true_class_boxes.size(0)), device='cuda')[true_class_images == this_image][ind] ==> original_ind = torch.tensor(range(true_class_boxes.size(0)), dtype=torch.long, device='cuda')[true_class_images == this_image][ind]
The text was updated successfully, but these errors were encountered:
This change is required for eval.py to not error.
I would be good to have in Utils.py > calculate_mAP(): for c in tqdm(range(1, n_classes), 'Calculating mAP'):
for c in tqdm(range(1, n_classes), 'Calculating mAP'):
To have a progress bar for this since it takes a while and I initially though it was a hung process.
Sorry, something went wrong.
No branches or pull requests
channge the code in utils.py 235 line
original_ind = torch.LongTensor(range(true_class_boxes.size(0)), device='cuda')[true_class_images == this_image][ind]
==>
original_ind = torch.tensor(range(true_class_boxes.size(0)), dtype=torch.long, device='cuda')[true_class_images == this_image][ind]
The text was updated successfully, but these errors were encountered: