Skip to content

Having difficulties in replicating experiment #3

Open
@fine20030510

Description

@fine20030510

Hi! Your work is excellent!
I copy your source code and data, and I tried to run your code.
But some error happened.

File "/data/Python-Super/super/deform_mesh.py", line 644, in forward
loss, losses, boundary_edge_type, boundary_face_type = self.get_losses(i, deform_verts, inputs, trg, src, src_graph, new_verts, src_edge_index, models, init_iter=i==0)
File "/data/Python-Super/super/deform_mesh.py", line 477, in get_losses
point_plane_loss = DataLoss.autograd_forward(self.opt, inputs, self.new_data, trg,
File "/data/Python-Super/super/loss.py", line 395, in autograd_forward
sample_trg, _, sample_valid = bilinear_sample([trg.points, trg.norms, trg.seg_conf],
File "/data/Python-Super/super/loss.py", line 86, in bilinear_sample
U_nm_valid = U_nm_valid.view(len(U_nm_valid), -1)
RuntimeError: cannot reshape tensor of 0 elements into shape [0, -1] because the unspecified dimension size -1 can be any value and is ambiguous

Can you help you solve this problem?
Looking forward to you reply!

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