Skip to content

Commit

Permalink
Clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusarvinte committed Mar 19, 2023
1 parent 3f5f557 commit 68f7fb9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions aux_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ def forward(self, sample, num_unrolls):

# Travel a small amount
eps = torch.maximum(torch.amax(torch.abs(r), dim=(-1, -2),
keepdim=False) * 1e-3,
self.safety_min)
keepdim=False) * 1e-3, self.safety_min)
if self.logging:
eps_log.append(copy.deepcopy(eps.cpu().detach().numpy()))

Expand Down
3 changes: 0 additions & 3 deletions inference.sh

This file was deleted.

2 changes: 1 addition & 1 deletion test_l1Fourier_lifted.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
complete_log = np.zeros((len(spacing_range), len(alpha_range),
len(lmbda_range), len(lr_range),
len(snr_range), gd_iter, kept_samples))
result_dir = './results/l1_baseline_lifted%d/train-%s_test-%s' % (
result_dir = './results/l1CS_lifted%d/train-%s_test-%s' % (
lifting, args.train, args.test)
os.makedirs(result_dir, exist_ok=True)

Expand Down
2 changes: 1 addition & 1 deletion test_ldamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
nmse_log = np.zeros((len(spacing_range), len(pilot_alpha_range),
len(snr_range), num_channels))
# Result directory
result_dir = './results/ldamp_train-%s_test-%s' % (
result_dir = './results/ldamp/train-%s_test-%s' % (
args.train, args.test)
os.makedirs(result_dir, exist_ok=True)

Expand Down

0 comments on commit 68f7fb9

Please sign in to comment.