Skip to content

Python problems #39

@luuude

Description

@luuude

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions