Skip to content

Error when running the example:KeyError: 'num_nodes' #2

Open

Description

@hah2468

Hi, I cloned the repo and tried to run the example, but I got an error. Where is the problem:

python DeepLinc.py -e ./dataset/seqFISH/counts.csv -a ./dataset/seqFISH/adj.csv -c ./dataset/seqFISH/coord.csv -r ./dataset/seqFISH/cell_type_1.csv


DeepLinc: De novo reconstruction of cell interaction landscapes from single-cell spatial transcriptome data
**************************************************************************************************************s

======== Parameters ========
Cell number: 1597
Gene number: 125
Predefined local connection number: 2863.0
iteration: 2

Traceback (most recent call last):
File "DeepLinc.py", line 136, in
deeplinc = Deeplinc(var_placeholders, feas['num_features'], feas['num_nodes'], feas['features_nonzero'], args.encode_dim[0], args.encode_dim[1])
KeyError: 'num_nodes'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions