-
Notifications
You must be signed in to change notification settings - Fork 0
inria encoding crashes #39
Description
Write file operations of formats "3DS-INRIA-ply.yaml" fail because opacity is of shape (num_primitives, 1) and isn't squeezed like in write_image.
Also the configs aren't found
reproduce bug:
python3 -m ffsplat.cli.live --input {path to point_cloud.ply} --dataset-path={path to dataset} --input-format=3DGS-INRIA.ply --verbose
in viewer, click on "convert", select format "3DGS-INRIA-ply.yaml", click on convert
Error:
Encoding Operation(type=write_file, inputs=['point_cloud.ply@f_dc_0', 'point_cloud.ply@f_dc_1', 'point_cloud.ply@f_dc_2', 'point_cloud.ply@f_rest_0', 'point_cloud.ply@f_rest_1', 'point_cloud.ply@f_rest_2', 'point_cloud.ply@f_rest_3', 'point_cloud.ply@f_rest_4', 'point_cloud.ply@f_rest_5', 'point_cloud.ply@f_rest_6', 'point_cloud.ply@f_rest_7', 'point_cloud.ply@f_rest_8', 'point_cloud.ply@f_rest_9', 'point_cloud.ply@f_rest_10', 'point_cloud.ply@f_rest_11', 'point_cloud.ply@f_rest_12', 'point_cloud.ply@f_rest_13', 'point_cloud.ply@f_rest_14', 'point_cloud.ply@f_rest_15', 'point_cloud.ply@f_rest_16', 'point_cloud.ply@f_rest_17', 'point_cloud.ply@f_rest_18', 'point_cloud.ply@f_rest_19', 'point_cloud.ply@f_rest_20', 'point_cloud.ply@f_rest_21', 'point_cloud.ply@f_rest_22', 'point_cloud.ply@f_rest_23', 'point_cloud.ply@f_rest_24', 'point_cloud.ply@f_rest_25', 'point_cloud.ply@f_rest_26', 'point_cloud.ply@f_rest_27', 'point_cloud.ply@f_rest_28', 'point_cloud.ply@f_rest_29', 'point_cloud.ply@f_rest_30', 'point_cloud.ply@f_rest_31', 'point_cloud.ply@f_rest_32', 'point_cloud.ply@f_rest_33', 'point_cloud.ply@f_rest_34', 'point_cloud.ply@f_rest_35', 'point_cloud.ply@f_rest_36', 'point_cloud.ply@f_rest_37', 'point_cloud.ply@f_rest_38', 'point_cloud.ply@f_rest_39', 'point_cloud.ply@f_rest_40', 'point_cloud.ply@f_rest_41', 'point_cloud.ply@f_rest_42', 'point_cloud.ply@f_rest_43', 'point_cloud.ply@f_rest_44', 'point_cloud.ply@rot_0', 'point_cloud.ply@rot_1', 'point_cloud.ply@rot_2', 'point_cloud.ply@rot_3', 'point_cloud.ply@x', 'point_cloud.ply@y', 'point_cloud.ply@z', 'point_cloud.ply@scale_0', 'point_cloud.ply@scale_1', 'point_cloud.ply@scale_2', 'point_cloud.ply@opacity'])...
Exception occurred: could not broadcast input array from shape (346107,1) into shape (346107,)