Add debug logging to fused pipeline
This commit is contained in:
@@ -960,6 +960,11 @@ def prim_fused_pipeline(img, effects_list, **dynamic_params):
|
||||
gpu_img = img
|
||||
|
||||
# Run the fused pipeline
|
||||
# Debug: log dynamic params occasionally
|
||||
import random
|
||||
if random.random() < 0.01: # 1% of frames
|
||||
print(f"[fused] dynamic_params: {dynamic_params}", file=sys.stderr)
|
||||
print(f"[fused] effects: {[(e['op'], e.get('amount'), e.get('amplitude')) for e in effects_list]}", file=sys.stderr)
|
||||
return pipeline(gpu_img, **dynamic_params)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user