Skip to content

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

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

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

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