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

increase upscaling #8875

Open
ravi-lourem opened this issue Dec 19, 2023 · 1 comment
Open

increase upscaling #8875

ravi-lourem opened this issue Dec 19, 2023 · 1 comment

Comments

@ravi-lourem
Copy link

@AlexeyAB If one want to increase upsampling before third yolo detection, then do one has to modify only in upsampling stride ?
or else need for any other changes in conv filter.
Thanks.. any help is appreciated

@rajaththomson
Copy link

To increase the upsampling before third detection, you may need to modify more than just the upsampling stride:

Upsampling Stride: Increasing the upsampling stride will result in a larger feature map but this solution may not alone be sufficient. For instance, changing the stride from 2 to 4 will quadruple the area of the feature map.

Convolutional Filters: you might also need to adjust the convolutional filters that follow, as the size and characteristics of the feature map have changed. You may need to experiment with the number of filters, the size of the filters, and the stride of the convolutional layers that come after the upsampling so that it works effectively with the new upscaled size.

Receptive Field Adjustment: With increased upsampling, the receptive field of the convolutional layers changes. The receptive field is the region in the input space that a particular CNN's feature is looking at. You may need to adjust the kernel size or the architecture of the convolutional layers to maintain an effective receptive field for the detection task.

Anchor Boxes: In YOLO, anchor boxes are predefined bounding boxes used to detect objects. After changing the upsampling scale, you might need to revisit the sizes of these anchor boxes. They should be aligned with the scale of the objects you expect to detect after the upsampling.

Feature Extraction Layers: Consider whether the earlier layers in the network provide sufficient feature extraction for the higher resolution that will result from increased upsampling. You may need to deepen or adjust the network to extract more detailed features.

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