based on folloing site : prediction based on yolo
i have implemented following code :
from ultralytics import YOLO
# Build a YOLOv6n model from scratch
model = YOLO("yolov10n.pt")
results = model("human.png")
# Display the results
print(results[0].show())
where human.png is image like this :
but it generates such error :
AttributeError: Can't get attribute 'SCDown' on <module 'ultralytics.nn.modules.block' from 'C:\Users\User\PycharmProjects\Artificial_Inteligence\.venv\Lib\site-packages\ultralytics\nn\modules\block.py'>
i have uninstalled and installed again ultralytics,but still getting same error, please advice me what to do ?