Skip to content

Commit

Permalink
240509 plot new
Browse files Browse the repository at this point in the history
  • Loading branch information
khlee0192 committed May 9, 2024
1 parent 1db7b15 commit 7c3e980
Show file tree
Hide file tree
Showing 48 changed files with 92,232 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"--run_name", "main run",
"--start", "0",
"--end", "100",
"--decoder_inv_steps", "200",
"--decoder_inv_steps", "300",
"--decoder_lr", "0.001",
"--inversion_type", "new_alg",
// "--inversion_type", "dec_inv",
Expand Down
Binary file modified code/__pycache__/pipeline_rf.cpython-310.pyc
Binary file not shown.
7 changes: 5 additions & 2 deletions code/pipeline_rf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1454,8 +1454,8 @@ def dec_direct(self, x, z_answer, vae_float=None, test_beta=False, adam=False, d
z_list.append(z)
z = z_new

if i > 0:
z_dist[i-1] = ((z_list[i-1]-z_list[i]).norm().item())**2
# if i > 0:
# z_dist[i-1] = ((z_list[i-1]-z_list[i]).norm().item())

# calculating on limit area
z_comp = z
Expand All @@ -1470,6 +1470,9 @@ def dec_direct(self, x, z_answer, vae_float=None, test_beta=False, adam=False, d
print(cocoercivity_rate, z_list[i].norm().item(), EDz_i.norm().item())
# print(compare1, compare2)

for i in range(len(z_list)-1):
z_dist[i] = ((z_list[i]-z_comp).norm().item())

extra_outputs = cocoercivity_rate_array
extra_outputs_another = cocoercivity_rate_array_another
another_output = torch.Tensor(z_dist)
Expand Down
File renamed without changes.
File renamed without changes.
Binary file added savept_notuse/vanila_inf_20240506-045152.pt
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added savept_notuse/vanila_process_20240506-045152.pt
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added savept_notuse/z_list_20240506-045152.pt
Binary file not shown.
276 changes: 276 additions & 0 deletions wandb/debug-cli.icl2.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wandb/debug-internal.log
2 changes: 1 addition & 1 deletion wandb/debug.log
2 changes: 1 addition & 1 deletion wandb/latest-run
Loading

0 comments on commit 7c3e980

Please sign in to comment.