Valid index combinations #45
-
I am training various CEBRA models, and all of the single-subject models are working fine. One example model specification is below:
When I switch to multi-subject training, I am getting invalid index errors in certain cases. Some of the explanations make sense to me: For example, multi-subject training does not currently support both continuous and discrete labels. However, some of the invalid index combinations do not make sense to me. Namely, training a multi-subject dataset with hybrid false and either continuous or discrete labels (but not both) will work as long as batch_size is specified. But if I set batch_size to
Also, it seems that multi-subject models cannot be trained across time (either through conditional = 'time' or through 'time_delta' with hybrid = True) -- is this an inherent limitation of CEBRA, or is it simply not a feature that is implemented yet? I have been unable to find documentation about what combinations are invalid (and why that is so). Finally, do you have any information on if/when hybrid training for multi-subject models will be implemented (outside of the PyTorch API)? Any help or explanation is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ErnestJohnston thanks for your interest in cebra.
|
Beta Was this translation helpful? Give feedback.
Hi @ErnestJohnston thanks for your interest in cebra.
time only isn't possible in this multisession training; there is nothing then to anchor across the datasets, hence an auxiliary "behavior" label is needed.
for full combinations of every setting no we don't have s table or such, but as error message notes, more is available in the pytorch API, this is mainly due to time of my lab and resources allocated to software engineering vs research 😀. More will come but if there is a particular set up blocking you, let us know!
batchsize is always relevant as its related to the loss value, and how data is sampled; see model description here, https://www.nature.com/articles/s41586-023-06031-6…