fabiotosi92 / NeRF-Supervised-Deep-Stereo

A novel paradigm for collecting and generating stereo training data using neural rendering
https://nerfstereo.github.io/
MIT License
349 stars 19 forks source link

About input args for RAFTStereo and PSMNet models #45

Closed ZYX-lang-lang closed 10 months ago

ZYX-lang-lang commented 10 months ago

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()