RelTR icon indicating copy to clipboard operation
RelTR copied to clipboard

ImportError: cannot import name '_new_empty_tensor'

Open CurtisDeCastro opened this issue 3 years ago • 2 comments

Getting this error when trying to run inference.py-- is this related to version issues with python/conda? Did my best to triage the issue independently, but all I could find is that this is a known issue with pytorch that was fixed with python 3.6, however that is the version I'm running.

Appreciate you for all your work on this btw!

CurtisDeCastro avatar Apr 09 '22 00:04 CurtisDeCastro

Which pytorch version did you use? Could you provide more information like the error log?

yrcong avatar Apr 14 '22 20:04 yrcong

I successfully reproduced by following the author's description. maybe your numpy version not match or some environment problem.

linhuixiao avatar Aug 20 '22 08:08 linhuixiao