About the generation of 2D coordinates codebook
LinfengYuan1997 opened this issue · 5 comments
LinfengYuan1997 commented
Thanks for your excellent work!
I am wondering how to produce the embedding codebook for integer 2D coordinates. Maybe sin positional embedding?
joellliu commented
Hi, in our work the embedding for each grid point of the 2D codebook is learned during training.
LinfengYuan1997 commented
Thanks for you quick response~
LinfengYuan1997 commented
Could you please refer me to the code involving the translation and interpolation process from the floating point coordinates to the embeddings. Your project code is detailed and a bit large in scale.
joellliu commented
Hi this is the interpolation code
LinfengYuan1997 commented
Hi this is the interpolation code
Many thanks!!!