Files
nerfstudio/nerfactory/viewer/server
evonneng 4801a99b2a improve memory consumption by clearing cache + move image to cpu (#412)
* reduced mem on train; figuring out memory leak on visualizer

* steadily below 10G memory

* cpu loading image

* update docstrings

* added scrolling

* Revert "update docstrings"

This reverts commit a914387cf8.

* Revert "Revert "update docstrings""

This reverts commit 177c3dd6f1.

* Revert "added scrolling"

This reverts commit f37351ee7f.
2022-09-12 23:00:44 -07:00
..
2022-08-02 16:02:07 -05:00
2022-09-11 19:14:58 -07:00

Python Kernel and Client Viewer App communication

The purpose of this document is to explain how to communicate from Python with the Client Viewer app. We will eventually move this into the read the docs.

  • Python Kernel (nerfactory code)
  • Bridge Server
  • Client Viewer App

We have two types of components that we want to keep state updated in both locations.

  • Widgets
    • The widgets are used to keep track of the
  • SceneNode
    • The scene nodes are used to represent the three.js objects. The properties relevant to these objects are the following: "object", "transform", "properties".

Checklist

  • Currently using request-reply (REQ, REP with zmq). I.e., Python Kernel -> Bridge Server <-> Client Viewer App. We want a way to update the Python Kernel when the Bridge Server is updated. This requries some form of binding with callbacks. When the Bridge Server is updated, we want to update the binded Python variable. We can take inspiration from ipywidgets.