Skip to content

RuntimeError: Legacy autograd function with non-static forward method is deprecated. #169

@avani17101

Description

@avani17101

When running

python train.py --name edge2face_512 --dataroot datasets/face/ --dataset_mode face --input_nc 15 --loadSize 256 --num_D 1 --max_frames_per_gpu 2 --n_frames_total 6

I am getting this error:
image
I am using pytorch 1.9.0 and torchvision 0.10.0.

@note:
I tried to compile using pytorch0.4.1 but unable to compile resample2d_cuda. Even after running install.sh I get import error

import resample2d_cuda
ImportError: libc10.so: cannot open shared object file: No such file or directory

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