kyegomez / PALM-E

Implementation of "PaLM-E: An Embodied Multimodal Language Model"
https://discord.gg/GYbXvDGevY
Apache License 2.0
250 stars 40 forks source link

Error duing forward pass: Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.FloatTensor instead (while checking arguments for embedding) #2

Closed kyegomez closed 1 year ago

kyegomez commented 1 year ago
[2023-08-08 03:29:00,661] [INFO] [real_accelerator.py:133:get_accelerator] Setting ds_accelerator to cuda (auto detect)
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["id2label"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["bos_token_id"]` will be overriden.
`text_config_dict` is provided which will be used to initialize `CLIPTextConfig`. The value `text_config["eos_token_id"]` will be overriden.
Non-A100 GPU detected, using math or mem efficient attention if input tensor is on cuda
torch.Size([1, 257, 1024])
torch.Size([1, 64, 1024])
torch.Size([1, 64, 50304])
torch.Size([1, 50, 50304])
torch.Size([1, 114, 50304])
Error duing forward pass: Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.FloatTensor instead (while checking arguments for embedding)
Output: None
kyegomez commented 1 year ago