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

How to decide the "in_feature_dim" of train_**.py? #244

Open
GeoSur opened this issue Apr 2, 2024 · 1 comment
Open

How to decide the "in_feature_dim" of train_**.py? #244

GeoSur opened this issue Apr 2, 2024 · 1 comment

Comments

@GeoSur
Copy link

GeoSur commented Apr 2, 2024

if self.config.in_features_dim == 1: pass elif self.config.in_features_dim == 4: stacked_features = np.hstack((stacked_features, features[:, :3])) elif self.config.in_features_dim == 5: stacked_features = np.hstack((stacked_features, features)) elif self.config.in_features_dim == 7: stacked_features = np.hstack((stacked_features, stacked_points, features[:, :3]))

As this section described, we could select 1,4,5 and 7 as the feature dim, but 1 and 4 represents without and with RGB respectively, but how to decide 5 and 7?

@LucaRom
Copy link

LucaRom commented May 9, 2024

You can define the in_features_dim in the config class, for example S3DIS uses 5 features and it's defined on line 146 :

# Choice of input features
first_features_dim = 128
in_features_dim = 5

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