question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add detection_threshold arg for all Lightning adapters

See original GitHub issue

🚀 Feature

Is your feature request related to a problem? Please describe. At the moment, the detection threshold for inside validation_step is at or near zero for Lightning adapters. This results in pessimistic validation performance due to false positives. https://github.com/airctic/icevision/blob/9abbb09f47e6fc18867a5aa662885b558af2975c/icevision/models/ross/efficientdet/lightning/model_adapter.py#L50 https://github.com/airctic/icevision/blob/9abbb09f47e6fc18867a5aa662885b558af2975c/icevision/models/ultralytics/yolov5/lightning/model_adapter.py#L51

Describe the solution you’d like A clear and concise description of what you want to happen. Add a kwarg in the init of the Lightning adapter

Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.

Additional context Happy to submit a PR if you guys agree

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
Anjum48commented, Dec 22, 2021

No problems at all, I totally agree with you guys. Thanks for the great discourse - I learnt a lot! 😊

I’ll go ahead and close the PR

1reaction
FraPochetticommented, Dec 20, 2021

I don’t think there is a need to close the PR. Your PR does not change the default metrics calculation behavior given the threshold is still set to 0. You are just exposing the parameter which is a good thing for potential future use cases. No? As far as I am concerned we could merge it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If you see a liquid-detection alert on your iPhone - Apple Support
If you see one of these alerts, your iPhone has detected liquid in the Lightning port or on the Lightning cable or Lightning...
Read more >
The Best Lightning Cable for iPhone and iPad
Following our latest round of testing, we've added recommendations for short, right-angle, and cloth-covered Lightning cables, as well as ...
Read more >
Best Lightning to 3.5 mm Headphone Jack Adapter in 2022
Almost all Lightning to 3.5 mm headphone jack adapters are plug-and-play. All you need to do is insert the adapter in the Lightning...
Read more >
USB-A, USB-C and Lightning Connectors Explained - AARP
Here's the untangled truth about the cables and cords you use to power up your devices: One end goes into the charger; the...
Read more >
Apple to put USB-C connectors in iPhones to comply with EU ...
Apple will ditch the Lightning connector on its iPhones, the company has confirmed, after European regulators decided all smartphones should ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found