Skip to content

missing 'valid_mask' #2

@lixinzhan98

Description

@lixinzhan98

Thanks for the excellent work!
I reported the following error in eval:

sh run/eval.sh # single GPU evaluation

Traceback (most recent call last):
File "/home/user/PycharmProjects/M3GS/m3-spatial-main/render_metrics.py", line 293, in
render_sets(
File "/home/user/PycharmProjects/M3GS/m3-spatial-main/render_metrics.py", line 232, in render_sets
render_set(
File "/home/user/PycharmProjects/M3GS/m3-spatial-main/render_metrics.py", line 163, in render_set
if torch.isnan(l2_loss(raw_feature, gt_feature)) or torch.isnan(cosine_loss(raw_feature, gt_feature, dim=-1)):
TypeError: cosine_loss() missing 1 required positional argument: 'valid_mask'

How is valid_mask obtained, looking forward to your reply!

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