From 8121009fc2c1ecdd322f37494c24486c16c9339e Mon Sep 17 00:00:00 2001 From: Christian <56335168+chri002@users.noreply.github.com> Date: Thu, 20 Mar 2025 10:27:26 +0100 Subject: [PATCH] Creato con Colab --- test.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test.ipynb b/test.ipynb index 40c2eab..91ae20f 100644 --- a/test.ipynb +++ b/test.ipynb @@ -794,7 +794,7 @@ "source": [ "#@title Local Rotation\n", "rx=0#@param {\"type\" : \"number\"}\n", - "ry=15#@param {\"type\" : \"number\"}\n", + "ry=-35#@param {\"type\" : \"number\"}\n", "rz=0#@param {\"type\" : \"number\"}\n", "\n", "mx, Mx, my, My, mz, Mz = points[:,0].min(), points[:,0].max(), points[:,1].min(), points[:,1].max(), points[:,2].min(), points[:,2].max()\n", @@ -836,7 +836,7 @@ "#@title Scale\n", "sx=1#@param {\"type\" : \"number\"}\n", "sy=1#@param {\"type\" : \"number\"}\n", - "sz=1.15#@param {\"type\" : \"number\"}\n", + "sz=0.75#@param {\"type\" : \"number\"}\n", "\n", "points = transform_points(points, translate=(0,0,0), rotate=(0, 0, 0), scale=(sx,sy,sz))" ], @@ -852,7 +852,7 @@ "source": [ "#@title Points interpolation\n", "interpolate = 2 #@param {\"type\":\"number\"}\n", - "points = torch.from_numpy(interpolate_points(points.detach().cpu().numpy(), alpha=0.5, n_c=interpolate))" + "points = (interpolate_points(points, alpha=0.5, n_c=interpolate))" ], "metadata": { "cellView": "form",