-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'torch._C.Value' object has no attribute 'debugName' #68
Comments
Aha , not long before i get the solution . Cause :
Solution:
|
@hi can you be more specific about this step please? Step three: init the graphviz in the local computer with the cmd doc -t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
**---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
1 alexnet_model = torchvision.models.alexnet()
----> 2 tw.draw_model(alexnet_model, [1, 3, 224, 224])
E:\anaconda3\envs\torch_tensorwatch\lib\site-packages\tensorwatch_init_.py in draw_model(model, input_shape, orientation, png_filename)
33 def draw_model(model, input_shape=None, orientation='TB'): #orientation = 'LR' for landscpe
34 from .model_graph.hiddenlayer import graph
---> 35 g = graph.build_graph(model, input_shape, orientation=orientation)
36 return g
37
E:\anaconda3\envs\torch_tensorwatch\lib\site-packages\tensorwatch\model_graph\hiddenlayer\pytorch_draw_model.py in draw_graph(model, args)
E:\anaconda3\envs\torch_tensorwatch\lib\site-packages\tensorwatch\model_graph\hiddenlayer\pytorch_draw_model.py in draw_img_classifier(model, dataset, display_param_nodes, rankdir, styles, input_shape)
E:\anaconda3\envs\torch_tensorwatch\lib\site-packages\tensorwatch\model_graph\hiddenlayer\summary_graph.py in init(self, model, dummy_input, apply_scope_name_workarounds)
E:\anaconda3\envs\torch_tensorwatch\lib\site-packages\tensorwatch\model_graph\hiddenlayer\summary_graph.py in __add_param(self, n)
AttributeError: 'torch._C.Value' object has no attribute 'debugName'**
python 3.6
torch 1.1.0
torchvision 0.3.0
tensorwatch 0.9.0
The text was updated successfully, but these errors were encountered: