sameerkhurana10 / DSOL_rv0.2

deep protein solubility prediction
MIT License
35 stars 14 forks source link

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

Open nhdang1998 opened 5 years ago

nhdang1998 commented 5 years ago

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 thethenbranch but a tensor on theelsebranch.

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