I had the bad luck that one of my plants ended up becoming male, this is surely because it suffered a lot of stress and could not grow as I wanted.
I am trying to grow in smaller containers and not have to harvest giant plants taller than 2 meters, plus I have a daughter and two dogs.
It was a waste but there are other plants to continue caring for, so don't lose heart and continue with the other plants.