The weather in Istanbul is always untrustable. You sea a sunny sky and wear lightly and then you get cold in 1 hour or the opposite happens.
Istanbul is full of surprises and weather is one of them. Have a look at the forecast in the below link.
If it is rainy you can go to museums.
If it is sunny walk and talk!