NeRF-Supervised-Deep-Stereo icon indicating copy to clipboard operation
NeRF-Supervised-Deep-Stereo copied to clipboard

Python problems

Open luuude opened this issue 1 year ago • 5 comments

I am trying to run the demo.py. I have follwed the instructions but I get lots of errors. Like this: File "/home/ai/Documents/nerfstereo/demo.py", line 15 from models.raft-stereo import RAFTStereo ^ SyntaxError: invalid syntax

So I change name and code to raft_stereo.

then new error

File "/home/ai/Documents/nerfstereo/demo.py", line 114, in main() File "/home/ai/Documents/nerfstereo/demo.py", line 85, in main model = load_pretrained_model(args) File "/home/ai/Documents/nerfstereo/demo.py", line 21, in load_pretrained_model model = RAFTStereo(args) File "/home/ai/Documents/nerfstereo/models/raft_stereo.py", line 27, in init context_dims = args.hidden_dims AttributeError: 'Namespace' object has no attribute 'hidden_dims'

luuude avatar Dec 01 '23 19:12 luuude