EmbExtractor type error
#406
by
saranyabalachandran
- opened
Dear team,
thank you for the great tool. I have been trying to implement the perturbation workflow on my dataset and I face the following error when I extract the embeddings with get_state_embs() function
RuntimeError: Expected tensor for argument #1 'indices' to have one of the following scalar types: Long, Int; but got torch.cuda.FloatTensor instead (while checking arguments for embedding)
I have only 2 states, start and goal.
Thank you for the question - could you please send the full error trace for context?
Thank you for including the full error trace! We would suggest checking your tokenized dataset to ensure that each label is of the same type within that label and that your input_ids are all integer token IDs as expected.
ctheodoris
changed discussion status to
closed