ProPainter icon indicating copy to clipboard operation
ProPainter copied to clipboard

Hard Coded Path to Recurrent Flow Completion Model Weight

Open ykwongaq opened this issue 1 year ago • 2 comments

Thank you for the great work on ProPainter!

I am trying to train the ProPainter using the pretrained recurrent flow completion model, however, I got a file not found error:

image

I found out the root cause is at core/trainer.py line 75:

image

where the path for flow completion model is hard coded.

Perphas it is better to configure it in the train_propainter.json

Thank you

ykwongaq avatar Feb 19 '24 15:02 ykwongaq

I meet the same problem, and I want to know that if the path of the Recurrent Flow Completion Model Weight is /ProPainter-main/weights/recurrent_flow_completion.pth

Pokerman8 avatar Feb 24 '24 07:02 Pokerman8

I meet the same problem, and I want to know that if the path of the Recurrent Flow Completion Model Weight is /ProPainter-main/weights/recurrent_flow_completion.pth

Yes, I have changed the path to what you mentioned. And it is working now.

ykwongaq avatar Feb 24 '24 07:02 ykwongaq