-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
Dear maintainers,
The published tutorials for state tx train use data.kwargs.embed_key=X_hvg \ so the ST model is trained using 2000 HVGs.
But in the preprint, it is mentioned that ST can be trained using a combined loss on both SE embeddings and the gene expression values, where loss in the gene expression space is downweighted by 0.1.
I searched through the code and couldn't find a way to train ST from scratch using this technique. I have some questions related to this:
- If I use
state tx train data.kwargs.embed_key=X_stateis the loss only on the SE embeddings? - If yes, how do I implement the combined loss and the latent-to-gene decoder?
output_space? There are also many decoder-related arguments which are not clearly explained. - The default setting of
decoder_loss_weightis set to 1.0 rather than 0.1 as in the preprint, which confused me further.
In the end I want to train ST models with and without SE embeddings, and this is currently not explained in the tutorial. I would really appreciate your help in this.
jwang-580, supergolem, yanwu2014, Chenbio2021, Newgithuber3 and 1 morer-sayar
Metadata
Metadata
Assignees
Labels
No labels