Skip to content

关于环境配置 #215

@a1rcle

Description

@a1rcle

AssertionError: Torch not compiled with CUDA enabled
问题已解决:
pip install -r requirements.txt执行之后,安装的torch是cpu版本的,这导致后续运行时报错无法调用CUDA
解决方法是卸了该环境下的torch torchvision torchaudio去Pytorch官网重新下载

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions