Aleksandar M
Aleksandar M
After pip install -e . and from ultralytics import YOLO get this error Exception has occurred: AttributeError module 'torch' has no attribute 'set_printoptions' File "C:\Users\User\Desktop\ultralytics-main original\ultralytics\yolo\utils\__init__.py", line 64, in torch.set_printoptions(linewidth=320,...
Solution for this is to use older paddlepaddle-gpu version. paddlepaddle-gpu==2.4.2.post117 works just fine. Working environment: Windows 10/11 python-3.10.11-amd64 cuda_11.7.1_516.94_windows cudnn-windows-x86_64-8.4.1.50_cuda11.6-archive opencv-contrib-python 4.6.0.66 opencv-python 4.6.0.66 paddleocr 2.8.1 paddlepaddle-gpu 2.4.2.post117 torch 1.13.1+cu117...
> It's not fixed, Why close this issue? https://github.com/PaddlePaddle/PaddleOCR/issues/10265#issuecomment-2385636539 This works 100% Have installed it 10 times and each time there is no issue of any kind.
> If it's working, can you please point into the solution? If the solution is to install an old version, it's just a patch and not accepted for obvious reasons....