-
Notifications
You must be signed in to change notification settings - Fork 52
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
Mefisto error - ValueError: operands could not be broadcast together with shapes (10,1) (23,1) #147
Comments
Dear Saumya, I have not encountered this error before. Could you also share the print-out of the untrained MOFA model and the covariates slot of it (MOFAobject_untrained@covariates)? Did you modify any of the training, model options or use the default? Thanks, |
Dear Britta, Please see below the printout:
$start_opt $n_grid $opt_freq $model_groups $sparseGP $frac_inducing $warping $warping_freq $warping_ref $warping_open_begin $warping_open_end $warping_groups $new_values Regarding covariates, here it is:
$nonICU_NR $R |
Looks good from the distance - can you trace back which step in the model the error comes from? You can also share the untrained model (e.g. with only one or a few features) with me via our Slack channel or mail and I am happy to take a look. |
Hi Britta, Best, |
Hello, Thanks |
Hello,
I am trying to use Mefisto on my dataset of RNA-seq (pseudobulk/donor of scRNA-seq only 1 cell subset ). I am giving time points as the covariate to evaluate the temporal dynamics of my samples. I also have 3 groups and I want to find common and differences in the temporal dynamics for these groups. But using the run_mofa() on my dataset, I get the following msgs and the error:
use_float32 set to True: replacing float64 arrays by float32 arrays to speed up computations...
Successfully loaded view='pseudobulk_RNA' group='ICU_NR' with N=10 samples and D=23923 features...
Successfully loaded view='pseudobulk_RNA' group='nonICU_NR' with N=23 samples and D=23923 features...
Successfully loaded view='pseudobulk_RNA' group='R' with N=10 samples and D=23923 features...
Loaded 1 covariate(s) for each sample...
Model options:
Likelihoods:
Smooth covariate framework is activated. This is not compatible with ARD prior on factors. Setting ard_factors to False...
Error: ValueError: operands could not be broadcast together with shapes (10,1) (23,1)
In addition: Warning message:
In run_mofa(mefisto) :
No output filename provided. Using /vol/tmp/RtmpcHXgYH/mofa_20240221-141933.hdf5 to store the trained model.
Can you please suggest what is going wrong here? What am I missing here?
Thanks,
Saumya
The text was updated successfully, but these errors were encountered: