DSOL_rv0.2 icon indicating copy to clipboard operation
DSOL_rv0.2 copied to clipboard

TypeError: The two branches should have identical types, but they are TensorType(float64, 3D) and TensorType(int32, 3D) respectively.

Open nhdang1998 opened this issue 5 years ago • 0 comments

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 theelse branch.

Can you tell me how to fix it? Thank you.

nhdang1998 avatar Aug 20 '19 14:08 nhdang1998