python DataPreProcess/process_lrs2.py --in_dir=xxxx --out_dir=DataPreProcess/LRS2_bak
Experiments/checkpoint
- Calculate the CKA matrix and save it to ./save
python similarity.py
- Use Fisher algorithm for segmentation
python Network_Partition.py
- 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
- 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