| AttnEncoderBlock |
Ran ran on a synthesized input |
smfirmin/DeepLearningFinalProject/pointnet/model.py code served (permissive licence) · get_code("89dc188151d58f24") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 64, 2500) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
class AttnEncoderBlock(nn.Module):
def __init__(self, device, embed_dim=64, num_heads=2, norm='batch1d', dim_ff=128):
super(AttnEncoderBlock, self).__init__()
self.device = device
self.num_heads = num_heads
self.embed_dim = embed_dim
self.dim_ff = dim_ff
self.attn = nn.MultiheadAttention(embed_dim=self.embed_dim, num_heads=self.num_heads, batch_first=True)
self.ff1 = nn.Linear(64, self.dim_ff)
self.ff2 = nn.Linear(self.dim_ff, 64)
self.relu = nn.ReLU()
if norm == 'batch1d':
self.norm1 = nn.BatchNorm1d(2500)
self.norm2 = nn.BatchNorm1d(2500)
elif norm == 'layer':
self.norm1 = nn.LayerNorm(64)
self.norm2 = nn.LayerNorm(64)
def forward(self, x):
x = x.transpose(2, 1)
sa = self.attn(x, x, x)[0]
x = self.norm1(x + sa)
x = self.norm2(x + self.ff2(self.relu(self.ff1(x))))
x = x.transpose(2, 1)
return x
INIT_ARGS = {
'device': 'cpu',
'embed_dim': 64,
'num_heads': 2,
'norm': 'layer',
'dim_ff': 128
}
ARGS = {
'x': torch.randn(2, 64, 2500)
}
if __name__ == '__main__':
model = AttnEncoderBlock(**INIT_ARGS)
output = model(**ARGS)
print(f"Output shape: {output.shape}")
print(f"Expected shape: {ARGS['x'].shape}")
assert output.shape == ARGS['x'].shape, f"Shape mismatch: {output.shape} vs {ARGS['x'].shape}"
print("Success!")
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float, shape (2, 64, 2500) — shape (2, 64, 2500) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| BasePointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
romaintha/pytorch_pointnet/model/pointnet.py code served (permissive licence) · get_code("6a7f90648d711cdc") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, BasePointNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
ARGS = {
"point_dimension": 3,
"return_local_features": False,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type BasePointNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BasePointNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| ChamferDistance |
Ran ran on a synthesized input |
YanWei123/Pointnet_encoder_Foldingnet_decoder_quantization/pointnet.py code served (permissive licence) · get_code("2bb949769eebab26") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
# Create two point clouds with compatible dimensions
# x and y must have:
# - Same batch size (dimension 0)
# - Same feature dimension (dimension 2)
# - Different point counts (dimensions 1)
batch_size = 2
num_points_x = 4
num_points_y = 3
feature_dim = 5
x = torch.randn(batch_size, num_points_x, feature_dim)
y = torch.randn(batch_size, num_points_y, feature_dim)
ARGS = {
"x": x,
"y": y,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| ClassificationPointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
romaintha/pytorch_pointnet/model/pointnet.py code served (permissive licence) · get_code("0ba84a38091fc6f1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ClassificationPointNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
ARGS = {
'num_classes': 10,
'dropout': 0.3,
'point_dimension': 3,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type ClassificationPointNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClassificationPointNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| ConvBlock |
Ran ran on a synthesized input · constructed an object; no result was computed |
debajyotid2/pointnet_pl/src/model.py pointer only (licence: NONE) · get_code("b5cf4f63f0bd5977") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, debajyotid2/pointnet_pl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| ConvBlock |
Ran ran; our contract draft was wrong, not the code |
PaParaZz1/PointNet/network.py code served (permissive licence) · get_code("0500691c048885c9") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
ARGS = {
'in_channels': 3,
'out_channels': 16,
'kernel_size': 5,
'stride': 1,
'padding': 2,
'init_type': 'kaiming',
'activation': nn.ReLU(),
'use_batchnorm': True
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| ConvBlockSequential |
Ran ran; our contract draft was wrong, not the code |
PaParaZz1/PointNet/network.py code served (permissive licence) · get_code("d35a1145885d3159") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.nn.init import xavier_normal, kaiming_normal
torch.manual_seed(0)
ARGS = {
'in_channels': 3,
'out_channels': 16,
'kernel_size': 5,
'stride': 1,
'padding': 2,
'init_type': 'kaiming',
'activation': nn.ReLU(),
'use_batchnorm': False
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| DensityNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
ECE685-FinalProject/3D-object-recognition/model/pointconv.py pointer only (licence: NONE) · get_code("101276f7d87be7cb") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ECE685-FinalProject/3D-object-recognition when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| FCBlock |
Ran ran on a synthesized input · constructed an object; no result was computed |
debajyotid2/pointnet_pl/src/model.py pointer only (licence: NONE) · get_code("c0998ae0e66ae44b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, debajyotid2/pointnet_pl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| FeatureTNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
opeco17/pointnet/model.py pointer only (licence: NONE) · get_code("f153c54ecb32c4eb") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, opeco17/pointnet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| FeatureTransform |
Ran ran on a synthesized input |
PaParaZz1/PointNet/network.py code served (permissive licence) · get_code("e7a88d785b2894ba") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
from torch.nn.init import xavier_normal, kaiming_normal
def ConvBlock(in_channels, out_channels, kernel_size, stride=1, padding=0, init_type='kaiming', activation=nn.ReLU(), use_batchnorm=False):
block_conv = []
block_conv.append(nn.Conv1d(in_channels, out_channels, kernel_size, stride, padding))
WeightInitialize(init_type, block_conv[-1].weight, activation)
if not activation is None:
block_conv.append(activation)
if use_batchnorm:
block_conv.append(nn.BatchNorm1d(out_channels))
return block_conv
def ConvBlockSequential(in_channels, out_channels, kernel_size, stride=1, padding=0, init_type='kaiming', activation=nn.ReLU(), use_batchnorm=False):
seq = nn.Sequential(*ConvBlock(in_channels, out_channels, kernel_size, stride, padding, init_type, activation, use_batchnorm))
seq.out_channels = out_channels
return seq
def WeightInitialize(init_type, weight, activation=None):
if init_type is None:
return
def XavierInit(weight, activation):
xavier_normal(weight)
def KaimingInit(weight, activation):
assert not activation is None
if hasattr(activation, 'negative_slope'):
kaiming_normal(weight, a=activation.negative_slope)
else:
kaiming_normal(weight, a=0)
init_type_dict = {'xavier': XavierInit, 'kaiming': KaimingInit}
if init_type in init_type_dict:
init_type_dict[init_type](weight, activation)
else:
raise KeyError('Invalid Key:%s' % init_type)
class FeatureTransform(nn.Module):
def __init__(self, k=64):
super(FeatureTransform, self).__init__()
self.k = k
self.conv1 = ConvBlockSequential(in_channels=64, out_channels=128, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.conv2 = ConvBlockSequential(in_channels=128, out_channels=256, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.conv3 = ConvBlockSequential(in_channels=256, out_channels=1024, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.fc1 = nn.Linear(1024, 2048)
self.fc2 = nn.Linear(2048, k * k)
self.act = nn.PReLU(init=0.1)
self.dropout1 = nn.Dropout(0.2)
self.dropout2 = nn.Dropout(0.3)
def forward(self, x):
batch_size = x.size()[0]
x = self.conv1(x)
x = self.conv2(x)
x = self.conv3(x)
x = torch.max(x, 2)[0]
x = x.view(-1, 1024)
x = self.dropout1(x)
x = self.act(self.fc1(x))
x = self.dropout2(x)
x = self.fc2(x)
iden = Variable(torch.from_numpy(np.eye(self.k).astype(np.float32))).view(1, self.k * self.k).repeat(batch_size, 1)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, self.k, self.k)
return x
INIT_ARGS = {
'k': 4
}
ARGS = {
'x': torch.randn(2, 64, 3)
}
if __name__ == '__main__':
model = FeatureTransform(**INIT_ARGS)
output = model(**ARGS)
print(f"Output shape: {output.shape}")
print(f"Expected shape: (2, 4, 4)")
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| GridSamplingLayer |
Ran ran; our contract draft was wrong, not the code |
YanWei123/Pointnet_encoder_Foldingnet_decoder_quantization/pointnet.py code served (permissive licence) · get_code("f0f053f931f94251") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 20, 2) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import numpy as np
ARGS = {
'batch_size': 2,
'meshgrid': [[-0.3, 0.3, 5], [-0.5, 0.5, 4]]
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type ndarray, ndim 3, dtype family float, shape (2, 20, 2) — shape (2, 20, 2) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| InputTNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
opeco17/pointnet/model.py pointer only (licence: NONE) · get_code("f7820c2d16a9147f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, opeco17/pointnet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| InputTransform |
Ran ran on a synthesized input |
PaParaZz1/PointNet/network.py code served (permissive licence) · get_code("d4c6fdd6cac8cdfa") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
from torch.nn.init import xavier_normal, kaiming_normal
def ConvBlock(in_channels, out_channels, kernel_size, stride=1, padding=0, init_type='kaiming', activation=nn.ReLU(), use_batchnorm=False):
block_conv = []
block_conv.append(nn.Conv1d(in_channels, out_channels, kernel_size, stride, padding))
WeightInitialize(init_type, block_conv[-1].weight, activation)
if not activation is None:
block_conv.append(activation)
if use_batchnorm:
block_conv.append(nn.BatchNorm1d(out_channels))
return block_conv
def ConvBlockSequential(in_channels, out_channels, kernel_size, stride=1, padding=0, init_type='kaiming', activation=nn.ReLU(), use_batchnorm=False):
seq = nn.Sequential(*ConvBlock(in_channels, out_channels, kernel_size, stride, padding, init_type, activation, use_batchnorm))
seq.out_channels = out_channels
return seq
def WeightInitialize(init_type, weight, activation=None):
if init_type is None:
return
def XavierInit(weight, activation):
xavier_normal(weight)
def KaimingInit(weight, activation):
assert not activation is None
if hasattr(activation, 'negative_slope'):
kaiming_normal(weight, a=activation.negative_slope)
else:
kaiming_normal(weight, a=0)
init_type_dict = {'xavier': XavierInit, 'kaiming': KaimingInit}
if init_type in init_type_dict:
init_type_dict[init_type](weight, activation)
else:
raise KeyError('Invalid Key:%s' % init_type)
class InputTransform(nn.Module):
def __init__(self, k=4):
super(InputTransform, self).__init__()
self.k = k
self.conv1 = ConvBlockSequential(in_channels=4, out_channels=64, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.conv2 = ConvBlockSequential(in_channels=64, out_channels=128, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.conv3 = ConvBlockSequential(in_channels=128, out_channels=512, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.conv4 = ConvBlockSequential(in_channels=512, out_channels=1024, kernel_size=1, init_type='xavier', use_batchnorm=True)
self.fc1 = nn.Linear(1024, 512)
self.bn1 = nn.BatchNorm2d(512)
self.fc2 = nn.Linear(512, 256)
self.bn2 = nn.BatchNorm2d(256)
self.fc3 = nn.Linear(256, 4 * k)
self.act = nn.PReLU(init=0.1)
self.dropout = nn.Dropout(0.1)
def forward(self, x):
batch_size = x.size()[0]
x = self.conv1(x)
x = self.conv2(x)
x = self.conv3(x)
x = self.conv4(x)
x = torch.max(x, 2)[0]
x = x.view(-1, 1024)
x = self.dropout(x)
x = self.act(self.fc1(x))
x = self.act(self.fc2(x))
x = self.fc3(x)
iden = Variable(torch.from_numpy(np.eye(self.k).astype(np.float32))).view(1, self.k * 4).repeat(batch_size, 1)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, 4, self.k)
return x
INIT_ARGS = {
'k': 4
}
ARGS = {
'x': torch.randn(2, 4, 128)
}
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| MatMul |
Ran ran on a synthesized input |
AI-Guru/pointcloud_experiments/model_cls.py pointer only (licence: NONE) · get_code("3829b0b4b30416c1") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, AI-Guru/pointcloud_experiments when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| MaxPool |
Ran ran on a synthesized input · constructed an object; no result was computed |
opeco17/pointnet/model.py pointer only (licence: NONE) · get_code("0bcd28a18c4f1eac") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, opeco17/pointnet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| NonLinear |
Ran ran on a synthesized input · constructed an object; no result was computed |
opeco17/pointnet/model.py pointer only (licence: NONE) · get_code("44f26f82c86e21d7") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, opeco17/pointnet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| OrthogonalRegularizer |
Ran ran on a synthesized input · constructed an object; no result was computed |
soumik12345/point-cloud-segmentation/point_seg/pointnet/models.py code served (permissive licence) · get_code("63fc528b5460f4b1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, OrthogonalRegularizer: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import tensorflow as tf
from tensorflow.keras import layers, regularizers, initializers
# Set random seeds for reproducibility
tf.random.set_seed(0)
ARGS = {
'num_features': 4,
'l2reg': 0.001
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type OrthogonalRegularizer — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a OrthogonalRegularizer output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
vinits5/learning3d/models/pointnet.py code served (permissive licence) · get_code("90de9a977caa457e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
torch.manual_seed(0)
ARGS = {
'emb_dims': 1024,
'input_shape': 'bnc',
'use_bn': False,
'global_feat': True,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
WangYueFt/dgcnn/pytorch/model.py code served (permissive licence) · get_code("d49fb29dc696ee6c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
class ArgsConfig:
def __init__(self, emb_dims=1024):
self.emb_dims = emb_dims
ARGS = {
'args': ArgsConfig(emb_dims=1024),
'output_channels': 40
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
brendanmallery9/entropic-barycenters/classification_example/pointnet_implementation.py code served (permissive licence) · get_code("df9cbdf65f14db23") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
ARGS = {
"classes": 5
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
opeco17/pointnet/model.py pointer only (licence: NONE) · get_code("f926ecb7397001aa") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, opeco17/pointnet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNet |
Ran ran on a synthesized input |
nikitakaraevv/pointnet/source/model.py code served (permissive licence) · get_code("0bb3296226c3f2e6") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import torch.nn.functional as F
# PointNet class definition (from the provided code)
class Tnet(nn.Module):
def __init__(self, k=3):
super().__init__()
self.k = k
self.conv1 = nn.Conv1d(k, 64, 1)
self.conv2 = nn.Conv1d(64, 128, 1)
self.conv3 = nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, input):
bs = input.size(0)
xb = F.relu(self.bn1(self.conv1(input)))
xb = F.relu(self.bn2(self.conv2(xb)))
xb = F.relu(self.bn3(self.conv3(xb)))
pool = nn.MaxPool1d(xb.size(-1))(xb)
flat = nn.Flatten(1)(pool)
xb = F.relu(self.bn4(self.fc1(flat)))
xb = F.relu(self.bn5(self.fc2(xb)))
init = torch.eye(self.k, requires_grad=True).repeat(bs, 1, 1)
if xb.is_cuda:
init = init.cuda()
matrix = self.fc3(xb).view(-1, self.k, self.k) + init
return matrix
class Transform(nn.Module):
def __init__(self):
super().__init__()
self.input_transform = Tnet(k=3)
self.feature_transform = Tnet(k=64)
self.conv1 = nn.Conv1d(3, 64, 1)
self.conv2 = nn.Conv1d(64, 128, 1)
self.conv3 = nn.Conv1d(128, 1024, 1)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
def forward(self, input):
matrix3x3 = self.input_transform(input)
xb = torch.bmm(torch.transpose(input, 1, 2), matrix3x3).transpose(1, 2)
xb = F.relu(self.bn1(self.conv1(xb)))
matrix64x64 = self.feature_transform(xb)
xb = torch.bmm(torch.transpose(xb, 1, 2), matrix64x64).transpose(1, 2)
xb = F.relu(self.bn2(self.conv2(xb)))
xb = self.bn3(self.conv3(xb))
xb = nn.MaxPool1d(xb.size(-1))(xb)
output = nn.Flatten(1)(xb)
return (output, matrix3x3, matrix64x64)
class PointNet(nn.Module):
def __init__(self, classes=10):
super().__init__()
self.transform = Transform()
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, classes)
self.bn1 = nn.BatchNorm1d(512)
self.bn2 = nn.BatchNorm1d(256)
self.dropout = nn.Dropout(p=0.3)
self.logsoftmax = nn.LogSoftmax(dim=1)
def forward(self, input):
xb, matrix3x3, matrix64x64 = self.transform(input)
xb = F.relu(self.bn1(self.fc1(xb)))
xb = F.relu(self.bn2(self.dropout(self.fc2(xb))))
output = self.fc3(xb)
return (self.logsoftmax(output), matrix3x3, matrix64x64)
# Setup code
INIT_ARGS = {
'classes': 5
}
ARGS = {
'input': torch.randn(2, 3, 8)
}
# Construct and call
model = PointNet(**INIT_ARGS)
model.eval()
output = model(**ARGS)
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type tuple — a tuple output has no array shape of its own; none is stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| PointNetClassifier |
Ran ran on a synthesized input · constructed an object; no result was computed |
debajyotid2/pointnet_pl/src/model.py pointer only (licence: NONE) · get_code("86c240d726febafb") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, debajyotid2/pointnet_pl when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetClassify |
Ran ran on a synthesized input · constructed an object; no result was computed |
ftdlyc/pointnet_pytorch/models/pointnet.py pointer only (licence: NONE) · get_code("05f62796540f4175") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ftdlyc/pointnet_pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetCls |
Ran ran on a synthesized input · constructed an object; no result was computed |
lingzhang1/pointnet_pytorch/pointnet.py code served (permissive licence) · get_code("21086233dee4a940") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetCls: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# Create a minimal valid input tensor
# The model expects input shape: (batch_size, 6, num_points)
# where 6 channels come from concatenating 3D coordinates with something else
batch_size = 2
num_points = 2500
num_classes = 2
# Create input: (batch_size=2, channels=6, num_points=2500)
x = torch.randn(batch_size, 6, num_points)
ARGS = {
"num_points": num_points,
"k": num_classes,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetCls — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetCls output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetCls |
Ran ran on a synthesized input · constructed an object; no result was computed |
CheesyB/cpointnet/pointnet.py code served (permissive licence) · get_code("26589a98563a59d0") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetCls: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import torch.nn.functional as F
torch.manual_seed(0)
class STN3d(nn.Module):
def __init__(self, num_points=2500):
super(STN3d, self).__init__()
self.num_points = num_points
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.mp1 = torch.nn.MaxPool1d(num_points)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 9)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = self.mp1(x)
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = Variable(torch.from_numpy(np.array([1, 0, 0, 0, 1, 0, 0, 0, 1]).astype(np.float32))).view(1, 9).repeat(batchsize, 1)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, 3, 3)
return x
class PointNetfeat(nn.Module):
def __init__(self, num_points=2500, global_feat=True):
super(PointNetfeat, self).__init__()
self.stn = STN3d(num_points=num_points)
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.mp1 = torch.nn.MaxPool1d(num_points)
self.num_points = num_points
self.global_feat = global_feat
def forward(self, x):
batchsize = x.size()[0]
trans = self.stn(x)
x = x.transpose(2, 1)
x = torch.bmm(x, trans)
x = x.transpose(2, 1)
x = F.relu(self.bn1(self.conv1(x)))
pointfeat = x
x = F.relu(self.bn2(self.conv2(x)))
x = self.bn3(self.conv3(x))
x = self.mp1(x)
x = x.view(-1, 1024)
if self.global_feat:
return (x, trans)
else:
x = x.view(-1, 1024, 1).repeat(1, 1, self.num_points)
return (torch.cat([x, pointfeat], 1), trans)
class PointNetCls(nn.Module):
def __init__(self, num_points=2500, k=2):
super(PointNetCls, self).__init__()
self.num_points = num_points
self.feat = PointNetfeat(num_points, global_feat=True)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k)
self.bn1 = nn.BatchNorm1d(512)
self.bn2 = nn.BatchNorm1d(256)
self.relu = nn.ReLU()
def forward(self, x):
x, trans = self.feat(x)
x = F.relu(self.bn1(self.fc1(x)))
x = F.relu(self.bn2(self.fc2(x)))
x = self.fc3(x)
return (F.log_softmax(x, dim=-1), trans)
ARGS = {
"num_points": 4,
"k": 3
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetCls — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetCls output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetCls |
Ran ran on a synthesized input · constructed an object; no result was computed |
YanWei123/PointNet-encoder-and-FoldingNet-decoder-add-quantization-change-latent-code-size-from-512-to-1024/pointnet.py code served (permissive licence) · get_code("6dcbc51747a8bb73") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetCls: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
from torch.autograd import Variable
torch.manual_seed(0)
# Define the STN3d and PointNetfeat classes as provided
class STN3d(nn.Module):
def __init__(self):
super(STN3d, self).__init__()
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 9)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
import torch.nn.functional as F
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = Variable(torch.from_numpy(np.array([1, 0, 0, 0, 1, 0, 0, 0, 1]).astype(np.float32))).view(1, 9).repeat(batchsize, 1)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, 3, 3)
return x
class PointNetfeat(nn.Module):
def __init__(self, global_feat=True):
super(PointNetfeat, self).__init__()
self.stn = STN3d()
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.global_feat = global_feat
def forward(self, x):
import torch.nn.functional as F
batchsize = x.size()[0]
n_pts = x.size()[2]
trans = self.stn(x)
x = x.transpose(2, 1)
x = torch.bmm(x, trans)
x = x.transpose(2, 1)
x = F.relu(self.bn1(self.conv1(x)))
pointfeat = x
x = F.relu(self.bn2(self.conv2(x)))
x = self.bn3(self.conv3(x))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
if self.global_feat:
return (x, trans)
else:
x = x.view(-1, 1024, 1).repeat(1, 1, n_pts)
return (torch.cat([x, pointfeat], 1), trans)
class PointNetCls(nn.Module):
def __init__(self, k=2):
super(PointNetCls, self).__init__()
self.feat = PointNetfeat(global_feat=True)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k)
self.bn1 = nn.BatchNorm1d(512)
self.bn2 = nn.BatchNorm1d(256)
self.relu = nn.ReLU()
def forward(self, x):
import torch.nn.functional as F
x, trans = self.feat(x)
x = F.relu(self.bn1(self.fc1(x)))
x = F.relu(self.bn2(self.fc2(x)))
x = self.fc3(x)
return (F.log_softmax(x, dim=0), trans)
# Create a minimal input tensor: batch_size=2, channels=3, num_points=4
input_tensor = torch.randn(2, 3, 4)
ARGS = {
'k': 2
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetCls — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetCls output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetCls |
Ran ran on a synthesized input |
hnmspirit/pointnet1/pointnet.py pointer only (licence: NONE) · get_code("98f3e76878c4c84f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, hnmspirit/pointnet1 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetFeat |
Ran ran on a synthesized input |
hnmspirit/pointnet1/pointnet.py pointer only (licence: NONE) · get_code("5f85b825ddcf36f0") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, hnmspirit/pointnet1 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetMLP |
Ran ran on a synthesized input · constructed an object; no result was computed |
ali-stanford/pointnetcfd/PyTorchVersion/PointNetCFD.py code served (permissive licence) · get_code("0bf545f1ebcb90c5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetMLP: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# PointNetMLP expects:
# - input_channels: int (number of input channels for Conv1d)
# - output_channels: int (number of output channels for Conv1d)
# - scaling: float (optional, defaults to 1.0)
ARGS = {
'input_channels': 3,
'output_channels': 2,
'scaling': 1.0
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetMLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetMLP output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetSeg |
Ran ran on a synthesized input |
PaParaZz1/PointNet/network.py code served (permissive licence) · get_code("8727e973f8a99293") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import numpy as np
INIT_ARGS = {
'num_class': 8
}
# Create input tensor: batch_size=2, sequence_length=5, feature_dim=4
input_tensor = torch.randn(2, 4, 5)
ARGS = {
'x': input_tensor
}
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type tuple — a tuple output has no array shape of its own; none is stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
mengxingshifen1218/pointnet.pytorch/pointnet/model.py code served (permissive licence) · get_code("354def71e0aa90c3") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
import logging
torch.manual_seed(0)
logging.basicConfig(level=logging.INFO)
# The PointNetfeat.__init__ takes two parameters:
# - global_feat (default True)
# - feature_transform (default False)
ARGS = {
'global_feat': True,
'feature_transform': False,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
lingzhang1/pointnet_pytorch/pointnet.py code served (permissive licence) · get_code("4974babafbd20779") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# PointNetfeat expects:
# - num_points: int (default 2500)
# - global_feat: bool (default True)
# Looking at the forward method:
# - x is transposed and converted to numpy, then used in bmm
# - x should have shape (batch, num_points, features) based on transpose(2,1) operations
# - The stn processes x and returns trans of shape (batch, 6, 6)
# - bmm operation: x (batch, num_points, 6) @ trans (batch, 6, 6) -> (batch, num_points, 6)
# Create a small input tensor
# batch_size = 2, num_points = 4, num_features = 6
batch_size = 2
num_points = 4
num_features = 6
# Input tensor: (batch, num_features, num_points) for Conv1d
x = torch.randn(batch_size, num_features, num_points)
ARGS = {
"num_points": num_points,
"global_feat": True,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
yanxp/PointNet/model/pointnet.py pointer only (licence: NONE) · get_code("674ede50cbdb04c2") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, yanxp/PointNet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
CheesyB/cpointnet/pointnet.py code served (permissive licence) · get_code("62f355b393ae1ca7") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
ARGS = {
"num_points": 4,
"global_feat": True,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
YanWei123/PointNet-encoder-and-FoldingNet-decoder-add-quantization-change-latent-code-size-from-512-to-1024/pointnet.py code served (permissive licence) · get_code("5a5a64fad512c4b2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
ARGS = {
'global_feat': True,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
Taeuk-Jang/pointcompletion/pointnet/model.py code served (permissive licence) · get_code("a0a98d1455e2700c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
# Device should be CPU only
device = 'cpu'
# Create minimal input tensor
# x should have shape (batch_size, channels, num_points)
# For channel=4, we need 4 input channels
x = torch.randn(2, 4, 8)
ARGS = {
'device': device,
'channel': 4,
'global_feat': True,
'feature_transform': False
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
princeton-vl/SimpleView/pointnet_pyt/pointnet/model.py code served (permissive licence) · get_code("3ce362b43484ed47") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
# Create a small point cloud batch
# Shape: (batch_size, num_features, num_points)
# batch_size=2, num_features=3 (x,y,z coordinates), num_points=4
point_cloud = torch.randn(2, 3, 4)
ARGS = {
"global_feat": True,
"feature_transform": False,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
sarthakTUM/roofn3d/cls_seg_mt/pointnet.py pointer only (licence: NONE) · get_code("79e1c88294831c30") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, sarthakTUM/roofn3d when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| PointNetfeat |
Ran ran on a synthesized input · constructed an object; no result was computed |
xurui1217/pointnet.pytorch-master/pointnet.py code served (permissive licence) · get_code("65e190258615dca9") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, PointNetfeat: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
ARGS = {
'global_feat': True
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type PointNetfeat — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PointNetfeat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| Pooling |
Ran ran on a synthesized input · constructed an object; no result was computed |
vinits5/learning3d/models/pointnet.py code served (permissive licence) · get_code("73fbe9c91fe32ceb") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Pooling: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# The Pooling module's forward method expects:
# - input: a tensor that supports torch.max and torch.mean along dimension 2
# - The output is indexed with [0] for max, suggesting a 3D tensor
# - Contiguous() is called on the result
# Create a small 3D input tensor: (batch_size, feature_dim, sequence_length)
# Using distinct sizes: batch=2, features=4, sequence=3
input_tensor = torch.randn(2, 4, 3)
ARGS = {
'pool_type': 'max'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Pooling — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Pooling output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STN3d |
Ran ran on a synthesized input |
mengxingshifen1218/pointnet.pytorch/pointnet/model.py code served (permissive licence) · get_code("c44477c4a9ec175d") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import logging
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import torch.nn.functional as F
logging.basicConfig(level=logging.INFO)
class STN3d(nn.Module):
def __init__(self):
super(STN3d, self).__init__()
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 9)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
batchsize = x.size()[0]
logging.info('The x type is:%s,shape is:%s', str(type(x)), str(x.shape))
logging.info('The batchsize type is:%s,num is:%d', str(type(batchsize)), batchsize)
x = F.relu(self.bn1(self.conv1(x)))
logging.info('The x1 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn2(self.conv2(x)))
logging.info('The x2 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn3(self.conv3(x)))
logging.info('The x3 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = torch.max(x, 2, keepdim=True)[0]
logging.info('The x4 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = x.view(-1, 1024)
logging.info('The x5 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn4(self.fc1(x)))
logging.info('The x6 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn5(self.fc2(x)))
logging.info('The x7 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = self.fc3(x)
logging.info('The x8 type is:%s,shape is:%s', str(type(x)), str(x.shape))
iden = Variable(torch.from_numpy(np.array([1, 0, 0, 0, 1, 0, 0, 0, 1]).astype(np.float32))).view(1, 9).repeat(batchsize, 1)
logging.info('The iden type is:%s,shape is:%s', str(type(iden)), str(iden.shape))
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, 3, 3)
logging.info('The x9 type is:%s,shape is:%s', str(type(x)), str(x.shape))
return x
INIT_ARGS = {}
ARGS = {
'x': torch.randn(2, 3, 16)
}
if __name__ == '__main__':
model = STN3d(**INIT_ARGS)
output = model(**ARGS)
print("Output shape:", output.shape)
print("Output:", output)
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| STN3d |
Ran ran on a synthesized input · constructed an object; no result was computed |
lingzhang1/pointnet_pytorch/pointnet.py code served (permissive licence) · get_code("83226be05a2733e2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STN3d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
ARGS = {
"num_points": 2500,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STN3d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STN3d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STN3d |
Ran ran on a synthesized input · constructed an object; no result was computed |
CheesyB/cpointnet/pointnet.py code served (permissive licence) · get_code("4626eef340141c25") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STN3d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
torch.manual_seed(0)
# The STN3d class expects:
# - num_points: int parameter used in MaxPool1d and to repeat the identity matrix
# Create a small input tensor for testing
# Shape: (batch_size, 3, num_points)
# Using batch_size=2, num_points=2500 as default
batch_size = 2
num_points = 2500
input_tensor = torch.randn(batch_size, 3, num_points)
ARGS = {
"num_points": num_points,
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STN3d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STN3d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STN3d |
Ran ran on a synthesized input · constructed an object; no result was computed |
YanWei123/PointNet-encoder-and-FoldingNet-decoder-add-quantization-change-latent-code-size-from-512-to-1024/pointnet.py code served (permissive licence) · get_code("00b768e2c62c92bc") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STN3d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import torch.nn.functional as F
torch.manual_seed(0)
class STN3d(nn.Module):
def __init__(self):
super(STN3d, self).__init__()
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 9)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = Variable(torch.from_numpy(np.array([1, 0, 0, 0, 1, 0, 0, 0, 1]).astype(np.float32))).view(1, 9).repeat(batchsize, 1)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, 3, 3)
return x
# Create input tensor with batch size 2, 3 channels, 4 points
input_tensor = torch.randn(2, 3, 4)
# STN3d.__init__ takes no parameters besides self
ARGS = {
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STN3d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STN3d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STN3d |
Ran ran on a synthesized input · constructed an object; no result was computed |
Taeuk-Jang/pointcompletion/pointnet/model.py code served (permissive licence) · get_code("9de2aaf78bbf10fd") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STN3d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
torch.manual_seed(0)
# The STN3d.__init__ takes only 'device' as a parameter
# We'll use CPU device
device = 'cpu'
ARGS = {
'device': device
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STN3d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STN3d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STN3d |
Ran ran on a synthesized input |
hnmspirit/pointnet1/pointnet.py pointer only (licence: NONE) · get_code("383dbc340bd8d282") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, hnmspirit/pointnet1 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| STN3d |
Ran ran on a synthesized input |
smfirmin/DeepLearningFinalProject/pointnet/model.py code served (permissive licence) · get_code("daf339afe5dff1a4") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import torch.nn.functional as F
class STN3d(nn.Module):
def __init__(self, device):
super(STN3d, self).__init__()
self.device = device
self.conv1 = torch.nn.Conv1d(3, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 9)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
"""
x: [batch_size, dimension, npoints]
"""
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = torch.tensor([1, 0, 0, 0, 1, 0, 0, 0, 1], device=self.device).view(1, 9).repeat(batchsize, 1)
x = x + iden
x = x.view(-1, 3, 3)
return x
INIT_ARGS = {
'device': torch.device('cpu')
}
ARGS = {
'x': torch.randn(2, 3, 5)
}
if __name__ == '__main__':
model = STN3d(**INIT_ARGS)
model.eval()
output = model(**ARGS)
print(f"Output shape: {output.shape}")
print(f"Output:\n{output}")
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float, shape (2, 3, 3) — shape (2, 3, 3) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| STN4d |
Ran ran on a synthesized input · constructed an object; no result was computed |
Taeuk-Jang/pointcompletion/pointnet/model.py code served (permissive licence) · get_code("c51d2646e1f8707c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STN4d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.nn.functional as F
torch.manual_seed(0)
class STN4d(nn.Module):
def __init__(self, device):
super(STN4d, self).__init__()
self.device = device
self.conv1 = torch.nn.Conv1d(4, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, 12)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, x):
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = Variable(torch.cat((torch.eye(3).repeat(batchsize, 1, 1), torch.zeros(batchsize, 1, 3)), dim=1))
if x.is_cuda:
iden = iden.to(device=self.device)
x = x.view(-1, 4, 3)
x = x + iden
return x
device = torch.device('cpu')
stn4d_instance = STN4d(device=device)
ARGS = {
'device': device
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STN4d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STN4d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STNkd |
Ran ran on a synthesized input · constructed an object; no result was computed |
mengxingshifen1218/pointnet.pytorch/pointnet/model.py code served (permissive licence) · get_code("b95fe13373b6da5e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STNkd: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import logging
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import torch.nn.functional as F
torch.manual_seed(0)
class STNkd(nn.Module):
def __init__(self, k=64):
super(STNkd, self).__init__()
self.conv1 = torch.nn.Conv1d(k, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
self.k = k
def forward(self, x):
logging.info('The x0 type is:%s,shape is:%s', str(type(x)), str(x.shape))
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
logging.info('The x1 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn2(self.conv2(x)))
logging.info('The x2 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn3(self.conv3(x)))
logging.info('The x3 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = torch.max(x, 2, keepdim=True)[0]
logging.info('The x4 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = x.view(-1, 1024)
logging.info('The x5 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn4(self.fc1(x)))
logging.info('The x6 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = F.relu(self.bn5(self.fc2(x)))
logging.info('The x7 type is:%s,shape is:%s', str(type(x)), str(x.shape))
x = self.fc3(x)
logging.info('The x8 type is:%s,shape is:%s', str(type(x)), str(x.shape))
iden = Variable(torch.from_numpy(np.eye(self.k).flatten().astype(np.float32))).view(1, self.k * self.k).repeat(batchsize, 1)
logging.info('The iden type is:%s,shape is:%s', str(type(iden)), str(iden.shape))
logging.info(iden)
if x.is_cuda:
iden = iden.cuda()
x = x + iden
x = x.view(-1, self.k, self.k)
logging.info('The x9 type is:%s,shape is:%s', str(type(x)), str(x.shape))
return x
ARGS = {
'k': 4
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STNkd — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STNkd output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STNkd |
Ran ran on a synthesized input · constructed an object; no result was computed |
Taeuk-Jang/pointcompletion/pointnet/model.py code served (permissive licence) · get_code("bcbe4bef55f4d2d1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STNkd: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
from torch.autograd import Variable
import numpy as np
import torch.nn.functional as F
torch.manual_seed(0)
class STNkd(nn.Module):
def __init__(self, k=64, device='cuda:1'):
super(STNkd, self).__init__()
self.device = device
self.conv1 = torch.nn.Conv1d(k, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
self.k = k
def forward(self, x):
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = Variable(torch.from_numpy(np.eye(self.k).flatten().astype(np.float32))).view(1, self.k * self.k).repeat(batchsize, 1)
if x.is_cuda:
iden = iden.to(device=self.device)
x = x + iden
x = x.view(-1, self.k, self.k)
return x
# Create a small STNkd instance for testing
stn_module = STNkd(k=4, device='cpu')
# Create input tensor with shape (batch_size=2, k=4, num_points=3)
# The forward method expects input of shape (batch, k, num_points)
input_tensor = torch.randn(2, 4, 3)
ARGS = {
'k': 4,
'device': 'cpu'
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STNkd — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STNkd output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STNkd |
Ran ran on a synthesized input · constructed an object; no result was computed |
princeton-vl/SimpleView/pointnet_pyt/pointnet/model.py code served (permissive licence) · get_code("9198530155430cd2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, STNkd: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import numpy as np
torch.manual_seed(0)
# Create a tiny input tensor for the STNkd forward pass
# The model expects input of shape (batch_size, k, num_points)
# where k is the input feature dimension
batch_size = 2
k = 64
num_points = 10
# Create sample input tensor
x = torch.randn(batch_size, k, num_points)
ARGS = {
'k': 64
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type STNkd — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a STNkd output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| STNkd |
Ran ran on a synthesized input |
smfirmin/DeepLearningFinalProject/pointnet/model.py code served (permissive licence) · get_code("9002018eae6ef27f") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 4, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import torch.nn.functional as F
class STNkd(nn.Module):
def __init__(self, device, k=64):
super(STNkd, self).__init__()
self.device = device
self.conv1 = torch.nn.Conv1d(k, 64, 1)
self.conv2 = torch.nn.Conv1d(64, 128, 1)
self.conv3 = torch.nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.relu = nn.ReLU()
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
self.k = k
def forward(self, x):
"""
x: [batch_size, dimension, npoints]
"""
batchsize = x.size()[0]
x = F.relu(self.bn1(self.conv1(x)))
x = F.relu(self.bn2(self.conv2(x)))
x = F.relu(self.bn3(self.conv3(x)))
x = torch.max(x, 2, keepdim=True)[0]
x = x.view(-1, 1024)
x = F.relu(self.bn4(self.fc1(x)))
x = F.relu(self.bn5(self.fc2(x)))
x = self.fc3(x)
iden = torch.eye(self.k, device=self.device).flatten().view(1, self.k * self.k).repeat(batchsize, 1)
x = x + iden
x = x.view(-1, self.k, self.k)
return x
INIT_ARGS = {
'device': 'cpu',
'k': 4
}
ARGS = {
'x': torch.randn(2, 4, 3)
}
if __name__ == '__main__':
model = STNkd(**INIT_ARGS)
model.eval()
output = model(**ARGS)
print(f"Output shape: {output.shape}")
print(f"Expected shape: (2, 4, 4)")
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| TNet |
Ran ran on a synthesized input · constructed an object; no result was computed |
ftdlyc/pointnet_pytorch/models/pointnet.py pointer only (licence: NONE) · get_code("58ce72343decd663") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, ftdlyc/pointnet_pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| Tnet |
Ran ran on a synthesized input · constructed an object; no result was computed |
brendanmallery9/entropic-barycenters/classification_example/pointnet_implementation.py code served (permissive licence) · get_code("9b8bdedaae9abf63") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Tnet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# Tnet only takes one parameter: k (number of input channels)
# Default is k=3, but we can test with a different value
k_value = 3
ARGS = {
'k': k_value
}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tnet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Tnet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| Tnet |
Ran ran on a synthesized input |
nikitakaraevv/pointnet/source/model.py code served (permissive licence) · get_code("8de6ad0849c28980") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 3) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import torch.nn.functional as F
class Tnet(nn.Module):
def __init__(self, k=3):
super().__init__()
self.k = k
self.conv1 = nn.Conv1d(k, 64, 1)
self.conv2 = nn.Conv1d(64, 128, 1)
self.conv3 = nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, input):
bs = input.size(0)
xb = F.relu(self.bn1(self.conv1(input)))
xb = F.relu(self.bn2(self.conv2(xb)))
xb = F.relu(self.bn3(self.conv3(xb)))
pool = nn.MaxPool1d(xb.size(-1))(xb)
flat = nn.Flatten(1)(pool)
xb = F.relu(self.bn4(self.fc1(flat)))
xb = F.relu(self.bn5(self.fc2(xb)))
init = torch.eye(self.k, requires_grad=True).repeat(bs, 1, 1)
if xb.is_cuda:
init = init.cuda()
matrix = self.fc3(xb).view(-1, self.k, self.k) + init
return matrix
INIT_ARGS = {
'k': 3
}
ARGS = {
'input': torch.randn(2, 3, 8)
}
if __name__ == '__main__':
model = Tnet(**INIT_ARGS)
model.eval()
output = model(**ARGS)
print(f"Output shape: {output.shape}")
print(f"Expected shape: (2, 3, 3)")
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Tensor, ndim 3, dtype family float, shape (2, 3, 3) — shape (2, 3, 3) as a later run recorded it
- dtype family
- int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|
| TransLayer |
Ran ran on a synthesized input · constructed an object; no result was computed |
yanxp/PointNet/model/pointnet.py pointer only (licence: NONE) · get_code("d22507edb8c91af0") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, yanxp/PointNet when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| Transform |
Ran ran on a synthesized input · constructed an object; no result was computed |
brendanmallery9/entropic-barycenters/classification_example/pointnet_implementation.py code served (permissive licence) · get_code("cfb8085f652dcf26") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Transform: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
torch.manual_seed(0)
# The Transform class has no __init__ parameters, so ARGS should be empty
ARGS = {}
- Setup block drafted by
- a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type Transform — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Transform output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
|
| Transform |
Ran ran on a synthesized input |
nikitakaraevv/pointnet/source/model.py code served (permissive licence) · get_code("65aa5b5bf3ec8b52") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned tuple. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
import torch
import torch.nn as nn
import torch.nn.functional as F
class Tnet(nn.Module):
def __init__(self, k=3):
super().__init__()
self.k = k
self.conv1 = nn.Conv1d(k, 64, 1)
self.conv2 = nn.Conv1d(64, 128, 1)
self.conv3 = nn.Conv1d(128, 1024, 1)
self.fc1 = nn.Linear(1024, 512)
self.fc2 = nn.Linear(512, 256)
self.fc3 = nn.Linear(256, k * k)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
self.bn4 = nn.BatchNorm1d(512)
self.bn5 = nn.BatchNorm1d(256)
def forward(self, input):
bs = input.size(0)
xb = F.relu(self.bn1(self.conv1(input)))
xb = F.relu(self.bn2(self.conv2(xb)))
xb = F.relu(self.bn3(self.conv3(xb)))
pool = nn.MaxPool1d(xb.size(-1))(xb)
flat = nn.Flatten(1)(pool)
xb = F.relu(self.bn4(self.fc1(flat)))
xb = F.relu(self.bn5(self.fc2(xb)))
init = torch.eye(self.k, requires_grad=True).repeat(bs, 1, 1)
if xb.is_cuda:
init = init.cuda()
matrix = self.fc3(xb).view(-1, self.k, self.k) + init
return matrix
class Transform(nn.Module):
def __init__(self):
super().__init__()
self.input_transform = Tnet(k=3)
self.feature_transform = Tnet(k=64)
self.conv1 = nn.Conv1d(3, 64, 1)
self.conv2 = nn.Conv1d(64, 128, 1)
self.conv3 = nn.Conv1d(128, 1024, 1)
self.bn1 = nn.BatchNorm1d(64)
self.bn2 = nn.BatchNorm1d(128)
self.bn3 = nn.BatchNorm1d(1024)
def forward(self, input):
matrix3x3 = self.input_transform(input)
xb = torch.bmm(torch.transpose(input, 1, 2), matrix3x3).transpose(1, 2)
xb = F.relu(self.bn1(self.conv1(xb)))
matrix64x64 = self.feature_transform(xb)
xb = torch.bmm(torch.transpose(xb, 1, 2), matrix64x64).transpose(1, 2)
xb = F.relu(self.bn2(self.conv2(xb)))
xb = self.bn3(self.conv3(xb))
xb = nn.MaxPool1d(xb.size(-1))(xb)
output = nn.Flatten(1)(xb)
return (output, matrix3x3, matrix64x64)
INIT_ARGS = {}
ARGS = {
'input': torch.randn(2, 3, 5)
}
if __name__ == '__main__':
model = Transform(**INIT_ARGS)
model.eval()
output, matrix3x3, matrix64x64 = model(**ARGS)
print("Output shape:", output.shape)
print("Matrix 3x3 shape:", matrix3x3.shape)
print("Matrix 64x64 shape:", matrix64x64.shape)
- Setup block drafted by
- a language model, class construct-then-call prompt, model not recorded
- Imports
- torch — import names as written, not package names to install; a name the repository itself provides is not a package
- Returned
- type tuple — a tuple output has no array shape of its own; none is stated
- Environment
- image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
|