Skip to content

TypeError: query() got an unexpected keyword argument 'workers' #14

@Wei-Jushang

Description

@Wei-Jushang

Hello, I encountered an error while using it,
Traceback (most recent call last):
File "/disk_pool/weijsh/wave_deepsphere/240/net.py", line 275, in
model_2=create_model_2()
File "/disk_pool/weijsh/wave_deepsphere/240/net.py", line 265, in create_model_2
model_2 = HealpyGCNN(nside=nside, indices=indices, layers=layers, n_neighbors=40)
File "/disk_pool/weijsh/deepsphere-cosmo-tf2/deepsphere/healpy_networks.py", line 98, in init
k=self.n_neighbors, lap_type='normalized')
File "/disk_pool/weijsh/anaconda3/envs/deepsphere/lib/python3.6/site-packages/pygsp/graphs/nngraphs/spherehealpix.py", line 118, in init
**kwargs)
File "/disk_pool/weijsh/anaconda3/envs/deepsphere/lib/python3.6/site-packages/pygsp/graphs/nngraphs/nngraph.py", line 420, in init
kind, k, radius, kwargs)
File "/disk_pool/weijsh/anaconda3/envs/deepsphere/lib/python3.6/site-packages/pygsp/graphs/nngraphs/nngraph.py", line 66, in _scipy_ckdtree
distances, neighbors = tree.query(features, **params)
File "ckdtree.pyx", line 632, in scipy.spatial.ckdtree.cKDTree.query
TypeError: query() got an unexpected keyword argument 'workers'

There is the same error while executing "pytest"

python=3.6.13 scipy==1.5.4 numpy==1.19.5 tensorflow==2.6.2
hope to get the problem solved,
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions