Skip to content

AttributeError: module 'torch._C' has no attribute '_cuda_setDevice' #175

@aestendrela

Description

@aestendrela

When I run this code it gives me an error

python test.py --name edge2face_512 --dataroot datasets/face/ --dataset_mode face --input_nc 15 --loadSize 512 --use_single_G

ERROR:
AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'.

Do you know what it could be?

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