This is the same plant? The second picture does look like a male. The first is a little hard to tell. I don't see balls but I can't see any clear pistils either. Any chance of some more pictures? Might help so people can tell for sure
if you have balls growing from the internodes on a predominantly female plant, you have an intersex plant. a hermaphrodite plant will have what looks like bananas or beaks growing out of flowers with pisils growing out of them. either way your fucked. mist the plant down with water, cover it in a trash bag, and get it the hell outta there unless you love seeds ofcourse...
htere is a Dutch product called reverse that I have heard works to change em back to all female but I hear it is kinda pricey