training converted to online mode