hmorimitsu / ptlflow

PyTorch Lightning Optical Flow models, scripts, and pretrained weights.
Apache License 2.0
250 stars 33 forks source link

validation issue with checkpoints .pth format #44

Closed nihalgupta84 closed 1 year ago

nihalgupta84 commented 1 year ago

I have pretrained checkpoints in .pth format.

during validation i am giving the path of /path/to/checkpoitns.pth

but it shows unrecognized error.

hmorimitsu commented 1 year ago

Hi,

Could you provide more details about the error? What is the specific command you're running and what's the exact error message?

Best

nihalgupta84 commented 1 year ago

thanks! solved this but have another issue with

flownets model: while loading pre-trained checkpoints of {trained in chairs}, {trained in sintel} and {trained in kitti}

it thorugh model weights compatibility issue. I hope, this is the base model as prescribed in paper.

and where do i find the spynet model

hmorimitsu commented 1 year ago

Hi, please provide the exact command and error message so it's easier to identify the problem.

We unfortunately don't have spynet, so you will have to use another code for that model.

Best