You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

4h 4m 14s logged

Sooo, I have been pretty efficient. We got the basic UI layout done, with the windows and tabs and everything, which have been customized. We also have a logo (sadly I couldn’t log the time working on it) and most importantly we have the first tool!

The visualization tool!
(now I realized I’ve misspelled visualize in the app)

Which also means I got the communication between the web interface and api working.

For now the visualization only works with ONNX files, but I hope to get this expanded to other formats like pytorch files.

The tool works this way. You “point” to the file on your computer, the client on your laptop processes it and generates a list of edges and nodes, where each node carries specific information about itself. Then in the UI I post-process them a bit, as the names are pretty ugly like “/lstm/LSTM|/” and I just trim it. Then based on the category of node, I color it a specific color. The constant nodes are removed for clarity (although I will add a way to re-enable them). Then using ELKjs I order the nodes and then display them using react-flow.

I really like how it all turned out.

Some other notable things are about the meubar, it’s very easy to add buttons, and for those buttons to have nested ones, its just basically a JSON, where each button has a label, an onClick function and children. All of this setup will help me in the future.

This is all for now.

0
1

Comments 0

No comments yet. Be the first!