MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / PVCNN2

Class PVCNN2

test_generation.py:249–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247
248
249class PVCNN2(PVCNN2Base):
250 sa_blocks = [
251 ((32, 2, 32), (1024, 0.1, 32, (32, 64))),
252 ((64, 3, 16), (256, 0.2, 32, (64, 128))),
253 ((128, 3, 8), (64, 0.4, 32, (128, 256))),
254 (None, (16, 0.8, 32, (256, 256, 512))),
255 ]
256 fp_blocks = [
257 ((256, 256), (256, 3, 8)),
258 ((256, 256), (256, 3, 8)),
259 ((256, 128), (128, 2, 16)),
260 ((128, 128, 64), (64, 2, 32)),
261 ]
262
263 def __init__(self, num_classes, embed_dim, use_att,dropout, extra_feature_channels=3, width_multiplier=1,
264 voxel_resolution_multiplier=1):
265 super().__init__(
266 num_classes=num_classes, embed_dim=embed_dim, use_att=use_att,
267 dropout=dropout, extra_feature_channels=extra_feature_channels,
268 width_multiplier=width_multiplier, voxel_resolution_multiplier=voxel_resolution_multiplier
269 )
270
271
272

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68