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

input data type #106

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions QualityScaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __init__(
self,
AI_model_name: str,
directml_gpu: str,
resize_factor: int,
resize_factor: float,
max_resolution: int
):

Expand Down Expand Up @@ -1031,7 +1031,7 @@ def prepare_output_image_filename(
image_path: str,
selected_output_path: str,
selected_AI_model: str,
resize_factor: int,
resize_factor: float,
selected_image_extension: str,
selected_interpolation_factor: float
) -> str:
Expand Down Expand Up @@ -1068,7 +1068,7 @@ def prepare_output_image_filename(
def prepare_output_video_frame_filename(
frame_path: str,
selected_AI_model: str,
resize_factor: int,
resize_factor: float,
selected_interpolation_factor: float
) -> str:

Expand Down Expand Up @@ -1101,7 +1101,7 @@ def prepare_output_video_filename(
video_path: str,
selected_output_path: str,
selected_AI_model: str,
resize_factor: int,
resize_factor: float,
selected_video_extension: str,
selected_interpolation_factor: float
) -> str:
Expand Down Expand Up @@ -1144,7 +1144,7 @@ def prepare_output_video_directory_name(
video_path: str,
selected_output_path: str,
selected_AI_model: str,
resize_factor: int,
resize_factor: float,
selected_interpolation_factor: float
) -> str:

Expand Down Expand Up @@ -1587,7 +1587,7 @@ def upscale_orchestrator(
selected_gpu: str,
selected_image_extension: str,
tiles_resolution: int,
resize_factor: int,
resize_factor: float,
cpu_number: int,
selected_video_extension: str,
selected_interpolation_factor: float,
Expand Down Expand Up @@ -1652,7 +1652,7 @@ def upscale_image(
AI_instance: AI,
selected_AI_model: str,
selected_image_extension: str,
resize_factor: int,
resize_factor: float,
selected_interpolation_factor: float
) -> None:

Expand Down Expand Up @@ -1688,7 +1688,7 @@ def upscale_video(
AI_instance: AI,
AI_instance_list: list[AI],
selected_AI_model: str,
resize_factor: int,
resize_factor: float,
cpu_number: int,
selected_video_extension: str,
selected_interpolation_factor: float,
Expand Down