Skip to content

julyanghar/ICME2025-SEP-Purne

Repository files navigation

Dataset preprocess

python DataPreProcess/process_lrs2.py --in_dir=xxxx --out_dir=DataPreProcess/LRS2_bak

Dataset

训练:./Look2hear/DataPreProcess/LRS2_bak/tr

验证:./Look2hear/DataPreProcess/LRS2_bak/cv

测试:./Look2hear/DataPreProcess/LRS2_bak/tt

Checkpoints

Experiments/checkpoint

代码运行

  1. Calculate the CKA matrix and save it to ./save
python similarity.py 
  1. Use Fisher algorithm for segmentation
python Network_Partition.py
  1. Reload the original model weights in replace_layer_initialization, and finally run the evaluation code to get the layers that need to be retained. Finally, we get Remaining layers: [0,1,2,3]
python Reassembly.py   
  1. Prune layer 4 of TDANet in audio_test.py and test the inference result.
python audio_test.py  --conf_dir Experiments/checkpoint/TDANet/conf.yml

About

ICME2025-SEP-Purne

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages