Clothing-invariant gait identification using part-based clothing categorization and adaptive weight control