Describe the bug
The AffineImage operator has hardcoded translation values (tx=50, ty=100) and never reads from self.params. Users cannot configure the transformation at all — every run produces the same fixed translation.
To Reproduce
- Add an
AffineImage operator to the pipeline
- Set any custom translation or transform parameters
- Run the pipeline — output always applies tx=50, ty=100 regardless of input
Expected behavior
The operator should read configurable parameters (tx, ty, angle, scale) from self.params instead of using hardcoded values.
Screenshots
N/A
Environment
Additional context
Relevant code in app/operators/geometric/affine_image.py:
Describe the bug
The
AffineImageoperator has hardcoded translation values (tx=50, ty=100) and never reads fromself.params. Users cannot configure the transformation at all — every run produces the same fixed translation.To Reproduce
AffineImageoperator to the pipelineExpected behavior
The operator should read configurable parameters (
tx,ty, angle, scale) fromself.paramsinstead of using hardcoded values.Screenshots
N/A
Environment
Additional context
Relevant code in
app/operators/geometric/affine_image.py: