Skip to content

IndexError: The shape of the mask [208] at index 0 does not match the shape of the indexed tensor [39, 85] at index 0 #40

@Oratacth

Description

@Oratacth

This error occurs when I use TCMR to replace the TemporalEncoder module of the VIBE network. How do I modify the parameters

File "train.py", line 159, in
main(cfg)
File "train.py", line 151, in main
debug_freq=cfg.DEBUG_FREQ,
File "D:\PROJECT\VIBE-master\lib\core\trainer.py", line 319, in fit
self.train()
File "D:\PROJECT\VIBE-master\lib\core\trainer.py", line 193, in train
scores=scores
File "D:\anaconda\envs\vibe\lib\site-packages\torch\nn\modules\module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "D:\PROJECT\VIBE-master\lib\core\loss.py", line 96, in forward
pred_theta = pred_theta[w_smpl]
IndexError: The shape of the mask [208] at index 0 does not match the shape of the indexed tensor [1105] at index 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions