We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
torch2.3.0+cu121 torchvision0.18.0+cu121 这两个版本不支持basicsr,导入包时出问题,只需修改虚拟环境下 D:\IOPaint.venv\Lib\site-packages\basicsr\data 中的 degradations.py 修改import方式 原来:from torchvision.transforms.functional_tensor import rgb_to_grayscale 修改后:from torchvision.transforms._functional_tensor import rgb_to_grayscale
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 30 days with no activity.
Sorry, something went wrong.
No branches or pull requests
torch2.3.0+cu121
torchvision0.18.0+cu121
这两个版本不支持basicsr,导入包时出问题,只需修改虚拟环境下 D:\IOPaint.venv\Lib\site-packages\basicsr\data 中的 degradations.py
修改import方式
原来:from torchvision.transforms.functional_tensor import rgb_to_grayscale
修改后:from torchvision.transforms._functional_tensor import rgb_to_grayscale
The text was updated successfully, but these errors were encountered: