Hi, Patrick! Please, can you update this great tool to a more recent Python environment?
I'm getting the following error message when running your basic example.
Traceback (most recent call last):
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 468, in make_tensor_proto
str_values = [compat.as_bytes(x) for x in proto_values]
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 468, in <listcomp>
str_values = [compat.as_bytes(x) for x in proto_values]
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\util\compat.py", line 65, in as_bytes
(bytes_or_text,))
TypeError: Expected binary or unicode string, got Elemwise{clip,no_inplace}.0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\PC\Documents\Binary Option\ame-master\ame_starter\apps\main.py", line 382, in <module>
app.run()
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\ame_starter\apps\evaluate.py", line 109, in run
return self.run_single()
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\ame_starter\apps\evaluate.py", line 129, in run_single
val_steps)
File "C:\Users\PC\Documents\Binary Option\ame-master\ame_starter\apps\main.py", line 219, in train_model
**network_params)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\ame_starter\models\model_builder.py", line 284, in build_ame_model
topmost_hidden_states=topmost_hidden_states)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\ame_starter\models\model_builder.py", line 174, in _get_expert_outputs_optimized
w1 = tf.Variable(he_normal()((num_experts, 1, num_units)))
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\ops\variables.py", line 213, in __init__
constraint=constraint)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\ops\variables.py", line 315, in _init_from_args
initial_value, name="initial_value", dtype=dtype)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\ops.py", line 836, in convert_to_tensor
as_ref=False)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\ops.py", line 926, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\constant_op.py", line 229, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\constant_op.py", line 208, in constant
value, dtype=dtype, shape=shape, verify_shape=verify_shape))
File "C:\Users\PC\anaconda3\envs\AME\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 472, in make_tensor_proto
"supported type." % (type(values), values))
TypeError: Failed to convert object of type <class 'theano.tensor.var.TensorVariable'> to Tensor. Contents: Elemwise{clip,no_inplace}.0. Consider casting elements to a supported type.
It was very difficult to build an environment as described in the setup.py because many incompatibilities.
The most similar setup I got to build and using to run your algorithm is: