Skip to content

Commit b9e7465

Browse files
committed
Add --ensure_connected to tps_baseline
1 parent 82cfea3 commit b9e7465

File tree

4 files changed

+10
-407
lines changed

4 files changed

+10
-407
lines changed

eval/path_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def plot_path_energy(paths, U, reduce=jnp.max, add=0, already_ln=False, **kwargs):
7-
reduced = jnp.array([reduce(U(path)) for path in paths]) + add
7+
reduced = jnp.array([reduce(U(path)) for path in tqdm(paths)]) + add
88

99
if already_ln:
1010
# Convert reduced to log10

0 commit comments

Comments
 (0)