RangiLyu / nanodet

NanoDet-Plusāš”Super fast and lightweight anchor-free object detection model. šŸ”„Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphonešŸ”„
Apache License 2.0
5.77k stars 1.04k forks source link

OSError: /usr/local/lib/python3.8/dist-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZNK3c107SymBool10guard_boolEPKcl #547

Open smalie2222 opened 10 months ago

smalie2222 commented 10 months ago

How can I solve this issue? It seems to be caused by mismatched library versions or corrupted library files. My torch version is 1.13.1, and pytorch_lightning version is 1.9.5.

PaVaNTrIpAtHi commented 10 months ago

This is due to version mismatch. Change your requirements.txt with this :

Cython matplotlib numpy omegaconf>=2.0.1 onnx onnx-simplifier opencv-python pyaml pycocotools pytorch-lightning>=1.9.0,<2.0.0 tabulate tensorboard termcolor torch == 1.12.1 torchaudio == 0.12.1 torchmetrics == 0.10.0 torchvision == 0.13.1 tqdm

And it will work