A man wearing headgear and boxing gloves is training with a woman wearing only boxing gloves.
Someone is training in the gym.
Someone could be a man or a woman.  Just because a woman an d a man are training it does not mean they are training in a gym.
(-x)
(-x)