Skip to content

Commit

Permalink
QualityScaler 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Djdefrag authored Jun 5, 2024
1 parent 98b9ffb commit c3ffbc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions QualityScaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ def find_by_relative_path(relative_path: str) -> str:
telegramme = "https://linktr.ee/j3ngystudio"

app_name = "QualityScaler"
version = "3.5"
version = "3.6"

app_name_color = "#DA70D6"
dark_color = "#080808"

very_low_VRAM = 4
low_VRAM = 3
medium_VRAM = 2.2
high_VRAM = 0.7
high_VRAM = 0.65
full_precision_vram_multiplier = 0.7

IRCNN_models_list = [ 'IRCNNx1' ]
Expand Down Expand Up @@ -298,8 +298,8 @@ def process_image_with_AI_model(
image: numpy_ndarray
) -> numpy_ndarray:

onnx_input = {AI_model.get_inputs()[0].name: image}
onnx_output = AI_model.run(None, onnx_input)[0]
onnx_input = {AI_model.get_inputs()[0].name: image}
onnx_output = AI_model.run(None, onnx_input)[0]
output_squeezed = numpy_squeeze(onnx_output, axis=0)
output_squeezed_clamped = numpy_clip(output_squeezed, 0, 1)
output_squeezed_clamped_transposed = numpy_transpose(output_squeezed_clamped, (1, 2, 0))
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@ customtkinter
#UTILS
moviepy
opencv-python-headless
Nuitka

0 comments on commit c3ffbc5

Please sign in to comment.