VSS-CFFM icon indicating copy to clipboard operation
VSS-CFFM copied to clipboard

some question about code

Open xiaobai65 opened this issue 2 years ago • 1 comments

Thanks for your excellent work, but i can not understand some parts of your code, like ./model/cffm_transformer.py the focal_window and focal_level is mean what?

xiaobai65 avatar May 09 '22 04:05 xiaobai65

Thanks for your interest. Basically, "focal_window" controls the receptive field when generating contexts using the target feature. In our paper, we have two parameters for this: receptive field r_t^{'} and pooling kernel p_t^{'}. And r_t^{'} = p_t^{'}*focal_window. For "focal_level", it is a dummy variable and always set to 2, as default. Please let me know if you have further questions.

GuoleiSun avatar Feb 03 '24 16:02 GuoleiSun