Khm master#2086
Open
khm159 wants to merge 5 commits into
Open
Conversation
ADD Yolo Nas NANO model
Add Yolo-NAS swish activated variants
The "ADD Yolo Nas NANO" and "add swish variants" commits added the YoloNAS_NANO / *_SWISH classes in yolo_nas_variants.py with @register_model(Models.YOLO_NAS_NANO/...), but the corresponding entries were never added to the Models enum in object_names.py. This made the package fail to import (AttributeError: Models has no attribute 'YOLO_NAS_NANO'). Restore the 5 missing enum members so the nano/swish variants register and checkpoints load. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
resume 는 ckpt_latest 를 로드하는데 거기엔 _best_ckpt_metrics=None 이라 best_metric 이 복원되지 않고, scratch 용 _reset_best_metric() 도 resume 시 호출되지 않아 best_metric 이 __init__ 의 np.inf 로 남는다. greater-is-better 메트릭(mAP)에서는 curr > inf 가 영원히 거짓이 되어 resume 이후 ckpt_best 가 한 번도 갱신되지 않는다(자기증식: _best_ckpt_metrics 도 계속 None). resume 인데 best 복원에 실패한 경우(_eval_before_resume=True) greater 플래그가 확정된 시점에서 best_metric 을 올바른 -inf 로 리셋하도록 수정. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.