Closed ccaven closed 11 months ago
Nevermind - the problem was that all of the weights in the checkpoint are prefixed with module.
I got around this by running this instead
state_dict = torch.load("./pretrained_models/CGI_Stereo/sceneflow.ckpt")
model.load_state_dict({ k[7:]: v for k, v in state_dict['model'].items() })
After downloading
sceneflow.ckpt
for the CGI_Stereo model into./pretrained_models/CGI_Stereo
folder, I run this codeand I get this error:
Do I need to set a different max disparity?