Thank you for your contribution.
I have a question to ask you.
Is this code wrong? Why did you input irrelevant args to the RAFTStereo and PSMNet models?
def load_pretrained_model(args): print('Load pretrained model') model = None if args.model == 'raft-stereo': model = RAFTStereo(args) elif args.model == 'psmnet': model = PSMNet(args.maxdisp) else: print('Invalid model selected.') exit()
Thank you for your contribution. I have a question to ask you. Is this code wrong? Why did you input irrelevant args to the RAFTStereo and PSMNet models?
def load_pretrained_model(args): print('Load pretrained model') model = None if args.model == 'raft-stereo': model = RAFTStereo(args) elif args.model == 'psmnet': model = PSMNet(args.maxdisp) else: print('Invalid model selected.') exit()