ltkong218 / IFRNet

IFRNet: Intermediate Feature Refine Network for Efficient Frame Interpolation (CVPR 2022)
MIT License
259 stars 23 forks source link

Error running train_vimeo90k.py #33

Open Liming-belief opened 1 year ago

Liming-belief commented 1 year ago

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [6, 32, 112, 112]], which is output 0 of AsStridedBackward0, is at version 1; expected version 0 instead.

May I ask what is causing this and how can I make the necessary modifications

ltkong218 commented 1 year ago

What experiment environment are you using? (PyTorch, CUDA version and GPU card)

jackyin68 commented 8 months ago

Have the same question, video size should be fixed? and what?

Siziff commented 6 months ago

SOOOO? Has this problem been solved? (pytorch == 2.1.2+cu121, CUDA == 12.2 , GPU only one v100 16 GB )

ltkong218 commented 6 months ago

This problem has been solved as https://github.com/ltkong218/IFRNet/pull/31.

Siziff commented 6 months ago

@ltkong218 I installed the same versions as yours and it worked. Thanks :)