how can I deal with the memory allocation problem?
my code is the following:
predictions_high = celltypist.annotatea(
adata_celltypist, model = model_high, majority_voting=True
)
the track:
🔬 Input data has 10763 cells and 20848 genes
🔗 Matching reference genes in the model
🧬 5645 features used for prediction
⚖️ Scaling input data
🖋️ Predicting labels
✅ Prediction done!
👀 Detected a neighborhood graph in the input object, will run over-clustering on the basis of it
⛓️ Over-clustering input data with resolution set to 10
The error reports
MemoryError: Unable to allocate 1.67 GiB for an array with shape (224387024,) and data type float64
Output is truncated.
how can I deal with the memory allocation problem?
my code is the following:
the track: 🔬 Input data has 10763 cells and 20848 genes 🔗 Matching reference genes in the model 🧬 5645 features used for prediction ⚖️ Scaling input data 🖋️ Predicting labels ✅ Prediction done! 👀 Detected a neighborhood graph in the input object, will run over-clustering on the basis of it ⛓️ Over-clustering input data with resolution set to 10
The error reports
MemoryError: Unable to allocate 1.67 GiB for an array with shape (224387024,) and data type float64 Output is truncated.
Thanks