寫在前面的話:
2019年09月28日18:02:55補充說明:CSDN博客發佈版權更新,如果您看了博客並且用到PSMNet相關東西,請註明引用原作者的文章:
@inproceedings{chang2018pyramid,
title={Pyramid Stereo Matching Network},
author={Chang, Jia-Ren and Chen, Yong-Sheng},
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
pages={5410–5418},
year={2018}
}
選中執行,一步步看網絡結構出問題:from dataloader import listflowfile as lt
ImportError: No module named dataloader
明明dataloader就在當前文件夾下,文件夾裏面也有__init__.py,直接執行沒問題,選中執行就出問題,選中下圖部分執行:報錯。
問題查找:console裏面輸入:pwd,查看當前路徑:
看到,原來當前執行路徑是home,不是這個py文件所在路徑,解決辦法:
然後選中運行。問題解決。