Skip to content

Commit

Permalink
Fix metashape multiple camera models error message (#2057)
Browse files Browse the repository at this point in the history
Reverted back to the original error message with some extra clarification added.

cc #2011
  • Loading branch information
henrypearce4D authored Jun 9, 2023
1 parent 5511f5f commit d01fef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nerfstudio/process_data/metashape_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def metashape_to_json(
if sensor_type.count(sensor_type[0]) != len(sensor_type):
raise ValueError(
"All Metashape sensors do not have the same sensor type. "
"nerfstudio does support per-frame camera intrinsics, but at this current time the utility does not account for this."
"nerfstudio does not support per-frame camera_model types."
"Only one camera type can be used: frame, fisheye or spherical (perspective, fisheye or equirectangular)"
)
data = {}
if sensor_type[0] == "frame":
Expand Down

0 comments on commit d01fef7

Please sign in to comment.