He says the detainees told authorities they had attended militant training camps in neighboring Pakistan .