Skip to content

'tuple' object has no attribute 'unsqueeze' #82

@zhamao628

Description

@zhamao628

2025-03-27 09:08:20,819 INFO [test_real_data.py:61] Loading checkpoint from D:/GPS-Gaussian-main/GPS-Gaussian-main/checkpoints/GPS-GS_stage2_final.pth ...
2025-03-27 09:08:20,918 INFO [test_real_data.py:64] Parameter loading done
0%| | 0/450 [00:00<?, ?it/s]
Traceback (most recent call last):
File "D:\GPS-Gaussian-main\GPS-Gaussian-main\test_real_data.py", line 92, in
render.infer_seqence(view_select=arg.src_view, ratio=arg.ratio)
File "D:\GPS-Gaussian-main\GPS-Gaussian-main\test_real_data.py", line 42, in infer_seqence
data = pts2render(data, bg_color=self.cfg.dataset.bg_color)
File "D:\GPS-Gaussian-main\GPS-Gaussian-main\lib\GaussianRender.py", line 37, in pts2render
render_novel_list.append(render_novel_i.unsqueeze(0))
AttributeError: 'tuple' object has no attribute 'unsqueeze'
help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions