trackformer
trackformer copied to clipboard
ImportError: cannot import name '_new_empty_tensor' from 'torchvision.ops'
Can u post the full error log?
I have met a similar problem. My solution is simply to comment the line 24-26 in misc.py
if float(torchvision.__version__[:3]) < 0.7:
The reason in my case is that I have to use PyTorch 1.9.0 in my project and my GPU only supports Cuda 11+