Hi I am running through the /models-master/tutorials/image/cifar10 examples provided by google at https://github.com/tensorflow/models.
I am running the tensorflow-1.0.1 and python 3.5 in a virtual env.
From the command line, and in the virtualenv, running: python3 cifar10_train.py Works fine.
But when I try: pudb3 cifar10_train.py
I get this error:
Traceback (most recent call last):
File "~/interpreters/p35/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
TypeError: main() takes 0 positional arguments but 1 was given
Checking the args gives:
print (_sys.argv[:1])
['cifar10_train.py']
print (flags_passthrough)
[ ]
I know pudb is in the same virtualenv that runs the code from the command line, as pudb goes through the tensorflow import fine, and the virtualenv is the only location in which the tensorflow package resides.
I am assuming this is some issue with passing between some layer pudb introduces... does anyone have a quick suggestion for getting through this... I just want to step through the code :)
Thanks,
nt