Skip to content

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace. #6

@suki1504

Description

@suki1504

I am getting the below error, kindly help us to resovle the error.
$ python predict.py model='best.pt' source='demo.mp4'
################$$$$$$$$$$$$$$$$$$
/home/harry/anaconda3/envs/sahara/lib/python3.11/site-packages/ultralytics
/home/harry/anaconda3/envs/sahara/lib/python3.11/site-packages/ultralytics/assets
WARNING ⚠️ 'ultralytics.yolo.v8' is deprecated since '8.0.136' and will be removed in '8.1.0'. Please use 'ultralytics.models.yolo' instead.
WARNING ⚠️ 'ultralytics.yolo.engine' is deprecated since '8.0.136' and will be removed in '8.1.0'. Please use 'ultralytics.engine' instead.
WARNING ⚠️ 'ultralytics.yolo.utils' is deprecated since '8.0.136' and will be removed in '8.1.0'. Please use 'ultralytics.utils' instead.
Note this warning may be related to loading older models. You can update your model to current structure with:
import torch
ckpt = torch.load("model.pt") # applies to both official and custom models
torch.save(ckpt, "updated-model.pt")

Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.
Primary config directory not found.
Check that the config directory '/home/harry/anaconda3/envs/sahara/lib/python3.11/site-packages/ultralytics/yolo/configs' exists and readable

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions