Skip to content

Khm master#2086

Open
khm159 wants to merge 5 commits into
Deci-AI:masterfrom
khm159:khm-master
Open

Khm master#2086
khm159 wants to merge 5 commits into
Deci-AI:masterfrom
khm159:khm-master

Conversation

@khm159

@khm159 khm159 commented Jun 30, 2026

Copy link
Copy Markdown

No description provided.

khm159 and others added 5 commits November 22, 2025 19:01
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>
@khm159
khm159 requested a review from ofrimasad as a code owner June 30, 2026 08:48
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

Successfully merging this pull request may close these issues.

1 participant