The visualization can be useful to build pipelines in an easier way, to have your custom
blocks inside the visualization you should import the .py
files and launch the server
from there:
from vispipe import Server
import my_custom_blocks
import my_other_custom_blocks
if __name__ == '__main__':
# slow=True is recommended and will run the pipeline slowly to allow visualization
# path is the checkpoint path you want to use
Server(path, slow=True)
Once the server is launched connect to localhost:5000
.
The nodes have a tag that can be specified during declaration, you will find these tags during visualization.
@block(tag='my_custom_tag')
def f():
# (...)
To spawn a node simply click it on the right side menu. You can create switch between tags using the right top side arrows.