Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

'Graph' object has no attribute 'node'

Bærentsen__Erik
Beginner
1,420 Views

When trying to run the demo "demo_squeezenet_download_convert_run.bat" as mentioned in "Install Intel® Distribution of OpenVINO™ toolkit for Windows* 10"-guide I get the attached error.

The same happens when I use "mo_onnx.py" on a pytorch project of mine (where I have exported the model to .onnx). So I guess the problem is not actually related to the demo script.

I have tried using python 3.7.3 and 3.6.5 - no difference. Also tried on two different PCs (one running windows 10 10.0.18362 and the other 10.0.17763).

Note: I added quotes (") to the parts of the demo .bat file that are otherwise unable to handle paths with spaces in them as mentioned in other topics on the forum.

Looking forward to hearing from you!

 

0 Kudos
2 Replies
Bærentsen__Erik
Beginner
1,420 Views

Problem fixed by downgrading networkx package to 2.3

python -m pip install networkx==2.3

qiu__du
Beginner
1,420 Views

thank you,Erik,it's work

0 Kudos
Reply