You can tell the males by the little sacs that are coming out from the nodes, like in the first 3 pictures. They will open into small male flowers and drop pollen. The ones with the little white hairs coming from the nodes are females. Unless you want seeds, kill the males before they start dropping pollen.