princeton-nlp / SimCSE

[EMNLP 2021] SimCSE: Simple Contrastive Learning of Sentence Embeddings https://arxiv.org/abs/2104.08821
MIT License
3.31k stars 502 forks source link

setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (750,) + inhomogeneous part. #276

Closed JYru closed 2 months ago

JYru commented 4 months ago

报错:setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (750,) + inhomogeneous part.

xiayouran commented 4 months ago

maybe the numpy version is too advanced. pip install numpy==1.23.0

github-actions[bot] commented 3 months ago

Stale issue message