-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
positional encodings #23
Comments
Hi Makky, Thanks for your interest! I think you are referring to the same issue here and this is indeed a good catch. #19 (comment) |
Hi @wehos, Thank you so much for your reply. |
(1) I did not see "order_required" in fit functions' parameters. If you are referring to the inference function as below, CellPLM/CellPLM/pipeline/imputation.py Line 36 in b59ee76
If the cell order is not asked to be preserved, to save time, the model will only infer on specified splits, e.g., validation or test. The returned prediction will not cover all the cells, and the order of predictions is not guaranteed. In this case, we mostly care about the loss instead of the prediction. If we also need the prediction, the dataset split will be ignored and all the cells will be predicted and returned in the original order. (2) All the codes in this github repo were uploaded at a certain point after we finished our manuscript. I have checked on my private github repo and noticed that the problematic codes were modified on Sep 15, 2023 (our manuscript was first submitted to NeurIPS in May 2023). I believe this change was made when I fine-tuned the model for scRNA-seq data. For now, feel free to remove the comment on spatial transcriptomics data. Changelog from my private repo (the link is for reference purpose but is not public available):
|
Hi @wehos,
I really like your work and how you organized the codebase 🙂
I have a question about the positional encodings.
I noticed that in the code, the PE are added to the xy coordinates, but it = 0, so I cannot see how the model learned about the cell-cell interactions.
Thanks,
Makky
The text was updated successfully, but these errors were encountered: