lucidrains / CoCa-pytorch

Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch
MIT License
1.04k stars 88 forks source link

pad_dim_to() is not implemented #18

Closed aspartate closed 11 months ago

aspartate commented 11 months ago

The implementation for pad_dim_to() seems to be missing from coca_pytorch.py.

https://github.com/lucidrains/CoCa-pytorch/blob/0d3f2521a5126e7cc7e58a2374754502944562c7/coca_pytorch/coca_pytorch.py#L29C16-L29C26

lucidrains commented 11 months ago

@aspartate 🤦 thanks!

aspartate commented 11 months ago

Wow! Thank you for the fast reply!

lucidrains commented 11 months ago

you're welcome amino acid stranger