The operation is ongoing. Hospital officials said 11 wounded were brought in, including four security men, a reporter and six students.
"I was sleeping in my room with my other colleagues", said student Zulfiqar Ahmad.
Inter-Services Public Relations informed that two soldiers who were injured during the attack have been shifted to Combined Military Hospital for treatment.
He said three terrorists were killed by security forces after a gunfight which lasted an hour.
Police Chief Salahuddin Mahsud of Khyber Pakhtunkhwa province said attackers opened fire on the main gate of the campus of an agricultural college, initially wounding two guards and two students.
The area where the incident occurred is a hub for educational institutions including the University of Peshawar.
Proven manager rejects Everton offer to leave coast clear for rival
However, despite giving no assurances about his future at Vicarage Road , Watford seem adamant that he will not be leaving. Sam is very good at organising in a crisis situation and because he makes his own points loud and clear.
During the onslaught on the training centre, a spokesman for the Tehreek-e-Taliban Pakistan, Muhammad Khurasani, claimed responsibility for the attack in a telephone call to AFP.
The compound includes a hostel facility for diploma students and there were around 50 students there at the time of attack, police said. "The other student was pressing the wound with his hands to stop the blood and I had to put my hand on his mouth so that he can not scream", he said.
An interior ministry official told AFP that cellular networks have been suspended in various cities across the country for security reasons.
An operation between forces and the suspects, under the supervision of Peshawar Capital City Police Officer Tahir Khan, is still continued.
The protests finally ended just days ago under a military-brokered deal.
The Pakistani Taliban have claimed a series of high-profile attacks in the country in recent years, the deadliest being the Peshawar school massacre that left 151 people dead, including 134 children.