4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00

Fix metashape multiple camera models error message (#2057)

Reverted back to the original error message with some extra clarification added.

cc #2011
This commit is contained in:
henrypearce4D 2023-06-09 23:09:13 +01:00 committed by GitHub
parent 5511f5f4ed
commit d01fef7650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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":