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
When a tensorflow example uses tf.app.run() the tracing fails.
The reason is, that tf.app.run does the following [1]:
main = main or _sys.modules['__main__'].main
# Call the main function, passing through any arguments
# to the final program.
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
_sys.modules['__main__'].main calls the main of the tracing module. This brakes.
Possible solution:
import the target program and forward the call to target.main()
The text was updated successfully, but these errors were encountered:
* Add error message if #14 happens
* Add a suitable error messages if sys.modules['__main__'].main is called This should help to identify the problem
* fix python2 error message error
When a tensorflow example uses tf.app.run() the tracing fails.
The reason is, that tf.app.run does the following [1]:
_sys.modules['__main__'].main
calls the main of the tracing module. This brakes.Possible solution:
import the target program and forward the call to
target.main()
The text was updated successfully, but these errors were encountered: