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

brainfusetf python3 bug #3

Open
jmcclena opened this issue Nov 14, 2019 · 2 comments
Open

brainfusetf python3 bug #3

jmcclena opened this issue Nov 14, 2019 · 2 comments

Comments

@jmcclena
Copy link

I pulled the latest branch, but I'm still getting errors with brainfusetf

  run_epednn()
  File "/local-scratch/mcclenaghanj/OMFIT/OMFIT_2019-11-11_15_42_02_792169/project/objects/file_2019-11-11__15:43/51__875616/tau_tenn.py", line 384, in run_epednn
    eped_run= tf.run(nn_inputs)
  File "/fusion/projects/omfit-results/mcclenaghanj/bokeh/neural/brainfusetf.py", line 106, in run
    try:
  File "/fusion/projects/omfit-results/mcclenaghanj/bokeh/neural/brainfusetf.py", line 20, in send_data
    if isinstance(obj, bytes):
  File "/fusion/projects/omfit-results/mcclenaghanj/bokeh/neural/brainfusetf.py", line 34, in send_msg
    def send_data(sock, path, data):
TypeError: can't concat str to bytes
@orso82
Copy link
Member

orso82 commented Nov 14, 2019

Uhm... that's odd. Can you try running tf_client_server_test.py
https://github.com/gafusion/neural/blob/master/tf_client_server_test.py

@jmcclena
Copy link
Author

Weird. I can run the file directly with python3, but if I load it into omfit(on iris), and try to run it, it fails.

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