mirror of
https://github.com/wassname/Pointnet2_PyTorch.git
synced 2026-06-27 16:00:07 +08:00
Some updates
This commit is contained in:
@@ -88,9 +88,8 @@ class Pointnet2MSG(nn.Module):
|
||||
npoint=512,
|
||||
radii=[0.1, 0.2, 0.4],
|
||||
nsamples=[32, 64, 128],
|
||||
mlps=[[input_channels, 32, 32,
|
||||
64], [input_channels, 64, 64, 128],
|
||||
[input_channels, 64, 96, 128]]
|
||||
mlps=[[input_channels, 64], [input_channels, 128],
|
||||
[input_channels, 128]]
|
||||
)
|
||||
)
|
||||
|
||||
@@ -100,9 +99,8 @@ class Pointnet2MSG(nn.Module):
|
||||
npoint=128,
|
||||
radii=[0.2, 0.4, 0.8],
|
||||
nsamples=[16, 32, 64],
|
||||
mlps=[[input_channels, 64, 64,
|
||||
128], [input_channels, 128, 128, 256],
|
||||
[input_channels, 128, 128, 256]]
|
||||
mlps=[[input_channels, 128], [input_channels, 256],
|
||||
[input_channels, 256]]
|
||||
)
|
||||
)
|
||||
self.SA_modules.append(
|
||||
@@ -136,7 +134,6 @@ if __name__ == "__main__":
|
||||
model = Pointnet2MSG(3)
|
||||
model.cuda()
|
||||
|
||||
|
||||
optimizer = optim.Adam(model.parameters(), lr=1e-2)
|
||||
|
||||
model_fn = model_fn_decorator(nn.CrossEntropyLoss())
|
||||
|
||||
Reference in New Issue
Block a user