Open luuude opened 11 months ago
Hello, I get the same error as you. Have you found a solution yet?
Nope no solution yet. Trying to fix it today
I added all the arguments from https://github.com/princeton-vl/RAFT-Stereo/blob/main/demo.py that helped with that problem. But I got a new one. I must be doing somethig wrong but what?
New error is: File "/home/ai/Documents/NeRF-Supervised-Deep-Stereo_old/models/raft_stereo/extractor.py", line 231, in init nn.Conv2d(128, dim[2], 3, padding=1))
TypeError: 'int' object is not subscriptable
I met the same error, have you solved it?@luuude
I added all the arguments from https://github.com/princeton-vl/RAFT-Stereo/blob/main/demo.py that helped with that problem. But I got a new one. I must be doing somethig wrong but what?
New error is: File "/home/ai/Documents/NeRF-Supervised-Deep-Stereo_old/models/raft_stereo/extractor.py", line 231, in init nn.Conv2d(128, dim[2], 3, padding=1)) ~~~^^^ TypeError: 'int' object is not subscriptable
@luuude I also encountered the same problem when I reproduced this paper today. Have you solved this problem? If so, can you tell me how it was solved? Thank you very much
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'