Skip to content
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

forward() missing 1 required positional argument: 'rel_pos' #4

Open
tomanick opened this issue Apr 19, 2022 · 1 comment
Open

forward() missing 1 required positional argument: 'rel_pos' #4

tomanick opened this issue Apr 19, 2022 · 1 comment

Comments

@tomanick
Copy link

tomanick commented Apr 19, 2022

When I wanted to train dataset, I met following problems.
image

What is "rel_pos"?

Perhaps shared_transformer.py file should add "rel_pos" parameter in Class SharedTransformer ?

image

@GunnerStone
Copy link

Getting the same error.
My dataloader is extracting a single data input as size [batch_size, num_channels, num_points]
num_channels = 3 # for xyz channels
Not sure what rel_pos is or what its supposed to be. It isn't documented well in the example training scripts.
The trainloaders in main_part_seg.py also seem to extract their batches similarly [batch_size, xyz_channel, num_points] and pass that directly into the model without any extra argument.

Did you have any luck fixing this? @tomanick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants