Adding node and cell names for tensorboard graph

username: promach
cooked: <p>I am trying to trace the tensorboard graph for <a href="https://github.com/promach/gdas" class="inline-onebox" rel="noopener nofollow ugc">GitHub - buttercutter/gdas: A simple implementation for the GDAS paper : Searching for A Robust Neural Architecture in Four GPU Hours</a></p>
<p>However, from what I can observe so far, the tensorboard graph generated from <a href="https://pytorch.org/docs/stable/tensorboard.html" rel="noopener nofollow ugc">torch.utils.tensorboard</a> does not really indicate user-understandable node names and cell names which makes it so difficult for tracking down the connections within the graph.</p>
<p>Any suggestions ?</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/c/5/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd.png" data-download-href="https://discuss.pytorch.org/uploads/default/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd" title="image"><img src="https://discuss.pytorch.org/uploads/default/optimized/3X/c/5/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd_2_690x371.png" alt="image" data-base62-sha1="sd5kk5XsXEyerz0FDlTW5jLo87r" width="690" height="371" srcset="https://discuss.pytorch.org/uploads/default/optimized/3X/c/5/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd_2_690x371.png, https://discuss.pytorch.org/uploads/default/optimized/3X/c/5/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd_2_1035x556.png 1.5x, https://discuss.pytorch.org/uploads/default/original/3X/c/5/c5b78e3df7cdb428edf53b2b8805d18c5eab9afd.png 2x" data-dominant-color="EBE4DD"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">image</span><span class="informations">1202×647 139 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

username: Advitya17
cooked: <aside class="quote no-group" data-username="promach" data-post="1" data-topic="142059">
<div class="title">
<div class="quote-controls"></div>
<img loading="lazy" alt="" width="24" height="24" src="https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/promach/48/22571_2.png" class="avatar"> promach:</div>
<blockquote>
<p>However, from what I can observe so far, the tensorboard graph generated from <a href="https://pytorch.org/docs/stable/tensorboard.html" rel="noopener nofollow ugc">torch.utils.tensorboard</a> does not really indicate user-understandable node names and cell names which makes it so difficult for tracking down the connections within the graph.</p>
</blockquote>
</aside>
<p>I have the same question.</p>

username: promach
cooked: <p>I am also checking on <a href="https://github.com/fossasia/visdom#network-graph" class="inline-onebox" rel="noopener nofollow ugc">GitHub - fossasia/visdom: A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.</a> now, not sure how to use visdom though</p>

username: promach
cooked: <p>I tried <a href="https://pytorch.org/docs/stable/tensorboard.html" rel="noopener nofollow ugc">from torch.utils.tensorboard import SummaryWriter</a> and <a href="https://github.com/lanpa/tensorboardX" rel="noopener nofollow ugc">from tensorboardX import SummaryWriter</a> , but both are still giving some non-user-readable nodes and cells names for the output graph.</p>
<p>I suspect the issue might be due to the <a href="https://github.com/promach/gdas/blob/9544ab27ed408a4ab161794d3a9e34020dad48db/gdas.py#L321-L325" rel="noopener nofollow ugc">multiple nested <code>for</code> loops inside the forward function</a>.</p>
<p>Note: I have removed <code>for epoch in range(NUM_EPOCHS):</code> during testing and debugging this issue.</p>

username: viniciusarruda
cooked: <p>Any update on this? I’m having the same issue using the <code>EmbeddingBag</code> layer.</p>