Giter Site home page Giter Site logo

Comments (3)

VHRanger avatar VHRanger commented on July 19, 2024

So the value on the left hand side or your error (2147483649) is (2**31) or INT32_MAX. This is normally indicative that we've overrun some int32 value.

Would it be possible to send me the file you're trying to load through a Google Drive/OneDrive/Dropbox link?

It's definitely a bug in my csrgraphs package, but I'm not sure what's causing the edge source array passed to np.bincount to have a max value greater than INT32_MAX

from nodevectors.

VHRanger avatar VHRanger commented on July 19, 2024

Also note the pandas read_csv warning when you load the graph. This might help:

https://stackoverflow.com/questions/24251219/pandas-read-csv-low-memory-and-dtype-options

My first guess with your problem is that pandas loads a column in your huge CSV file in np.int32 while it should be in np.int64 because some node IDs are larger than INT32_MAX

Also: please update the csrgraph library with pip install --upgrade csrgraph, the latest version fixed some evil edgelist reading bug

from nodevectors.

VHRanger avatar VHRanger commented on July 19, 2024

Since this isn't being expanded upon, and I can't replicate it, I'll close the issue.

Please message me or reopen an issue if you run into anything, or this persists

from nodevectors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.