I had one lowryder plant that ended up being male. I had a Satori-Hashberry cross that produced a very nice female. It eventually corrected itself.

I also had a cucumber plant once that did that as well to no ill effect. No, that's not a strain of weed, it was an actual cucumber.