Skip to content
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

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

Open
hah2468 opened this issue Oct 10, 2022 · 0 comments
Open

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

hah2468 opened this issue Oct 10, 2022 · 0 comments

Comments

@hah2468
Copy link

hah2468 commented Oct 10, 2022

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant