Comments (10)
Hello,
Thanks for your interest in deepsphere
!
The package needs a special PyGSP, which should be installed with the requirements. You can reinstall it via:
pip install git+https://github.com/jafluri/pygsp.git@sphere-graphs
and try if this fixes your issue. What python version are you using?
from deepsphere-cosmo-tf2.
Hi
Thanks for your prompt reply. I have installed the given PyGSP version from the link, but the issue seems to remain the same. I am using python 3.10.5.
Many Thanks
from deepsphere-cosmo-tf2.
I cannot reproduce this issue. I just created a new 3.10 environment and get the correct dependencies with the requirements install.
Could you send me the output of pip freeze
?
Can you try to create a fresh venv / conda env?
Otherwise, because the PyGSP version is quite low, you might need to force a reinstall:
pip install --force-reinstall git+https://github.com/jafluri/pygsp.git@sphere-graphs
from deepsphere-cosmo-tf2.
Hi
Thanks for the advice. I shall try this with fresh conda env.
pip freeze produced a huge list with versions of installed packages etc. Not sure if you wanted to see that.
PyGSP, which I found there, is 0.5.1. probably this version is causing my issue.
Many Thanks
from deepsphere-cosmo-tf2.
Hi,
Thanks for your help. I have been able to insall deepsphere in a fresh conda env. There is still, however, a conflict sustained with the tensorflow and numpy version.
An error prompted from healpy_networks.py script, at the line 70.
The Error reads: module 'numpy' has no attribute 'int'.
np.int
was a deprecated alias for the builtin int
. To avoid this error in existing code, use int
by itself. Doing this will not modify any behavior and is safe. When replacing np.int
, you may wish to use e.g. np.int64
or np.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Many Thanks
from deepsphere-cosmo-tf2.
You are right, the newest version of numpy removes np.int
, so I replaced it with python standard ints. If you have not already changed it yourself, pull the repo should fix it.
from deepsphere-cosmo-tf2.
Hi,
Yes, I have replaced it. Another conflict I encountered is that the specified Scipy version is not compatible with the current python version. New version of scipy promts the following error:
File _ckdtree.pyx:783, in scipy.spatial._ckdtree.cKDTree.query()
File _ckdtree.pyx:387, in scipy.spatial._ckdtree.get_num_workers()
TypeError: Unexpected keyword argument {'n_jobs': -1}
This is because the 'n_jobs' argument has been renamed in the new version of scipy. I am not entirely sure how to work around that. Thanks a lot for your continuous support.
Many Thanks
Wasim
from deepsphere-cosmo-tf2.
Yes, makes sence, the PyGSP is on the same decrepated version of numpy and scipy as deepsphere was. I just updated the repo, please reinstall PyGSP via:
pip install --force-reinstall git+https://github.com/jafluri/pygsp.git@sphere-graphs
and try again.
from deepsphere-cosmo-tf2.
Hi,
Thanks for the update. It works now. I cannot thank you enough for this great package that you ( and your team) have developed. You have done service to humanity.
Easter Greetings to you. Have a wonderful time.
Many Thanks
Wasim
from deepsphere-cosmo-tf2.
Thanks, glad that it works!
Happy Easter.
from deepsphere-cosmo-tf2.
Related Issues (8)
- TPU support HOT 2
- Speedup by removing loops from Chebyshev polynomail computation HOT 4
- Regarding the Autoencoder model HOT 4
- ValueError: All layers added to a Sequential model should have unique names. HOT 2
- Error saving model HOT 6
- I have one question about pytest tests and notebook, HOT 4
- Conda install deeps-here HOT 5
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 deepsphere-cosmo-tf2.