-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error in the Tree3DMix2 code #2
Comments
Hi, thanks for remind me of this error! please modify (For me it is on Line 178) in file to:
|
In PointCloudSegmentation/torch_points3d/core/data_transform/transforms.py, there is:
class Tree3DMix2(object):
"""
Tree3DMix2 prevents tree instances from overlapping
"""
However, when running the above code, the Compose.py calls transform with only one input "data", and does not provide data2 and stuff_classes, resulting in an error. How can this issue be resolved?
File "/ForAINet-main/PointCloudSegmentation/torch_points3d/datasets/panoptic/treeins_set1.py", line 512, in getitem
data = super().getitem(idx)
File "site-packages/torch_geometric/data/dataset.py", line 194, in getitem
data = data if self.transform is None else self.transform(data)
File "site-packages/torch_geometric/transforms/compose.py", line 15, in call
data = transform(data)
TypeError: call() missing 2 required positional arguments: 'data2' and 'stuff_classes'
The text was updated successfully, but these errors were encountered: