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

The structure of the folders in Setup Instructions #42

Closed Charlielyo closed 11 months ago

Charlielyo commented 11 months ago

Thank you for your contribution. I have a question to ask you. Can you give me the structure of the folders in Setup Instructions. This step is confusing and causes problems in operation. Thank you again for your contribution and I look forward to your reply.

fabiotosi92 commented 11 months ago

Hi, the structure stays identical to the current repository. You just need to create a folder named models. Inside models, create another folder called either raft-stereo or psmnet. Then, copy the contents from the original repositories of the respective architectures into these folders. I hope this answers your question. Feel free to reach out if you need further clarification.

Charlielyo commented 11 months ago

Thanks for your answer. But I keep running into a problem. The error is reported as follows. “Traceback (most recent call last): File "test.py", line 15, in from models.psmnet import PSMNet ModuleNotFoundError: No module named 'models'" Is this a structural problem in the models folder? I'm confused, thanks for the answer. We look forward to hearing from you.

Charlielyo commented 11 months ago

Thank you very much for your letter and please forgive me for interrupting again. When I'm running the code, I keep running into an issue. The error is reported as follows. “Traceback (most recent call last): File "test.py", line 15, in from models.psmnet import PSMNet ModuleNotFoundError: No module named 'models'" The error code part is as follows (demo.py and test.py):

from models.psmnet import PSMNet from models.raft_stereo import RAFTStereo import datasets

Is this a structural problem in the models folder? I'm confused, thanks for the answer. We look forward to hearing from you. [image: image.png] [image: image.png]

Fabio Tosi @.***> 于2023年12月28日周四 17:35写道:

Hi, the structure stays identical to the current repository. You just need to create a folder named models. Inside models, create another folder called either raft-stereo or psmnet. Then, copy the contents from the original repositories of the respective architectures into these folders. I hope this answers your question. Feel free to reach out if you need further clarification.

— Reply to this email directly, view it on GitHub https://github.com/fabiotosi92/NeRF-Supervised-Deep-Stereo/issues/42#issuecomment-1870987690, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASWET3Q4ZL5UBXC7TLQNL53YLU4M5AVCNFSM6AAAAABBFINYXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQHE4DONRZGA . You are receiving this because you authored the thread.Message ID: @.***>

ZYX-lang-lang commented 10 months ago

Hello, I get the same error as you. Have you found a solution yet?