aimhubio / aim

Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
https://aimstack.io
Apache License 2.0
4.98k stars 306 forks source link

3D Figures and Geometry Object Files #2644

Open pabhermoso opened 1 year ago

pabhermoso commented 1 year ago

🚀 Feature

Visualise 3D Objects like mesh files (e.g. obj, stl) in the UI. Just an additional tab like for Images and Audio

Motivation

3D Deep Learning

roubkar commented 1 year ago

Hey @pabhermoso, thanks for opening this issue 🙌

pabhermoso commented 1 year ago

I just realised that you can use Plotly to plot 3D Mesh Files: https://plotly.com/python/3d-mesh/. You can then load it as a figure as normal.

You can load your mesh with your preferred package of choice (e.g. trimesh)

So I guess this means that for now we can close it @roubkar :)

roubkar commented 1 year ago

awesome, thanks for sharing 👍

pabhermoso commented 1 year ago

Having said that plotting large 3D Files is not possible / efficient with Plotly. Potentially it is worth exploring other options for visualising large 3D files such as Babylon: https://www.babylonjs.com/

YodaEmbedding commented 1 year ago

I currently subsample the point set and plot via plotly. To prevent it from using too much disk space, I use the run.track(step=SOME_CONSTANT) argument to keep only the latest figures.