You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Pinnh that's because model.state_dict() returns a dict of tensors, whereas make_dot expects a dict of Variables. I don't think there's a method that returns such dict for a model, so for now the best solution would probably be to make the params argument optional.
when I use following code to visualize the torch pretrained resnet18 model, I get AttributeError: grad_fn, at line: add_nodes(var.grad_fn)
The text was updated successfully, but these errors were encountered: