You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/ankushsingal/miniconda3/envs/book_env/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: dlopen(/Users/ankushsingal/miniconda3/envs/book_env/lib/python3.8/site-packages/torchvision/image.so, 0x0006): Symbol not found: __ZN2at4_ops19empty_memory_format4callEN3c108ArrayRefIxEENS2_8optionalINS2_10ScalarTypeEEENS5_INS2_6LayoutEEENS5_INS2_6DeviceEEENS5_IbEENS5_INS2_12MemoryFormatEEE
Referenced from: <320D718F-E2FD-3687-B2F0-E83CF97743B1> /Users/ankushsingal/miniconda3/envs/book_env/lib/python3.8/site-packages/torchvision/image.so
Expected in: <33B9BCB1-C3B0-309D-8DFD-07CBC1A23530> /Users/ankushsingal/miniconda3/envs/book_env/lib/python3.8/site-packages/torch/lib/libtorch_cpu.dylib
warn(f"Failed to load image Python extension: {e}")
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")
Traceback (most recent call last):
File "predict.py", line 15, in <module>
from ultralytics.yolo.utils import DEFAULT_CONFIG, ROOT, ops
ImportError: cannot import name 'DEFAULT_CONFIG' from 'ultralytics.utils' (/Users/ankushsingal/miniconda3/envs/book_env/lib/python3.8/site-packages/ultralytics/utils/__init__.py)
The text was updated successfully, but these errors were encountered:
ERROR:
The text was updated successfully, but these errors were encountered: