-
Notifications
You must be signed in to change notification settings - Fork 334
issue: keras-cv MixedPrecision in KPL #1784
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
Comments
@innat is this an object detection issue? I don't see any modeling code in your gist. If this can be localized to compatibility of the augmentations themselves, let's center the issue there. |
I'm running into the same issue. It seems like several augmentation layers don't support mixed precision.
Running this gives the following error:
It seems like RandomRotation, Resizing, JitteredResize etc have similar issues. I think its an object detection issue because you don't run into the same issues for classification inputs. I see that there is a |
In general, these types of issues are caused by the usage of dtype constants in layers. For the others, one place to start is to specify We definitely should be testing bounding box augmentation in the |
Hi @ianstenbit, I would like to work on this. I understand that the issue is regarding conflicting dtypes. How do I do this?
Also, I checked the implementation of |
For testing boxes in the WithMixedPrecisionTest, we'll need to add bounding boxes as inputs here Here is an example of a similar test which includes bboxes. |
@divyashreepathihalli Could you please take a look at this issue. The reported issue didn't solve with the above fix.
|
@james77777778 Any plan to progress this ticket? |
I'm afraid I don't have the bandwidth for the ticket. BTW, it is a bit weird for me that preprocessing layers still depend on tf. |
Describe
TF 2.12
KerasCV: 0.5
I've tried to use mixed precision in object detection pipelines but it gives error,
Gist.
The text was updated successfully, but these errors were encountered: