Comments (7)
I haven't met this error before. My leidenalg version is 0.8.7.
It seems to me that the error might be from the input data as it says Weight vector not the same size as the number of edges
. I wonder what data are you using and can you double-check if the input adata
is correct?
from const.
First I tried to run your code as it was without making any changes and received this error,
next I retrained the model on slice 151507 from the spatialLIBD data set as provided in the Google Drive Link in Readme.md.
But still facing with the same error.
from const.
can you post a link to your adata
so that I can check what's going wrong?
from const.
@ys-zong
I checked the weights of data and found to be equal.
When I dig deeper, this issue seems to be related to compatibility of leidenalg and python i-graph,
As mentioned scverse/scanpy#2339 on scanpy issues.
I tried all the solutions in the comments but was of no success.
Could you please provide which exact versions of python-igraph / igraph you were using.
Thanks
from const.
I'm using pythton-igraph 0.9.6
from const.
Using leidenalg=0.8.7 an pythton-igraph=0.9.6 finally fixed the issue.
I tried various combinations of versions but nothing worked.
Also, no solution on scverse/scanpy#2339 was of use.
It would be greate if you can mention this requirement in readme file.
Thanks @ys-zong
from const.
leidenalg
0.9.x requiresigraph
0.10.xleidenalg
0.8.x requiresigraph
0.9.x
If you use the latest version of both (leidenalg 0.9.0 and igraph 0.10.2), things should work fine. If you see an incompatibility between these specific versions, you should probably report it to leidenalg.
from const.
Related Issues (8)
- function contrastive_loss loss HOT 1
- wrong input_dims when use_img HOT 3
- "RuntimeError Unknown model" in MAE Feature Extraction HOT 5
- The problem encountered in extracting features from spot patches HOT 2
- Hello, can you confirm that the torchvision version is indeed 0.9.2? HOT 2
- conST_151673.pth
- Licence HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from const.