Spaces:
Paused
Paused
Fabrice-TIERCELIN
commited on
Commit
•
0b31488
1
Parent(s):
ceaaae8
print("Estimated minutes: " + f'{((result_width * result_height * input_width * input_height * edm_steps * (num_sampl
Browse files
app.py
CHANGED
@@ -419,12 +419,12 @@ def restore_on_gpu(
|
|
419 |
" pixels high, so a resolution of " + f'{result_width * result_height:,}' + " pixels."
|
420 |
print(information)
|
421 |
try:
|
422 |
-
print("Initial resolution: " +
|
423 |
-
print("Final resolution: " +
|
424 |
print("edm_steps: " + str(edm_steps))
|
425 |
print("num_samples: " + str(num_samples))
|
426 |
print("downscale: " + str(downscale))
|
427 |
-
print("Estimated minutes: " +
|
428 |
except Exception as e:
|
429 |
print('Exception of Estimation')
|
430 |
|
|
|
419 |
" pixels high, so a resolution of " + f'{result_width * result_height:,}' + " pixels."
|
420 |
print(information)
|
421 |
try:
|
422 |
+
print("Initial resolution: " + f'{input_width * input_height:,}')
|
423 |
+
print("Final resolution: " + f'{result_width * result_height:,}')
|
424 |
print("edm_steps: " + str(edm_steps))
|
425 |
print("num_samples: " + str(num_samples))
|
426 |
print("downscale: " + str(downscale))
|
427 |
+
print("Estimated minutes: " + f'{((result_width * result_height * input_width * input_height * edm_steps * (num_samples**(1/2)))**(1/2)) / 5000000:,}')
|
428 |
except Exception as e:
|
429 |
print('Exception of Estimation')
|
430 |
|