-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
PyCharm Code and Docs Inspect fixes v1 #18461
Conversation
👋 Hello @RizwanMunawar, thank you for submitting an
For more guidance, please refer to the project's contributing guide. Don’t hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 Note: This is an automated response, and an Ultralytics engineer will review and assist you with your PR soon. 😊 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18461 +/- ##
==========================================
+ Coverage 73.70% 73.79% +0.09%
==========================================
Files 129 129
Lines 17280 17267 -13
==========================================
+ Hits 12736 12742 +6
+ Misses 4544 4525 -19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@glenn-jocher Hi, could you please review this PR? Let me know if any changes are needed, and I can update things accordingly. Thank you! @Laughing-q Hey buddy, I’ve updated the SAM/predict.py structure of the inference_state = {
"num_frames": predictor.dataset.frames,
"point_inputs_per_obj": {},
"mask_inputs_per_obj": {},
"constants": {},
"obj_id_to_idx": OrderedDict(),
"obj_idx_to_id": OrderedDict(),
"obj_ids": [],
"output_dict": {
"cond_frame_outputs": {}, # dict containing {frame_idx: <out>}
"non_cond_frame_outputs": {}, # dict containing {frame_idx: <out>}
},
"output_dict_per_obj": {},
"temp_output_dict_per_obj": {},
"consolidated_frame_inds": {
"cond_frame_outputs": set(), # set containing frame indices
"non_cond_frame_outputs": set(), # set containing frame indices
},
"tracking_has_started": False,
"frames_already_tracked": [],
}
predictor.inference_state = inference_state |
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
…ytics into pycharm-patch
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
This PR significantly improves documentation consistency and code clarity across the repository by fixing typos, updating explanations, and standardizing naming conventions.
📊 Key Changes
Documentation Fixes:
SKU-110k
, NVIDIA Jetson, Tiled Inference, and others).!!! warning
blocks).Code Style Updates:
applyEcc
→applyecc
,coords
→coordinates
,smooth_BCE
→smooth_bce
).Code Examples:
Typographical Consistency:
🎯 Purpose & Impact
Purpose:
Impact on Users:
Impact on Codebase: