gafusion / neural

GA theory neural-network tools
http://gadb-harvest.ddns.net/
Other
0 stars 1 forks source link

brainfusetf python3 bug #3

Open jmcclena opened 4 years ago

jmcclena commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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.