AF-SfMLearner
AF-SfMLearner copied to clipboard
prepare the ground truth depth maps
Based on your description,the directory of dataset structure is shown as : /path/to/endovis_data/ dataset1/ keyframe1/ image_02/ data/ 0000000001.png
but after processing according to your method, it looks like this: /path/to/endovis_data/ dataset1/ keyframe1/ data/ 0000000001.png There is no image folder name available.
When I run CUDA_VISIBLE_DEVICES=0 python export_gt_depth.py --data_path /media/wwj/aj_new/dataset_2 --split endovis,
The error is as follows:
(endodac) wwj@cpnt:~/3DGS/AF-SfMLearner$ CUDA_VISIBLE_DEVICES=0 python export_gt_depth.py --data_path /media/wwj/aj_new/dataset_2 --split endovis
Exporting ground truth depths for endovis
1
dataset3/keyframe4
[ WARN:[email protected]] global loadsave.cpp:241 findDecoder imread_('/media/wwj/aj_new/dataset_2/dataset3/keyframe4/data/groundtruth/scene_points000389.tiff'): can't open/read file: check file path/integrity
Traceback (most recent call last):
File "/home/wwj/3DGS/AF-SfMLearner/export_gt_depth.py", line 61, in
I have changed line 44 from "image-02/data/roundtruth" to "data/roundtruth" (otherwise it will not run according to the structure of my dataset)