ShuweiShao / AF-SfMLearner

[MedIA2022 & ICRA2021] Self-Supervised Monocular Depth and Ego-Motion Estimation in Endoscopy: Appearance Flow to the Rescue
MIT License
101 stars 15 forks source link

FileNotFoundError: [Errno 2] No such file or directory: 'endovis\\rectified11\\image_02\\-00001.png' #30

Closed evanismli closed 1 year ago

evanismli commented 1 year ago

image image 您好,我使用哈姆林数据集,但是将数据集中的image_02修改成了我自己的单目内镜照片,其余都是数据集本身的信息,使用python train_stage_one.py --data_path endovis --log_dir stage_one_result想训练深度估计网络,出现了以上错误,请问是否是由于本人数据集有问题导致的呢?谢谢,期待您的回复

ShuweiShao commented 1 year ago

It seems that the path to load image is wrong.

evanismli commented 1 year ago

It seems that the path to load image is wrong.

您好,感谢您的回复,我检查了envodis文件夹下的图片以及两个txt文档,均不存在-0000.1.png存在。

evanismli commented 1 year ago

It seems that the path to load image is wrong.

还有一个问题,就是我能否只用单目内镜图片利用您公布的网络进行深度估计训练呢? 谢谢

ShuweiShao commented 1 year ago

有连续帧或者视频是可以进行训练的,单张图片是不可以的

yuyingliu-1 commented 10 months ago

It seems that the path to load image is wrong.

您好,感谢您的回复,我检查了envodis文件夹下的图片以及两个txt文档,均不存在-0000.1.png存在。

这个原因是因为代码中用的frame_id - 1,如果测试集中有0000.png,导致成了-0001.png