Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Add activation function option for yolov8 detector.#2489

Open
digital-nomad-cheng wants to merge 3 commits intokeras-team:masterfrom
digital-nomad-cheng:master
Open

Add activation function option for yolov8 detector.#2489
digital-nomad-cheng wants to merge 3 commits intokeras-team:masterfrom
digital-nomad-cheng:master

Conversation

@digital-nomad-cheng
Copy link

What does this PR do?

Currently, only YOLOV8Backbon accept activation as argument for changing to other activation function other than swish. But for some hardware, swish activation function is not well optimized. It does not make sense to only change the backbone to other activation function while keep the detector(head) default to swish.
So this pull meant to give option to choose activation in detector as well.

@google-cla
Copy link

google-cla bot commented Sep 13, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@digital-nomad-cheng
Copy link
Author

@divyashreepathihalli Can you help have a look at this PR? Thanks!

@divyashreepathihalli
Copy link
Collaborator

Thanks for the PR. There was recent changes to YOLV8. Can you please rebase and also runn the shell/format.sh at root to clear formatting errors

@digital-nomad-cheng
Copy link
Author

Thanks for the PR. There was recent changes to YOLV8. Can you please rebase and also runn the shell/format.sh at root to clear formatting errors

Done

@divyashreepathihalli divyashreepathihalli added the kokoro:force-run Runs Tests on GPU label Sep 26, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Runs Tests on GPU label Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants