Skip to content

Commit

Permalink
Make output name conventions a bit better
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sasatani committed Feb 2, 2025
1 parent 2283cd3 commit bf7ee75
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mio/process/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def export_output_video(self) -> None:
if self.output_enable:
logger.info(f"Exporting {self.name} video to {self.output_dir}")
self.output_named_video.export(
output_path=self.output_dir / f"{self.name}",
output_path=self.output_dir / "output",
fps=20,
suffix=True,
)
Expand Down Expand Up @@ -532,26 +532,26 @@ def denoise_run(
output_dir.mkdir(parents=True)

raw_frame_processor = PassThroughProcessor(
name=pathstem + "raw",
name=pathstem + "_raw",
output_dir=output_dir,
)

output_frame_processor = PassThroughProcessor(
name=pathstem + "output",
name=pathstem + "_output",
output_dir=output_dir,
)

noise_patch_processor = NoisePatchProcessor(
output_dir=output_dir,
name=pathstem + "patch",
name=pathstem + "_patch",
noise_patch_config=config.noise_patch,
width=reader.width,
height=reader.height,
)

freq_mask_processor = FreqencyMaskProcessor(
output_dir=output_dir,
name=pathstem + "freq_mask",
name=pathstem + "_freq_mask",
freq_mask_config=config.frequency_masking,
width=reader.width,
height=reader.height,
Expand Down

0 comments on commit bf7ee75

Please sign in to comment.