Skip to content

fix(eval-dataset): torch.torch.set_grad_enabled call (+1 more) - #47

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/eval-dataset-assorted-f656334b
Open

fix(eval-dataset): torch.torch.set_grad_enabled call (+1 more)#47
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/eval-dataset-assorted-f656334b

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Small fixes in global_recon/eval_dataset.py:

fix: torch.torch.set_grad_enabled call raises AttributeError

Fix: Replace:

torch.torch.set_grad_enabled(False)

with:

torch.set_grad_enabled(False)

fix: evaluation loop only processes first two sequences

Fix: Replace:

for sind, seq_name in enumerate(sequences[:2]):

with:

for sind, seq_name in enumerate(sequences):

Files changed

  • global_recon/eval_dataset.py

@andrewwhitecdw
andrewwhitecdw marked this pull request as ready for review August 3, 2026 22:08
@andrewwhitecdw

Copy link
Copy Markdown
Author

Closing this sweep-generated PR: sole commit is missing a valid Signed-off-by trailer. It does not meet the sweep requirements (single signed-off commit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant