Closed zhoux121 closed 2 years ago
Hi, The problem is solved, the datapath is incorrect. Thank you!
在 2022年9月23日,04:40,Mohamed Sayed @.***> 写道:
Can you please share what your vdr_dense.yaml config file looks like? Looks like you may have a bad dataset path.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.
Hi, Thanks for open source your work, and the work is amazing.
I am trying to run your demo code, set the mv_tuple_file_suffix as None but still got assertion error.
CUDA_VISIBLE_DEVICES=0 python test.py --name HERO_MODEL --output_base_path OUTPUT_PATH --config_file configs/models/hero_model.yaml --load_weights_from_checkpoint weights/hero_model.ckpt --data_config configs/data/vdr_dense.yaml --num_workers 8 --batch_size 1 --fast_cost_volume --run_fusion --depth_fuser open3d --fuse_color --dump_depth_visualization;
########################### Options ###########################
###############################################################
################################################################################ ###################### VDR Dataset, number of scans: 1168 ###################### ################################################################################
################################################################################ ######################### Running fusion! Using open3d ######################### Output directory: OUTPUT_PATH/HERO_MODEL/vdr/dense/meshes/0.04_3.0_open3d_color ################################################################################
################################################################################ ############################### Saving quick viz.############################### #######Output directory: OUTPUT_PATH/HERO_MODEL/vdr/dense/viz/quick_viz ######## ################################################################################
INFO - 2022-09-16 12:08:38,701 - helpers - Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-effv2-weights/tf_efficientnetv2_s_21ft1k-d7dafa41.pth) ################################################################################ ########################## Using FeatureVolumeManager ########################## Number of source views: 7
Using all metadata.
Number of channels: [202, 128, 128, 1]
################################################################################
################################################################################ ########################## Using FeatureVolumeManager ########################## Number of source views: 7
Using all metadata.
Number of channels: [202, 128, 128, 1]
################################################################################
################################################################################ ######################## Using FastFeatureVolumeManager ######################## Number of source views: 7
Using all metadata.
Number of channels: [202, 128, 128, 1]
################################################################################
0%| | 0/1168 [00:00<?, ?it/s] Traceback (most recent call last): File "/project/6067317/xiaoxin/simplerecon/test.py", line 480, in
main(opts)
File "/project/6067317/xiaoxin/simplerecon/test.py", line 229, in main
dataset = dataset_class(
File "/project/6067317/xiaoxin/simplerecon/datasets/vdr_dataset.py", line 53, in init
super().init(dataset_path=dataset_path,
File "/project/6067317/xiaoxin/simplerecon/datasets/generic_mvs_dataset.py", line 130, in init
assert os.path.exists(tuple_information_filepath), ("Tuple file "
AssertionError: Tuple file doesn't exist! Pass none for mv_tuple_file_suffix if you don't actually need a tuple file, otherwise check your paths.
not sure which part I did wrong.
Thank you