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

tensorflow_graphics.image has no attribute 'transformer' #711

Open
SHMCU opened this issue Dec 16, 2022 · 0 comments
Open

tensorflow_graphics.image has no attribute 'transformer' #711

SHMCU opened this issue Dec 16, 2022 · 0 comments

Comments

@SHMCU
Copy link

SHMCU commented Dec 16, 2022

Hi,

Based on the document and code of tensorflow_graphics, it should have tensorflow_graphics.image.transformer, but in my code it complains the following error:

import tensorflow_graphics as tfg
. . . . . .
. . . . . .

img_perspective = tfg.image.transformer.perspective_transform(image=image, transform_matrix=H, resampling_type=tfg.image.transformer.ResamplingType.BILINEAR, border_type=tfg.image.transformer.BorderType.DUPLICATE)
AttributeError: module 'tensorflow_graphics.image' has no attribute 'transformer'

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

1 participant