bottom-up-attention.pytorch icon indicating copy to clipboard operation
bottom-up-attention.pytorch copied to clipboard

can you tell me the apex version suitable for torch 1.4?

Open qq123aa456 opened this issue 1 year ago • 2 comments

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.

qq123aa456 avatar Sep 07 '23 16:09 qq123aa456

I search the issue they told me amp appear pytorch>1.6 ,which is so bad

qq123aa456 avatar Sep 07 '23 16:09 qq123aa456

I search the issue they told me amp appear pytorch>1.6 ,which is so bad

I use torch 1.5+cu 101+cp36 on 2080ti, and my apex version is 22.04, I use the detectron2 v0.3, maybe you could try this.

niuzhustc avatar Sep 26 '23 07:09 niuzhustc