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

problem running the py_process_test #35

Open
lljgreedyfox opened this issue Apr 19, 2019 · 2 comments
Open

problem running the py_process_test #35

lljgreedyfox opened this issue Apr 19, 2019 · 2 comments

Comments

@lljgreedyfox
Copy link

lljgreedyfox commented Apr 19, 2019

When running the py_process_test.py with Python 3.6, it stucked with nothing output. However, the small test at the top of py_process.py passed. It seems something wrong with the multiprocessing.Pipe(). But I still can not fix it.

Then I run py_process_test.py with Python 2.7, I got the following error:

File "/home/zixin/py27env/local/lib/python2.7/site-packages/tensorflow/python/ops/script_ops.py", line 206, in __call__
  ret = func(*args)

File "/media/zixin/work/github/scalable_agent/py_process.py", line 89, in py_call
  raise result

ValueError: foo


..2019-04-19 10:06:34.488094: W tensorflow/core/framework/op_kernel.cc:1263] Invalid argument: exceptions.ValueError: foo
Traceback (most recent call last):

File "/home/zixin/py27env/local/lib/python2.7/site-packages/tensorflow/python/ops/script_ops.py", line 206, in __call__
  ret = func(*args)

File "/media/zixin/work/github/scalable_agent/py_process.py", line 89, in py_call
  raise result

ValueError: foo


....
----------------------------------------------------------------------
Ran 8 tests in 1.569s

OK
@calee88
Copy link

calee88 commented Jul 10, 2020

In my case, it stucked somewhere before it outputs Ran 8 tests in ...s. In your case, it says OK and it looks fine. I think the errors are intended.

@calee88
Copy link

calee88 commented Jul 24, 2020

I need to run it on Python3. When I ran it on Python3, it stucked without any output as you said. I upgraded tensorflow to version 1.14.0 and now it runs. But it still has some errors.

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

2 participants