Skip to content

Instantly share code, notes, and snippets.

@jamesr66a
Created March 19, 2019 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesr66a/aedd204f0c876ec1b4f5486d96d563fc to your computer and use it in GitHub Desktop.
Save jamesr66a/aedd204f0c876ec1b4f5486d96d563fc to your computer and use it in GitHub Desktop.
RuntimeError:
attribute lookup is not defined on python value of type 'Sequential':
@torch.jit.script_method
def forward(self, x):
return self.layers.forward(x)
~~~~~~~~~~~~~~~~~~~ <--- HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment