CodeFormer icon indicating copy to clipboard operation
CodeFormer copied to clipboard

(Solved)Import Error: cannot import name 'gpu_is_available' from 'basicsr.utils.misc'

Open Cryercipher opened this issue 2 years ago • 2 comments
trafficstars

In Mac M1 chip

Cryercipher avatar Feb 14 '23 02:02 Cryercipher

How did you resolve this?

bryanchiaws avatar Feb 15 '23 08:02 bryanchiaws

How did you resolve this?

Initially I download codeformer by using github desktop with url, but then I found the file I've downloaded missed something. So I went to /basicsr/utils/misc.py and redownloaded this .py file.

Cryercipher avatar Feb 21 '23 07:02 Cryercipher