tensorflow / tensorflow/graphics
tensorflow_graphics.image has no attribute 'transformer'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
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'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the documented entry point tfg.image.transformer.perspective_transform and reproduce the reported AttributeError using the shown import and arguments. Compare the available tensorflow_graphics.image API with the documentation and determine whether the package or documentation is inconsistent; done when the expected entry point is available or the correct usage is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100