Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions LION/operators/CompositeOp.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,4 @@ def domain_shape(self) -> tuple[int, ...]:
@property
def range_shape(self) -> tuple[int, ...]:
"""Return the shape of the measurement range."""
# Opposite of domain_shape of wavelet since wavelet is Psi^{-1}
return self.wavelet.domain_shape
return self.phi.range_shape
3 changes: 1 addition & 2 deletions LION/operators/DebiasOp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from __future__ import annotations

from tabnanny import verbose

import torch
from tqdm import tqdm

Expand Down Expand Up @@ -113,6 +111,7 @@ def debias_ls(
max_iter: int = 200,
tol: float = 1e-5,
progress_bar: bool = False,
verbose: bool = False,
) -> torch.Tensor:
"""Debiasing least squares on the support of w.

Expand Down
Loading