beichenzbc / Long-CLIP

[ECCV 2024] official code for "Long-CLIP: Unlocking the Long-Text Capability of CLIP"
Apache License 2.0
694 stars 33 forks source link

A question #65

Closed xylovezxy closed 2 months ago

xylovezxy commented 3 months ago

Hello, may I process the data as a numpy array as input instead of Tensor?

beichenzbc commented 3 months ago

The code is based on pytorch, the supported data type is tensor. And numpy array can be transferred to tensor easily.