Skip to content

Commit 6e190c7

Browse files
authored
fix generated filelistapply
from ShapeNet#7: The lines in shape_list are like -- 02691156 10155655850468db78d106ce0a280f87 02691156 1021a0914a7207aff927ed529ad90a11 .. -- , so modelId should be x.rstrip().split(' ')[1], not [0].
1 parent 1e3bb65 commit 6e190c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/experiments/compute_distance_matrices/gen_filelist_fixedview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from global_variables import *
55

66
img_root_dir = g_fixedview_image_folder
7-
modelIds = [x.rstrip().split(' ')[0] for x in open(g_shape_list_file,'r')]
7+
modelIds = [x.rstrip().split(' ')[1] for x in open(g_shape_list_file,'r')]
88
elevatio_degs = g_fixedview_elevation_degs
99
azimuth_degs = g_fixedview_azimuth_degs
1010

0 commit comments

Comments
 (0)