Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYueFt committed Jun 28, 2019
1 parent 2355c94 commit 72375d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_graph_feature(x, k=20, idx=None):
feature = feature.view(batch_size, num_points, k, num_dims)
x = x.view(batch_size, num_points, 1, num_dims).repeat(1, 1, k, 1)

feature = torch.cat((feature, x), dim=3).permute(0, 3, 1, 2)
feature = torch.cat((feature-x, x), dim=3).permute(0, 3, 1, 2)

return feature

Expand Down

0 comments on commit 72375d3

Please sign in to comment.