Skip to content

fix(preprocess-h36m): assertion compares array to int due (+1 more) - #63

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/preprocess-h36m-assorted-a989a765
Open

fix(preprocess-h36m): assertion compares array to int due (+1 more)#63
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/preprocess-h36m-assorted-a989a765

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 27, 2026

Copy link
Copy Markdown

Small fixes in preprocess/preprocess_h36m.py:

fix: assertion compares array to int due to misplaced parens

Fix: Replace:

            assert(len(seq['gt_jpos'] == num_fr))

with:

            assert(len(seq['gt_jpos']) == num_fr)

fix: store_true args default True and cannot be disabled

Fix: Replace:

    parser.add_argument('--convert_image', action='store_true', default=True)
    parser.add_argument('--use_smpl_fit', action='store_true', default=True)

with:

    parser.add_argument('--convert_image', action='store_true', default=False)
    parser.add_argument('--use_smpl_fit', action='store_true', default=False)

Files changed

  • preprocess/preprocess_h36m.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