Automatic_Number_Plate_Detection_Recognition_YOLOv8
Automatic_Number_Plate_Detection_Recognition_YOLOv8 copied to clipboard
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
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.
After setting HYDRA_FULL_ERROR=1
$ 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.
Traceback (most recent call last):
File "/home/harry/Documents/Automatic_Number_Plate_Detection_Recognition_YOLOv8/ultralytics/yolo/v8/detect/predict.py", line 118, in