from warnings module
smalllazyxl opened this issue · 0 comments
Warning _ (from warnings module):
File "C: \Users\****\AppData\Local\Programs\Python\Python311\Lib\site-pack
ages\torchvision\transforms\functional_tensor.py", line 5
warnings, warn(
User₩arning: The torchvision.transforms.functional_tensor module is deprecated i
n 0. 15 and will be removed in 0.17. Please don't rely on it. You probably ju
st need to use APIs in torchvision. transforms. functional or in torchvision. trans
forms. v2. functional.
Traceback (most recent call last) :
File "Z:\CodeFormer\web-demos\hugging_face\app.py", line 16, in
from basicsr.utils.misc import gpu_is_available, get_device
ImportError: cannot import name 'gpu_is_available' from 'basicsr.utils.misc' (C:
\Users\***\AppData\Local\Programs\Python\Python311\Lib\site-packages\basic
sr\utils\misc.py)
Will module deprecation authors continue to update?