question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, I’m a Pytorch beginner (previously working on th and tf) using your tensorboard-pytorch bridge to get some info during neural net training. It works like a charm for everything i’ve needed since now 😃. However i’m having some troubles with the graph visualization for some ConvNet and i’ve a few questions:

  • Is it possible to define scope for module? (i.e. if I’have a nested module can i give it a name to obtain a compress visualization of everything inside it?) ;
  • using the torch.cat() method i get some strange behaviours related to the order of the elements in the list of the first argument of cat() (see attached images, where the second one is correct for the code reported) .

Btw great work 😃

def forward(self,i):
        # i stand as the input
        # conv_j is a module
        x = self.conv_0(i)
        x = self.conv_1(x)
        y = self.conv_r1(i)
        z = torch.cat((y,x),1)
        z = z.view(len(z),-1)
        z = self.fc1(z)
        z = F.relu(z)
        z = self.fc2(z)
        z = F.log_softmax(z)
        return z

cat_2 cat_1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
miguelvrcommented, Aug 16, 2017

I think the activations should be outside if you define them outside, anyway! By doing that the graph would be much cleaner

1reaction
lucabergaminicommented, Aug 7, 2017

I completely forgot it, that makes a lot of sense 😃

Yeah that could explains it all…unfortunately autograd is used only in Pytorch as far as i know, so we can’t just compile the same network under TF to check if the graphs match. Thank you in advance anyway, I’ll try to look at the code behind in my spare time 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

GraphScope
GraphScope is a unified distributed graph computing platform that provides a one-stop environment for performing diverse graph operations on a cluster ...
Read more >
Microsoft Graph API - OAuth 2.0 Scopes
Microsoft Graph API - OAuth 2.0 Scopes. Hi,. I define an app with the following Microsoft Graph permissions in Azure. Users.Read Sites.Read.
Read more >
GitHub - alibaba/GraphScope
GraphScope is a unified distributed graph computing platform that provides a one-stop environment for performing diverse graph operations on a cluster of ...
Read more >
Set the scope parameter for Microsoft Graph - Stack Overflow
To use schemaExtentions you need the Directory.AccessAsUser.All scope. The problem you have here however is that you're using the ...
Read more >
Scope Graphs | A Theory of Name Resolution
Scope graphs provide a new approach to defining the name binding rules of programming languages. A scope graph represents the name binding facts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found