Skip to content

AttributeError: Can't pickle local object 'get_batch_cell_embeddings..Dataset' #282

@thinkCodeai

Description

@thinkCodeai

I am running Tutorial_ZeroShot_Reference_Mapping.ipynb

ref_embed_adata = scg.tasks.embed_data(
adata,
model_dir,
gene_col=gene_col,
batch_size=64,
device = 'cpu',
use_fast_transformer=False
)

and I am getting this error
AttributeError: Can't pickle local object 'get_batch_cell_embeddings..Dataset'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions