[dataset viewer]: show the uncompressed engine glbs so the 3d previews render

#1
by cfahlgren1 HF Staff - opened

Hi @anxuanng ! The Dataset Viewer fails on this dataset because it loads the meshopt-compressed GLBs, which it can't decode, so this points it at the uncompressed engine/ tier through a new engine/metadata.jsonl with the same columns (the root metadata.jsonl is unchanged). The dataset page then gets a 3D Assets card with a thumbnail per object, as described in the 3D dataset docs.

Preview: https://huggingface.co/datasets/cfahlgren1/smithsonian-3d-glb

Before After

Thank you @cfahlgren1 ! Your PR is how we learned the Dataset Viewer needs the uncompressed engine GLBs because it cannot decode meshopt. We applied that on main, so the previews render now. Closing this PR because it conflicted with the README. Really appreciate the pointer.

anxuanng changed pull request status to closed

Sign up or log in to comment