Skip to content

Commit

Permalink
Merge branch 'aluo-x-master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeff committed Mar 18, 2021
2 parents ebef266 + 1571a8b commit 849016d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -59,7 +59,7 @@ conda create --name deepsphere python=3.7
source activate deepsphere
pip install git+https://github.com/Droxef/pygsp.git@6b216395beae25bf062d13fbf9abc251eeb5bbff#egg=PyGSP
pip install git+https://github.com/epfl-lts2/pygsp.git@39a0665f637191152605911cf209fc16a36e5ae9#egg=PyGSP
conda install pytorch=1.3.1 torchvision=0.4.2 cudatoolkit=10.0 -c pytorch
Expand Down
2 changes: 1 addition & 1 deletion deepsphere/layers/samplings/healpix_pool_unpool.py
Expand Up @@ -44,7 +44,7 @@ def forward(self, x):
if self.return_indices:
x, indices = F.max_pool1d(x, self.kernel_size)
else:
x = F.max_pool1d(x)
x = F.max_pool1d(x, self.kernel_size)
x = x.permute(0, 2, 1)

if self.return_indices:
Expand Down
4 changes: 2 additions & 2 deletions deepsphere/utils/laplacian_funcs.py
Expand Up @@ -99,8 +99,8 @@ def get_healpix_laplacians(nodes, depth, laplacian_type):
laps = []
for i in range(depth):
pixel_num = nodes
resolution = int(healpix_resolution_calculator(pixel_num)/2**i)
G = SphereHealpix(nside=resolution, n_neighbors=None)
subdivisions = int(healpix_resolution_calculator(pixel_num)/2**i)
G = SphereHealpix(subdivisions)
G.compute_laplacian(laplacian_type)
laplacian = prepare_laplacian(G.L)
laps.append(laplacian)
Expand Down

0 comments on commit 849016d

Please sign in to comment.