Page 1 of 1

Colab wurde zerquetscht, als er G2O Python -Funktion nannte

Posted: 20 Apr 2025, 07:12
by Anonymous
Mein Colab-Dateiverbindungslink unten
https://colab.research.google.com/drive ... _xcn94awaw? Mein Code < /p>

Code: Select all

    def create_keypoint_vertex(self, point_id, point):
"""Create a vertex for a keypoint"""
v = g2o.VertexPointXY()
v.set_id(point_id)
v.set_estimate(point[:2])
v.set_marginalized(False)

if point[2] > 0.5:  # High confidence points are fixed
v.set_fixed(True)
return v
Wenn ich v.set_estimate (Punkt [: 2]) aufrufe, zerkleinert das Colab, dass ein unbekannter Fehler aufgetreten ist.>