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

Set self.num_features to neck_chans if neck_chans > 0 for vision_transformer_sam #1914

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

developer0hye
Copy link
Contributor

Knowing the number of feature channels is crucial when this neural network is used as a backbone in other systems. It allows for better integration and adaptability with various architectures that might require information about the dimensions of the output features. I think that self.num_features should be neck_chans if neck_chans > 0.

@developer0hye developer0hye changed the title Set self.num_features to neck_chans if neck_chans > 0 Set self.num_features to neck_chans if neck_chans > 0 for vision_transformer_sam Aug 11, 2023
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 11, 2023

The documentation is not available anymore as the PR was closed or merged.

@rwightman rwightman merged commit 379998e into huggingface:main Aug 11, 2023
8 checks passed
@developer0hye developer0hye deleted the developer0hye-patch-1 branch August 12, 2023 06:58
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

Successfully merging this pull request may close these issues.

3 participants