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

Adding optional parameter activation_dtype to models #327

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

phborba
Copy link

@phborba phborba commented Apr 23, 2020

As I mentioned on issue #323 , when using mixed_precision, the training does not converge when softmax conversion is also converted. So, to overcome this problem, I've create a parameter activation_dtype that allows user to set the data type of the activations.

I've modified all models and also the EfficientNet ones (I'll pull request the changes to the other repository).

I've tested mixed precision training with the proposed changes and all went well. I've also tested training the normal way and my changes did not break anything, also all unittests passed.

I've also updated the requirements to include noisy students weights to segmentation_models using EfficientNet.

Please feel free to suggest any changes to this pull request, I just want to contribute to this great project.

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.

1 participant