diff --git a/o-voxel/notebooks/test_shape.glb b/o-voxel/notebooks/test_shape.glb new file mode 100644 index 00000000..671c1b89 Binary files /dev/null and b/o-voxel/notebooks/test_shape.glb differ diff --git a/o-voxel/notebooks/verify_decoded_shape.ipynb b/o-voxel/notebooks/verify_decoded_shape.ipynb new file mode 100644 index 00000000..d2cc569c --- /dev/null +++ b/o-voxel/notebooks/verify_decoded_shape.ipynb @@ -0,0 +1,1313 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "e3d7eccb", + "metadata": {}, + "outputs": [], + "source": [ + "import os\n", + "import sys\n", + "import zipfile\n", + "from pathlib import Path\n", + "\n", + "import numpy as np\n", + "import o_voxel\n", + "import torch\n", + "import trimesh" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "51a80d2b", + "metadata": {}, + "outputs": [], + "source": [ + "mesh_path = './test_shape.glb'\n", + "mesh = trimesh.load_mesh(mesh_path)" + ] + }, + { + "cell_type": "code", + "execution_count": 25, + "id": "c4455691", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "