1. 程式人生 > >'module' object has no attribute 'contrib'

'module' object has no attribute 'contrib'

and LV orf sta version con ati The clas

Problem solved, turns i had 2 tensorflow versions installed:

  1. When launching $python , it used 0.6 version(which didnt had contrib module)
  2. When launching $sudo python ,it had the latest 0.9 version and everything works as the documentation.

'module' object has no attribute 'contrib'