TypeError: The two branches should have identical types, but they are TensorType(float64, 3D) and TensorType(int32, 3D) respectively.
nhdang1998 opened this issue · 0 comments
nhdang1998 commented
Hi there,
I'm trying to do just like in the description manual but I can't understand when I'm trying to run at step 3 (test sample in the README.md manual):
./run.sh --model deepsol1 --stage 2 --mode decode --device cpu data/newtest.data
It came out like this:
TypeError: The two branches should have identical types, but they are TensorType(float64, 3D) and TensorType(int32, 3D) respectively. This error could be raised if for example you provided a one element list on the
thenbranch but a tensor on the
else branch.
Can you tell me how to fix it?
Thank you.