I met a trouble.when I use torch>1.4 I can't sucessful install detectron2 due to subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
but when I use torch 1.4 I successsful install detectron2 but can extract features beacause an error module 'torch.cuda' has no attribute 'amp'.
is there anyone who sucssful extract features? I really need help.