Skip to content
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

'Dot' object is not iterable #19

Open
qiaokang0 opened this issue Jul 4, 2018 · 3 comments
Open

'Dot' object is not iterable #19

qiaokang0 opened this issue Jul 4, 2018 · 3 comments

Comments

@qiaokang0
Copy link

.....pytorch2caffe.py", line 382, in plot_graph (graph,) = pydot.graph_from_dot_file(fname) TypeError: 'Dot' object is not iterable

@csufangyu
Copy link

I have a same problem with you!and have you solved it?

@qihaitao
Copy link

add_nodes(top_var.grad_fn)
# dot.save(fname)
# (graph,) = pydot.graph_from_dot_file(fname)
# im_name = '{}.png'.format(fname)
# graph.write_png(im_name)
# print(im_name)
#
# return im_name
dot.view('d:/aa.txt')

you can use dot.view()

@soulslicer
Copy link

how did you fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants