Generally, classes in gymnasiums are arranged separately, unless very advanced clubs are generally optional.
The girls in the gym I often go to generally prefer yoga and aerobics, so I see that others basically change two or three sets of clothes.
PS: I am a male, a part-time equipment coach. Sometimes I help girls introduce equipment and see that piece of fat.