Traceback (most recent call last):


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/ray/tune/trial_runner.py", line 540, in _process_trial

result, terminate=(decision == TrialScheduler.STOP))


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/ray/tune/trial.py", line 386, in update_last_result

self.result_logger.on_result(self.last_result)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/ray/tune/logger.py", line 333, in on_result

_logger.on_result(result)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/ray/tune/logger.py", line 193, in on_result

"/".join(path + [attr]), value, step=step)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorboard/plugins/scalar/summary_v2.py", line 65, in scalar

metadata=summary_metadata)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/summary_ops_v2.py", line 646, in write

_should_record_summaries_v2(), record, _nothing, name="summary_cond")


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/framework/smart_cond.py", line 54, in smart_cond

return true_fn()


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/summary_ops_v2.py", line 640, in record

name=scope)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_summary_ops.py", line 856, in write_summary

writer, step, tensor, tag, summary_metadata, name=name, ctx=_ctx)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_summary_ops.py", line 893, in write_summary_eager_fallback

attrs=_attrs, ctx=_ctx, name=name)


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/eager/execute.py", line 76, in quick_execute

raise e


 "/home/ubuntu/anaconda3/lib/python3.6/site-packages/tensorflow_core/python/eager/execute.py", line 61, in quick_execute

num_outputs)
TypeError: An op outside of the function building code is being passed

Traceback (most recent call last):


 "enc.py", line 53, in <module>

user_id = user.id


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 287, in __get__

return self.impl.get(instance_state(instance), dict_)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 718, in get

value = state._load_expired(state, passive)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/state.py", line 652, in _load_expired

self.manager.deferred_scalar_loader(self, toload)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 1012, in load_scalar_attributes

only_load_props=attribute_names,


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 207, in load_on_ident

identity_token=identity_token,


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 287, in load_on_pk_identity

return q.one()


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3436, in one

ret = self.one_or_none()


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/query.py", line 3405, in one_or_none

ret = list(self)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 101, in instances

cursor.close()


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 69, in __exit__

exc_value, with_traceback=exc_tb,


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 178, in raise_

raise exception


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 81, in instances

rows = [proc(row) for row in fetch]


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 81, in <listcomp>

rows = [proc(row) for row in fetch]


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 589, in _instance

populators,


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 726, in _populate_full

dict_[key] = getter(row)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/sql/type_api.py", line 1281, in process

return process_value(impl_processor(value), dialect)


 "/Users/ninz/.local/share/virtualenvs/WLbOJcsr/lib/python3.6/site-packages/sqlalchemy/sql/sqltypes.py", line 945, in process

value = bytes(value)
TypeError: string argument without an encoding
