Skip to content

Error: column index out of bounds #16

Description

@jfredfan

Hi - I installed ProNE (python 2.7) and was able to train embeddings for the PPI example with the command:
python proNE.py -graph data/PPI.ungraph -emb1 emb/PPI_sparse.emb -emb2 emb/PPI_spectral.emb
-dimension 128 -step 10 -theta 0.5 -mu 0.2

However, when applied on my own data it ran into the following exception. Appreciate any advice what went wrong. The input is about 50MB so I don't know how to share it for debugging. Thanks much in advance.

Traceback (most recent call last):
File "proNE.py", line 178, in
main()
File "proNE.py", line 157, in main
model = ProNE(args.graph, args.emb1, args.emb2, args.dimension)
File "proNE.py", line 31, in init
matrix0[e[0], e[1]] = 1
File "/home/m1234567/miniconda2/lib/python2.7/site-packages/scipy/sparse/lil.py", line 332, in setitem
self.rows, self.data, i, j, x)
File "_csparsetools.pyx", line 63, in scipy.sparse._csparsetools.lil_insert
File "_csparsetools.pyx", line 89, in scipy.sparse._csparsetools.lil_insert
IndexError: column index (17654) out of bounds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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