DeepAffinity
DeepAffinity copied to clipboard
Typrerror when running joint-Model_test.py
I'm trying to use deep affinity with pretained error, but the error appeared :
Tokenizing data in ./data/test_sps Tokenizing data in ./data/test_smile File "/home/recher/anaconda3/envs/deep_affinity/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 491, in apply_op preferred_dtype=default_dtype) File "/home/recher/anaconda3/envs/deep_affinity/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 704, in internal_convert_to_tensor ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref) File "/home/recher/anaconda3/envs/deep_affinity/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 577, in _TensorTensorConversionFunction % (dtype.name, t.dtype.name, str(t))) ValueError: Tensor conversion requested dtype int32 for Tensor with dtype float32: 'Tensor("GRU/GRU/GRUCell/Gates/add:0", shape=(64, 512), dtype=float32)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "joint-Model_test.py", line 230, in
here were my environment: