Found dtype Long but expected Float

#321
by yehuicheng - opened

Hello,Thank you for answering questions enthusiastically in the previous discussions.
I want to ask, I have half a million of data, also appeared "Value 2147486083 too large to fit in C integer type" problem, in the set use_generator: Bool to True, appeared the token file.Now,I want to fine-tune this set of data cell classifing, but appeared to report an error "Found dtype Long but expected Float", how to solve it?

image.png

image.png

image.png

Thanks for your question! I would suggest checking the dtypes of your class labels to ensure they are all of the same type. Also, if you aren't already, you may consider using the current updated code for classification. https://geneformer.readthedocs.io/en/latest/geneformer.classifier.html

ctheodoris changed discussion status to closed

Sign up or log in to comment