mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 05:24:22 +08:00
fix resume training
This commit is contained in:
parent
a02c5bac11
commit
4197c99fbf
@ -536,7 +536,8 @@ def entrypoint(debug=""):
|
||||
model = "yolov8n.pt"
|
||||
LOGGER.warning(f"WARNING ⚠️ 'model' argument is missing. Using default 'model={model}'.")
|
||||
overrides["model"] = model
|
||||
stem = Path(model).stem.lower()
|
||||
# stem = Path(model).stem.lower()
|
||||
stem = model.lower()
|
||||
if "rtdetr" in stem: # guess architecture
|
||||
from ultralytics import RTDETR
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user