You are on page 1of 355

nohup: ignoring input

/home/brrsoftwares/.local/lib/python3.10/site-packages/kornia/augmentation/
augmentation.py:1830: DeprecationWarning: GaussianBlur is no longer maintained and
will be removed from the future versions. Please use RandomGaussianBlur instead.
warnings.warn(
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/utils.py:37:
DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To
silence this warning, use `bool` by itself. Doing this will not modify any behavior
and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
bool = onp.bool
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:143:
DeprecationWarning: In accordance with NEP 32, the function mirr was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
mirr = onp.mirr
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:160:
DeprecationWarning: In accordance with NEP 32, the function npv was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
npv = onp.npv
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:164:
DeprecationWarning: In accordance with NEP 32, the function pmt was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
pmt = onp.pmt
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:173:
DeprecationWarning: In accordance with NEP 32, the function ppmt was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
ppmt = onp.ppmt
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:176:
DeprecationWarning: In accordance with NEP 32, the function pv was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
pv = onp.pv
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/numpy/fallback.py:177:
DeprecationWarning: In accordance with NEP 32, the function rate was removed from
NumPy version 1.20. A replacement for this function is available in the
numpy_financial library: https://pypi.org/project/numpy-financial
rate = onp.rate
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/
numpy_dispatch_protocol.py:47: DeprecationWarning: The distutils package is
deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632
for potential alternatives
from distutils.version import LooseVersion
INFO: Started server process [2682]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
INFO: 192.168.0.102:54076 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:54694 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:08:53.405899805 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:08:56.837946918 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:09:00.838613166 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:09:01.067399324 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:09:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:09:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
[11:09:01] ../src/base.cc:79: cuDNN lib mismatch: linked-against version 8902 !=
compiled-against version 8101. Set MXNET_CUDNN_LIB_CHECKING=0 to quiet this
warning.
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.75it/s]

0it [00:00, ?it/s]


1it [00:00, 809.71it/s]

0it [00:00, ?it/s]


1it [00:00, 7667.83it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 1.42it/s]
100%|██████████| 1/1 [00:00<00:00, 1.42it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46091.25it/s]

0it [00:00, ?it/s]


1it [00:00, 1.99it/s]
1it [00:00, 1.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
[11:09:05] ../src/operator/nn/./cudnn/./cudnn_algoreg-inl.h:96: Running performance
tests to find the best convolution algorithm, this can take a while... (set the
environment variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54554 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:42336 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42336 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:12:42.309763471 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:12:42.564877632 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:12:44.917390601 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:12:45.152371948 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:12:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:12:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 101.49it/s]

0it [00:00, ?it/s]


1it [00:00, 796.64it/s]

0it [00:00, ?it/s]


1it [00:00, 8630.26it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]
0it [00:00, ?it/s]
1it [00:00, 11.16it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47612 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:48128 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:48128 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:48164 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44158 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44176 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:44176 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:44192 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42452 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:42480 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42504 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47420 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47440 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47452 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47440 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47440 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:47344 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47344 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:53498 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:48746 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:48798 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34730 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:25:11.664723910 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:25:11.892964098 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:25:14.187741516 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:25:14.414466448 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:25:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:25:14] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 96.61it/s]

0it [00:00, ?it/s]


1it [00:00, 883.01it/s]

0it [00:00, ?it/s]


1it [00:00, 8867.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.29it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46091.25it/s]

0it [00:00, ?it/s]


1it [00:00, 12.16it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:34730 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54978 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:54998 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:54998 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:53346 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53368 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37516 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37546 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34304 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:52666 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:52666 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:52666 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:60504 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47976 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:26:42.508437777 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:42.756590621 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:45.036646213 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:45.271569688 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:26:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.67it/s]

0it [00:00, ?it/s]


1it [00:00, 868.57it/s]

0it [00:00, ?it/s]


1it [00:00, 8811.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.37it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 45590.26it/s]

0it [00:00, ?it/s]


1it [00:00, 12.18it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48002 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:26:46.500364734 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:46.730876002 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:49.146505267 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:49.385537298 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:26:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26:49] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 102.88it/s]

0it [00:00, ?it/s]


1it [00:00, 643.50it/s]

0it [00:00, ?it/s]


1it [00:00, 7108.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.98it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46603.38it/s]

0it [00:00, ?it/s]


1it [00:00, 11.71it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48014 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:36552 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:26:54.005152305 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:54.230323076 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:56.517261541 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:26:56.750996296 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:26:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.33it/s]

0it [00:00, ?it/s]


1it [00:00, 705.40it/s]

0it [00:00, ?it/s]


1it [00:00, 8144.28it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.66it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 14.52it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58452 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40028 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:40048 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:40028 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:27:06.246232594 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:06.460133670 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:08.713876298 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:08.921208462 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:27:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.27it/s]

0it [00:00, ?it/s]


1it [00:00, 754.91it/s]

0it [00:00, ?it/s]


1it [00:00, 8256.50it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]
0it [00:00, ?it/s]
1it [00:00, 15.06it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40074 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40106 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:55910 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55962 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:27:25.024264925 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:25.231284881 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:27.494233190 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:27.700661721 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:27:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.68it/s]

0it [00:00, ?it/s]


1it [00:00, 876.37it/s]

0it [00:00, ?it/s]


1it [00:00, 8577.31it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46091.25it/s]

0it [00:00, ?it/s]


1it [00:00, 14.79it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43060 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:27:36.178481948 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:36.401647829 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:38.712322236 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:38.955902930 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:27:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.09it/s]

0it [00:00, ?it/s]


1it [00:00, 871.45it/s]

0it [00:00, ?it/s]


1it [00:00, 8811.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.52it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 14.97it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:34444 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:27:49.081039066 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:49.305740523 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:51.697596571 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:51.935599691 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:27:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 105.87it/s]

0it [00:00, ?it/s]


1it [00:00, 703.03it/s]

0it [00:00, ?it/s]


1it [00:00, 8525.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 11.50it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45462 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:27:53.669803563 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:53.875036750 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:56.145787446 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:27:56.357640262 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:27:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.94it/s]

0it [00:00, ?it/s]


1it [00:00, 776.15it/s]

0it [00:00, ?it/s]


1it [00:00, 8774.69it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.90it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 14.45it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45472 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:60220 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:38650 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:28:28.394452358 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:28.624782475 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:30.906611332 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:31.114172027 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:28:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:28:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.97it/s]

0it [00:00, ?it/s]


1it [00:00, 677.27it/s]

0it [00:00, ?it/s]


1it [00:00, 7767.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 14.38it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57972 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:28:41.765606028 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:41.970887927 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:44.241956340 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:28:44.451038752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:28:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:28:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.43it/s]

0it [00:00, ?it/s]


1it [00:00, 878.94it/s]

0it [00:00, ?it/s]


1it [00:00, 8886.24it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.22it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 11.48it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44548 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:29:18.894671084 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:29:19.121922988 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:29:21.497943310 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:29:21.732512256 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:29:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:29:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.66it/s]

0it [00:00, ?it/s]


1it [00:00, 865.70it/s]

0it [00:00, ?it/s]


1it [00:00, 7182.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.30it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 15.09it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54308 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:47030 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:54322 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:54340 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:54370 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:40884 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:40884 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:30:38.300834752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:38.536634419 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:40.843899119 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:41.078933843 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:30:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:30:41] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.39it/s]

0it [00:00, ?it/s]


1it [00:00, 861.08it/s]

0it [00:00, ?it/s]


1it [00:00, 8756.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 14.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40884 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:30:52.888634795 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:53.101726154 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:55.384497983 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:30:55.622977341 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:30:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:30:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.95it/s]

0it [00:00, ?it/s]


1it [00:00, 879.31it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.98it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 14.53it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:35176 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41464 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:31:23.898980352 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:24.144272172 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:26.412685212 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:26.652057904 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:31:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31:26] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.10it/s]

0it [00:00, ?it/s]


1it [00:00, 728.18it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 14.61it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41486 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:31:35.008366507 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:35.223807946 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:37.601709719 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:37.822912469 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:31:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31:37] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.17it/s]

0it [00:00, ?it/s]


1it [00:00, 899.87it/s]

0it [00:00, ?it/s]


1it [00:00, 9341.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 11.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43500 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:31:42.440378833 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:42.660278256 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:44.929724725 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:31:45.182008975 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:31:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.71it/s]

0it [00:00, ?it/s]


1it [00:00, 857.03it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]
0it [00:00, ?it/s]
1it [00:00, 11.50it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43530 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:44854 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44854 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55090 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:31:59.920828816 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:00.132574228 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:02.385928460 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:02.588518704 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:32:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32:02] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:55120 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
INFO: 192.168.0.102:55090 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:46884 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:32:12.664139604 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:12.899043310 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:15.224504078 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:15.437768063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:32:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32:15] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:46906 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
INFO: 192.168.0.102:34726 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33744 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:32:35.365424463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:35.618041600 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:38.094640962 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:38.296090627 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:32:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.14it/s]
0it [00:00, ?it/s]
1it [00:00, 915.99it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.60it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 14.33it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43526 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:32:42.898807573 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:43.096283317 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:45.320621742 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:32:45.556347228 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:32:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.98it/s]

0it [00:00, ?it/s]


1it [00:00, 893.36it/s]

0it [00:00, ?it/s]


1it [00:00, 8981.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.65it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43572 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:33:02.730550091 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:02.938502403 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:05.159755412 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:05.353570123 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.07it/s]

0it [00:00, ?it/s]


1it [00:00, 882.45it/s]

0it [00:00, ?it/s]


1it [00:00, 9020.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 11.37it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:52224 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:52252 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:52224 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:52278 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:33:18.313336866 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:18.514073727 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:20.715318188 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:20.908950685 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.44it/s]

0it [00:00, ?it/s]


1it [00:00, 885.43it/s]

0it [00:00, ?it/s]


1it [00:00, 7543.71it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 14.09it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41420 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41424 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:41424 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:48682 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:33:29.284829490 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:29.490823049 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:31.700272136 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:31.892010464 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:48708 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 11:33:36.473811163 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:36.667220881 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:39.046324325 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:39.249178968 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.26it/s]

0it [00:00, ?it/s]


1it [00:00, 945.09it/s]

0it [00:00, ?it/s]


1it [00:00, 8630.26it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 11.30it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47034 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:47048 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:33:48.084463773 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:48.281752984 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:50.514230800 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:50.726983752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:50] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.22it/s]

0it [00:00, ?it/s]


1it [00:00, 802.74it/s]

0it [00:00, ?it/s]


1it [00:00, 8473.34it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.98it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 14.01it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58662 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:33:53.872527768 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:54.075592325 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:56.290994563 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:56.503385623 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:33:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 108.51it/s]

0it [00:00, ?it/s]


1it [00:00, 880.79it/s]

0it [00:00, ?it/s]


1it [00:00, 9039.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.36it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58698 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:59102 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:59118 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:33:58.738215562 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:33:58.943928463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:01.158311890 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:01.373232837 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.52it/s]

0it [00:00, ?it/s]


1it [00:00, 869.65it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.29it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.46it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59086 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:02.662435546 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:02.867181784 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:05.194217106 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:05.393268810 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.83it/s]

0it [00:00, ?it/s]


1it [00:00, 890.89it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.70it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.86it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59154 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:06.583616131 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:06.782160689 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:09.020171044 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:09.255931547 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:09] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.51it/s]

0it [00:00, ?it/s]


1it [00:00, 913.99it/s]

0it [00:00, ?it/s]


1it [00:00, 8811.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.30it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:46554 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:46558 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:34:10.342127846 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:10.540146413 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:12.771887751 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:13.005894276 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.25it/s]

0it [00:00, ?it/s]


1it [00:00, 840.54it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:46582 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:14.293639247 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:14.489108578 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:16.713304001 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:16.919296709 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.38it/s]

0it [00:00, ?it/s]


1it [00:00, 800.75it/s]

0it [00:00, ?it/s]


1it [00:00, 8405.42it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.64it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.07it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59144 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:20.816731292 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:20.998835699 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:23.230311165 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:23.468627135 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.16it/s]

0it [00:00, ?it/s]


1it [00:00, 696.38it/s]

0it [00:00, ?it/s]


1it [00:00, 9118.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.77it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.48it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:46620 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:24.965259391 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:25.161491449 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:27.408755917 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:27.644701237 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 71.30it/s]

0it [00:00, ?it/s]


1it [00:00, 369.35it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:46612 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:28.992317550 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:29.186526825 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:31.516509974 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:31.753211069 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 5.02it/s]
100%|██████████| 1/1 [00:00<00:00, 5.01it/s]

0it [00:00, ?it/s]


1it [00:00, 875.82it/s]

0it [00:00, ?it/s]


1it [00:00, 7825.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.98it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 11.07it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51732 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:33.078535820 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:33.276270501 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:35.521369116 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:35.728868775 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:35] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:51724 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:34:36.534164482 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:36.746379159 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:38.998133412 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:39.230571660 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.58it/s]

0it [00:00, ?it/s]


1it [00:00, 840.04it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.60it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51774 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:40.495776833 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:40.725390928 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:43.035596083 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:43.272984062 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:43] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 99.26it/s]

0it [00:00, ?it/s]


1it [00:00, 876.74it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.77it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.03it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47772 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:44.524503406 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:44.755908769 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:47.224529717 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:47.446537985 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:47] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.68it/s]

0it [00:00, ?it/s]


1it [00:00, 892.22it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.00it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.33it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43850 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:34:48.699580692 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:48.916820791 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:51.171070006 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:51.408024849 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.45it/s]

0it [00:00, ?it/s]


1it [00:00, 832.70it/s]

0it [00:00, ?it/s]


1it [00:00, 9320.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 8.43it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47756 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:35010 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:34:52.639756752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:52.841743969 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:55.098301296 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:34:55.314513638 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:34:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.08it/s]

0it [00:00, ?it/s]


1it [00:00, 869.83it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 11.02it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51714 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:35:00.880867986 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:01.099287249 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:03.358622451 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:03.555067731 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 105.01it/s]

0it [00:00, ?it/s]


1it [00:00, 810.02it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]
0it [00:00, ?it/s]
1it [00:00, 11.10it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43898 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:35:08.635349056 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:08.825369114 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:11.077371074 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:11.288889477 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:43850 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:43782 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:39496 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:35:19.103704187 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:19.341200080 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:21.754149494 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:21.950584955 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.32it/s]

0it [00:00, ?it/s]


1it [00:00, 836.02it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.65it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39512 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:39496 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:35:23.874379035 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:24.090006264 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:26.363350143 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:26.577587603 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:26] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
Video doesn't contain face!
INFO: 192.168.0.102:39550 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 128, in upload_images
final_frames_list, crop_frames_list, full_frames, tfm_array_list =
model_inference(full_frames,
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/core.py", line 44, in
model_inference
target_norm = normalize_and_torch_batch(np.array(target))
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 41, in normalize_and_torch_batch
batch_frames = torch.from_numpy(frames.copy()).cuda()
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types
are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8,
uint8, and bool.
2023-11-28 11:35:34.289797268 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:34.539527183 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:36.826331255 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:37.059456930 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:37] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.23it/s]

0it [00:00, ?it/s]


1it [00:00, 872.36it/s]

0it [00:00, ?it/s]


1it [00:00, 9039.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.48it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 13.82it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37046 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:37090 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58662 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58662 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:35:51.503791063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:51.746038374 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:54.055342038 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:54.291012089 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:35:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35:54] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.13it/s]

0it [00:00, ?it/s]


1it [00:00, 830.88it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.67it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58686 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:35:58.937838203 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:35:59.182658031 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:01.491674104 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:01.730982833 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 102.22it/s]

0it [00:00, ?it/s]


1it [00:00, 787.81it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.94it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.65it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33450 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:58686 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:36:03.105297202 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:03.352314081 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:05.799227538 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:06.004633189 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:06] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 70.63it/s]

0it [00:00, ?it/s]


1it [00:00, 282.94it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.31it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33454 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:33488 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:36:13.666346752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:13.882475126 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:16.152126532 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:16.364769757 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:50092 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:38312 - "GET /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:36:19.665009496 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:19.896698342 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:22.153770116 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:22.387526139 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:22] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 105.33it/s]

0it [00:00, ?it/s]


1it [00:00, 919.40it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.72it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38328 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:23.544611398 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:23.791241619 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:26.085051126 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:26.320682704 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:26] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.70it/s]

0it [00:00, ?it/s]


1it [00:00, 884.87it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.83it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 12.69it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38358 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:27.464799027 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:27.707987541 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:30.000917068 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:30.237979274 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.64it/s]

0it [00:00, ?it/s]


1it [00:00, 870.01it/s]

0it [00:00, ?it/s]


1it [00:00, 5957.82it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.58it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38332 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:31.968917106 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:32.198147118 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:34.474447569 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:34.694666404 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:34] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.63it/s]

0it [00:00, ?it/s]


1it [00:00, 868.39it/s]

0it [00:00, ?it/s]


1it [00:00, 7423.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.35it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:50086 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:35.960602442 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:36.189005404 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:38.446065216 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:38.686162892 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.32it/s]

0it [00:00, ?it/s]


1it [00:00, 804.28it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.60it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 14.10it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38332 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:40.508744429 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:40.732216007 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:42.986191723 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:43.226886756 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:43] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:52628 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:36:44.063902849 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:44.302503283 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:46.686880013 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:46.904277871 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:46] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:46] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.41it/s]

0it [00:00, ?it/s]


1it [00:00, 825.16it/s]

0it [00:00, ?it/s]


1it [00:00, 8719.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.73it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 10.62it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:52646 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:48.666368897 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:48.887648250 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:51.142522753 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:51.351503913 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 118.75it/s]

0it [00:00, ?it/s]


1it [00:00, 782.52it/s]

0it [00:00, ?it/s]


1it [00:00, 9118.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.58it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51770 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:52.690432076 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:52.913219723 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:55.186317207 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:55.427112729 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 105.87it/s]

0it [00:00, ?it/s]


1it [00:00, 871.09it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 13.98it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51796 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:36:56.811709038 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:57.038035075 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:59.324952308 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:36:59.534172160 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:36:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:59] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:51802 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:37:01.603392496 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:01.817615768 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:04.067719886 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:04.270093752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:55772 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 11:37:05.535885809 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:05.781954973 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:08.285369866 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:08.506042958 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
Video doesn't contain face!
INFO: 192.168.0.102:57022 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 128, in upload_images
final_frames_list, crop_frames_list, full_frames, tfm_array_list =
model_inference(full_frames,
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/core.py", line 44, in
model_inference
target_norm = normalize_and_torch_batch(np.array(target))
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 41, in normalize_and_torch_batch
batch_frames = torch.from_numpy(frames.copy()).cuda()
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types
are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8,
uint8, and bool.
2023-11-28 11:37:12.812680529 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:13.062852567 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:15.373774371 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:15.609128966 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:15] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.59it/s]

0it [00:00, ?it/s]


1it [00:00, 800.44it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.16it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.56it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57054 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:37:19.180331646 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:19.426902677 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:21.775184325 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:22.015286572 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:22] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.60it/s]

0it [00:00, ?it/s]


1it [00:00, 787.66it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.28it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.44it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:43304 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:57054 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:37:30.335749242 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:30.583214739 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:32.911531242 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:33.149856288 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:33] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.88it/s]

0it [00:00, ?it/s]


1it [00:00, 767.20it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.52it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38764 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:37:35.059725674 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:35.311287843 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:37.809265245 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:37:38.034976274 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:37:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.32it/s]

0it [00:00, ?it/s]


1it [00:00, 838.53it/s]

0it [00:00, ?it/s]


1it [00:00, 8830.11it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.59it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.76it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38802 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40858 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:38:06.655876110 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:06.897291370 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:09.185321150 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:09.395227595 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:38:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38:09] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
Corrupt JPEG data: 18 extraneous bytes before marker 0xe2
Corrupt JPEG data: 18 extraneous bytes before marker 0xe2
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.93it/s]

0it [00:00, ?it/s]


1it [00:00, 844.94it/s]

0it [00:00, ?it/s]


1it [00:00, 9362.29it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.50it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 35848.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.34it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36432 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:38:10.938568191 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:11.156488524 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:13.457137090 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:13.682780470 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:38:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.52it/s]

0it [00:00, ?it/s]


1it [00:00, 730.59it/s]
0it [00:00, ?it/s]
1it [00:00, 8905.10it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 14.24it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36480 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:59148 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:38:49.145930485 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:49.377651992 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:51.678845806 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:38:51.923479133 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:38:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:41658 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:39:00.261767459 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:00.511663316 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:02.795520340 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:03.033306991 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:39:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.91it/s]

0it [00:00, ?it/s]


1it [00:00, 778.45it/s]

0it [00:00, ?it/s]


1it [00:00, 8701.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.62it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59866 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:39:07.325568784 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:07.571964222 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:10.003928125 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:10.224901852 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:39:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.46it/s]

0it [00:00, ?it/s]


1it [00:00, 885.81it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.47it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59866 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:39:13.773000385 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:13.996536533 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:16.272854184 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:16.493222850 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:39:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.41it/s]

0it [00:00, ?it/s]


1it [00:00, 877.84it/s]

0it [00:00, ?it/s]


1it [00:00, 7557.30it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.65it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:50288 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:39:27.548460599 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:27.771681844 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:30.047153149 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:30.290081021 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:39:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.43it/s]

0it [00:00, ?it/s]


1it [00:00, 653.01it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.07it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 12.02it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49924 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:39:56.006199729 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:56.248982848 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:58.522118470 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:39:58.741384839 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:39:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 36.83it/s]

0it [00:00, ?it/s]


1it [00:00, 707.90it/s]
0it [00:00, ?it/s]
1it [00:00, 7695.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 10.85it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59706 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:40:10.555919173 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:10.778934850 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:13.038982911 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:13.274346864 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:40:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.39it/s]

0it [00:00, ?it/s]


1it [00:00, 776.44it/s]

0it [00:00, ?it/s]


1it [00:00, 7182.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:34552 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:40:32.332344107 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:32.580682649 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:34.952320061 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:35.171663645 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:40:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40:35] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.42it/s]

0it [00:00, ?it/s]


1it [00:00, 839.20it/s]

0it [00:00, ?it/s]


1it [00:00, 8081.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.96it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:35168 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:40:46.049504547 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:46.269555756 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:48.527026507 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:48.736609423 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:40:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40:48] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.37it/s]

0it [00:00, ?it/s]


1it [00:00, 696.15it/s]

0it [00:00, ?it/s]


1it [00:00, 7570.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47127.01it/s]

0it [00:00, ?it/s]


1it [00:00, 11.76it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49378 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:40:51.243914835 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:51.458717077 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:53.739261565 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:53.948060051 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:40:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40:53] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 38.57it/s]

0it [00:00, ?it/s]


1it [00:00, 977.01it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.85it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49396 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:40:58.822017694 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:40:59.038239224 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:41:01.303498948 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:41:01.515238498 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:41:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:41:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 104.27it/s]

0it [00:00, ?it/s]


1it [00:00, 872.36it/s]

0it [00:00, ?it/s]


1it [00:00, 8830.11it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.32it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 13.70it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:42264 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:41:02.751883380 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:41:02.974703107 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:41:05.341816842 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:41:05.552655494 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:41:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:41:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.98it/s]

0it [00:00, ?it/s]


1it [00:00, 822.57it/s]

0it [00:00, ?it/s]


1it [00:00, 8630.26it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.90it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.12it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49396 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:33338 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:42:00.560582199 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:00.795462740 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:03.067297258 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:03.277535208 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:42:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.11it/s]

0it [00:00, ?it/s]


1it [00:00, 665.87it/s]

0it [00:00, ?it/s]


1it [00:00, 7626.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.64it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:55660 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:42:10.778138887 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:11.001452896 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:13.261015501 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:13.471475158 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:42:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 38.84it/s]

0it [00:00, ?it/s]


1it [00:00, 986.66it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 9.94it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33352 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:46800 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46800 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:42:39.071848974 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:39.308183918 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:41.580887463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:41.792020910 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:42:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42:41] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.72it/s]

0it [00:00, ?it/s]


1it [00:00, 839.20it/s]

0it [00:00, ?it/s]


1it [00:00, 9118.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.15it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 11.06it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59998 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:42:58.833594686 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:42:59.062131279 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:43:01.421361632 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:43:01.632105665 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:43:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:43:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.55it/s]

0it [00:00, ?it/s]


1it [00:00, 825.16it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 12.15it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51864 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:43:16.353904299 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:43:16.574980459 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:43:18.825738737 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:43:19.036131287 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:43:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:43:19] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 104.22it/s]

0it [00:00, ?it/s]


1it [00:00, 527.06it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 28926.23it/s]

0it [00:00, ?it/s]


1it [00:00, 12.45it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54280 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:37056 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37086 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:43214 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42576 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42582 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:44:09.104498046 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:09.345065268 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:11.592507485 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:11.832198765 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:44:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:44:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 103.84it/s]

0it [00:00, ?it/s]


1it [00:00, 483.44it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 13.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:34224 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:42456 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:44:35.120908323 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:35.358663203 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:37.624405887 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:37.867086783 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:44:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:44:37] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.31it/s]
0it [00:00, ?it/s]
1it [00:00, 855.28it/s]

0it [00:00, ?it/s]


1it [00:00, 8719.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.67it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.99it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59848 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:44:51.916829138 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:52.142129631 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:54.404714330 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:54.683228966 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:44:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:44:54] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 112.99it/s]

0it [00:00, ?it/s]


1it [00:00, 890.13it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 13.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37832 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:44:55.818396937 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:56.042402700 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:58.401265349 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:44:58.640847774 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:44:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:44:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 68.33it/s]

0it [00:00, ?it/s]


1it [00:00, 292.76it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.78it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.47it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37864 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:44:59.875186467 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:00.095203251 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:02.360374847 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:02.597846855 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:02] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.22it/s]

0it [00:00, ?it/s]


1it [00:00, 724.03it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.51it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37848 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:03.831265414 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:04.053157051 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:06.313014731 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:06.549736233 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:06] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 82.91it/s]

0it [00:00, ?it/s]


1it [00:00, 875.82it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 12.27it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37876 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:07.771032551 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:07.993300998 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:10.254182077 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:10.491790731 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 116.16it/s]

0it [00:00, ?it/s]


1it [00:00, 870.73it/s]

0it [00:00, ?it/s]


1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 12.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37908 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:11.597336212 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:11.820169455 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:14.093812641 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:14.336311282 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:14] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.94it/s]

0it [00:00, ?it/s]


1it [00:00, 858.26it/s]

0it [00:00, ?it/s]


1it [00:00, 9238.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.94it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.27it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37898 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:15.800445443 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:16.020023408 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:18.288605413 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:18.526747735 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:18] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 119.59it/s]

0it [00:00, ?it/s]


1it [00:00, 767.77it/s]

0it [00:00, ?it/s]


1it [00:00, 8683.86it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.53it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37874 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:20.975137276 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:21.189751946 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:23.451600809 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:23.690706105 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.12it/s]

0it [00:00, ?it/s]


1it [00:00, 860.02it/s]

0it [00:00, ?it/s]


1it [00:00, 8793.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.88it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37912 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:24.885091082 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:25.111173559 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:27.392646334 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:27.632878716 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.19it/s]

0it [00:00, ?it/s]


1it [00:00, 654.44it/s]

0it [00:00, ?it/s]


1it [00:00, 8738.13it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.30it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.90it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37910 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:50076 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50112 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 11:45:29.445511341 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:29.664208966 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:31.940913203 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:32.186415437 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:32] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 104.85it/s]

0it [00:00, ?it/s]


1it [00:00, 581.09it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.18it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.69it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37886 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:36.999790440 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:37.219496196 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:39.486043906 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:39.729697276 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.97it/s]

0it [00:00, ?it/s]


1it [00:00, 738.56it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.05it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:50098 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:41.096672806 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:41.319756410 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:43.584883472 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:43.824771194 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:43] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.89it/s]

0it [00:00, ?it/s]


1it [00:00, 803.51it/s]

0it [00:00, ?it/s]


1it [00:00, 8756.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.63it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.86it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:50022 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:45.753960445 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:45.971898398 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:48.229722765 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:48.447782008 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:48] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.80it/s]

0it [00:00, ?it/s]


1it [00:00, 819.84it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.28it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45306 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:50.245178053 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:50.462572673 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:52.726875692 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:52.950661169 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:52] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 122.13it/s]

0it [00:00, ?it/s]


1it [00:00, 582.87it/s]

0it [00:00, ?it/s]


1it [00:00, 8559.80it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 14.27it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45340 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:45:55.888165427 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:56.108991866 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:58.374006567 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:45:58.614756483 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:45:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 122.82it/s]

0it [00:00, ?it/s]


1it [00:00, 808.62it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.29it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 14.49it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45552 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:00.402941214 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:00.622987903 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:02.890772184 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:03.132179200 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.62it/s]

0it [00:00, ?it/s]


1it [00:00, 813.80it/s]

0it [00:00, ?it/s]


1it [00:00, 8905.10it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.29it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 14.14it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45580 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:04.960732757 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:05.185900421 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:07.556769062 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:07.777731988 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:07] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.37it/s]

0it [00:00, ?it/s]


1it [00:00, 806.91it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.15it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.85it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39576 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:09.661418084 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:09.880859873 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:12.146801340 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:12.386997352 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:12] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.58it/s]

0it [00:00, ?it/s]


1it [00:00, 822.74it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.60it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45520 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:14.174529873 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:14.397433689 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:16.663142036 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:16.902717739 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.83it/s]

0it [00:00, ?it/s]


1it [00:00, 829.08it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.32it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.19it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37846 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:18.344599401 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:18.569348967 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:20.834308373 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:21.079046016 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.84it/s]

0it [00:00, ?it/s]


1it [00:00, 806.60it/s]

0it [00:00, ?it/s]


1it [00:00, 9078.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.28it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45414 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:22.965739049 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:23.191456378 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:25.558169124 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:25.798831416 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:25] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.08it/s]

0it [00:00, ?it/s]


1it [00:00, 777.30it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.54it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46603.38it/s]

0it [00:00, ?it/s]


1it [00:00, 10.70it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39596 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:27.625257463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:27.845934170 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:30.113211756 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:30.356861589 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.86it/s]

0it [00:00, ?it/s]


1it [00:00, 798.00it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45446 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:32.245493499 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:32.471718254 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:34.723714264 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:34.965211669 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:34] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.72it/s]

0it [00:00, ?it/s]


1it [00:00, 823.06it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.60it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.92it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58764 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:36.779090274 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:36.995132384 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:39.263450310 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:39.502357143 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.69it/s]

0it [00:00, ?it/s]


1it [00:00, 830.23it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58796 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:41.312834477 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:41.545273286 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:43.931282277 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:44.172769223 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.02it/s]

0it [00:00, ?it/s]


1it [00:00, 828.10it/s]

0it [00:00, ?it/s]


1it [00:00, 9078.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.86it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40954 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:46.057221793 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:46.280775193 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:48.546957745 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:48.792804338 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:48] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 123.18it/s]

0it [00:00, ?it/s]


1it [00:00, 800.13it/s]

0it [00:00, ?it/s]


1it [00:00, 9039.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]
0it [00:00, ?it/s]
1it [00:00, 13.71it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40994 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:50.646815304 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:50.867950144 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:53.125807472 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:53.371264051 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:53] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.85it/s]

0it [00:00, ?it/s]


1it [00:00, 801.82it/s]

0it [00:00, ?it/s]


1it [00:00, 8456.26it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.65it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.27it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39714 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:46:55.169198702 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:55.390512529 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:57.660412237 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:57.908120892 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:46:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46:57] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.57it/s]

0it [00:00, ?it/s]


1it [00:00, 817.13it/s]

0it [00:00, ?it/s]


1it [00:00, 7256.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.57it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39740 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:55656 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:41182 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:46:59.701096303 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:46:59.924110116 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:02.184685017 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:02.407536983 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:02] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.56it/s]

0it [00:00, ?it/s]


1it [00:00, 789.14it/s]

0it [00:00, ?it/s]


1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 54471.48it/s]

0it [00:00, ?it/s]


1it [00:00, 13.85it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37942 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:47:03.616898413 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:03.837498986 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:06.215617213 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:06.438175897 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:06] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.83it/s]

0it [00:00, ?it/s]


1it [00:00, 817.44it/s]

0it [00:00, ?it/s]


1it [00:00, 9118.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 58.79it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.91it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49450 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:47:08.242789056 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:08.466089148 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:10.728781190 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:10.977159986 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.60it/s]

0it [00:00, ?it/s]


1it [00:00, 872.90it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.98it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47292 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:47:12.131852122 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:12.353455515 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:14.632139864 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:14.851500870 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:14] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.89it/s]

0it [00:00, ?it/s]


1it [00:00, 807.84it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 11.08it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44086 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:47:16.738335400 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:16.963959374 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:19.237848933 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:19.478253137 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:19] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.44it/s]

0it [00:00, ?it/s]


1it [00:00, 830.56it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 11.17it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44138 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:47:21.289049334 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:21.502993138 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:23.873848213 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:24.122471070 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:24] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:47:29.014623650 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:29.264782301 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:31.537965719 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:47:31.775613978 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:47:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:39742 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
INFO: 192.168.0.102:47990 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:35626 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:35638 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:48:53.388895940 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:48:53.644735510 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:48:55.954491820 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:48:56.185721651 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:48:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:48:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 115.24it/s]

0it [00:00, ?it/s]


1it [00:00, 911.21it/s]

0it [00:00, ?it/s]


1it [00:00, 9554.22it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.70it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 9.60it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45988 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34072 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:49:40.267741522 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:49:40.511932393 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:49:42.823397063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:49:43.059761904 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:49:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:49:43] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.05it/s]

0it [00:00, ?it/s]


1it [00:00, 688.15it/s]

0it [00:00, ?it/s]


1it [00:00, 8905.10it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.47it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 9.62it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:34096 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:33716 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:50:15.180815959 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:15.426054516 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:17.920080522 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:18.140119699 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:18] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.16it/s]

0it [00:00, ?it/s]


1it [00:00, 849.22it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.31it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45782 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:35.206782345 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:35.427191187 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:37.681920648 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:37.890547771 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:37] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.62it/s]

0it [00:00, ?it/s]


1it [00:00, 778.89it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.21it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 12.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56120 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:39.227402148 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:39.467679405 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:41.766708372 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:42.010474633 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:42] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:42] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:56130 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 11:50:42.588328046 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:42.833581191 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:45.106721007 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:45.348755845 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.57it/s]

0it [00:00, ?it/s]


1it [00:00, 874.00it/s]

0it [00:00, ?it/s]


1it [00:00, 9118.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 11.03it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56138 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:46.507899679 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:46.758217763 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:49.217265233 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:49.443085175 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:49] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 78.83it/s]

0it [00:00, ?it/s]


1it [00:00, 902.97it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 11.74it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56132 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:50.686935396 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:50.926960216 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:53.247704758 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:53.492061634 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:53] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.40it/s]

0it [00:00, ?it/s]


1it [00:00, 741.96it/s]

0it [00:00, ?it/s]


1it [00:00, 7626.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 8.71it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56122 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:55.626853386 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:55.863564217 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:58.166516350 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:58.409727476 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:50:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 104.53it/s]

0it [00:00, ?it/s]


1it [00:00, 853.19it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.56it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56150 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:50:59.763145330 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:50:59.998106323 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:02.296222249 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:02.537018402 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:02] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.27it/s]

0it [00:00, ?it/s]


1it [00:00, 792.72it/s]

0it [00:00, ?it/s]


1it [00:00, 8981.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 10.37it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56166 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:03.920567793 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:04.155117310 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:06.572243407 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:06.812823573 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:06] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.82it/s]

0it [00:00, ?it/s]


1it [00:00, 850.43it/s]

0it [00:00, ?it/s]


1it [00:00, 8981.38it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.94it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 6.99it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56180 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:08.037277683 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:08.273565216 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:10.563892230 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:10.804360926 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.77it/s]

0it [00:00, ?it/s]


1it [00:00, 820.16it/s]
0it [00:00, ?it/s]
1it [00:00, 9320.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56152 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54430 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:51:12.720715434 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:12.954652578 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:15.254276778 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:15.495781426 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:15] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 112.20it/s]

0it [00:00, ?it/s]


1it [00:00, 812.22it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.55it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54916 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:16.671289308 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:16.904536641 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:19.217725610 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:19.460560747 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:19] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.11it/s]

0it [00:00, ?it/s]


1it [00:00, 651.90it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.15it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 10.74it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56220 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:20.940620605 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:21.169238913 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:23.452040470 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:23.692581252 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.63it/s]

0it [00:00, ?it/s]


1it [00:00, 766.50it/s]

0it [00:00, ?it/s]


1it [00:00, 8848.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.17it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 12.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54488 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:25.019533104 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:25.250350366 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:27.536048755 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:27.778652316 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.70it/s]

0it [00:00, ?it/s]


1it [00:00, 646.17it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 9.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56224 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:29.363742472 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:29.592868225 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:31.873549817 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:32.111077508 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:32] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.84it/s]

0it [00:00, ?it/s]


1it [00:00, 811.75it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.67it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54462 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:33.962335027 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:34.194045242 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:36.494206424 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:36.738626199 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.69it/s]

0it [00:00, ?it/s]


1it [00:00, 805.67it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54904 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:38.634645771 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:38.864622088 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:41.156655509 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:41.397635238 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:41] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.51it/s]

0it [00:00, ?it/s]


1it [00:00, 709.70it/s]

0it [00:00, ?it/s]


1it [00:00, 9020.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.18it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56188 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:43.176715755 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:43.407687890 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:45.706387887 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:45.948902179 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 120.39it/s]

0it [00:00, ?it/s]


1it [00:00, 787.96it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.63it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:55352 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:47.735771850 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:47.972651960 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:50.376441787 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:50.621168189 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:50] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 122.65it/s]

0it [00:00, ?it/s]


1it [00:00, 786.04it/s]

0it [00:00, ?it/s]


1it [00:00, 7423.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 58.85it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:55360 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:51:52.432905077 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:52.668970682 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:54.973175296 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:55.218723487 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.93it/s]

0it [00:00, ?it/s]


1it [00:00, 822.09it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.49it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.99it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56248 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:58760 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:51:57.065670165 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:57.300321164 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:59.595832170 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:51:59.838710388 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:51:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51:59] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.25it/s]

0it [00:00, ?it/s]


1it [00:00, 811.28it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.22it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 10.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:55380 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:01.721251815 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:01.955077307 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:04.249240643 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:04.491436704 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.88it/s]

0it [00:00, ?it/s]


1it [00:00, 800.90it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.22it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]
0it [00:00, ?it/s]
1it [00:00, 9.44it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58726 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:06.381551548 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:06.613301409 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:09.000209743 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:09.242381229 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:09] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.81it/s]

0it [00:00, ?it/s]


1it [00:00, 833.03it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 11.09it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58778 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:11.108113571 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:11.341236079 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:13.637175633 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:13.877116623 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.83it/s]

0it [00:00, ?it/s]


1it [00:00, 927.94it/s]
0it [00:00, ?it/s]
1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 13.66it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47222 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:14.959970698 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:15.193725518 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:17.487959217 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:17.728374352 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:17] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.77it/s]
0it [00:00, ?it/s]
1it [00:00, 809.87it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.49it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 11.08it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56172 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:47222 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:52:19.595532228 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:19.827671323 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:22.123430768 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:22.364593712 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:22] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 118.17it/s]

0it [00:00, ?it/s]


1it [00:00, 794.23it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 12.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47198 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:24.264789769 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:24.498481330 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:26.891472321 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:27.134074358 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.37it/s]

0it [00:00, ?it/s]


1it [00:00, 805.82it/s]

0it [00:00, ?it/s]


1it [00:00, 7612.17it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.59it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:47234 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:45668 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:52:28.923454141 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:29.156000653 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:31.449333201 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:31.691920090 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 123.36it/s]

0it [00:00, ?it/s]


1it [00:00, 783.98it/s]

0it [00:00, ?it/s]


1it [00:00, 9000.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.60it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39694 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:45708 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:52:33.559382914 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:33.791859876 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:36.096595069 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:36.339486552 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.08it/s]

0it [00:00, ?it/s]


1it [00:00, 772.72it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.20it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33566 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:38.204759507 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:38.434995563 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:40.727982111 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:40.971066567 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:40] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 122.34it/s]

0it [00:00, ?it/s]


1it [00:00, 799.52it/s]

0it [00:00, ?it/s]


1it [00:00, 9039.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.47it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 14.33it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33604 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40616 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 11:52:42.794937599 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:43.027171953 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:45.328437536 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:45.570548748 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 121.14it/s]

0it [00:00, ?it/s]


1it [00:00, 775.29it/s]

0it [00:00, ?it/s]


1it [00:00, 8665.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.73it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56154 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:46.809534269 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:47.036060062 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:49.435112588 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:49.678279400 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:49] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 116.94it/s]

0it [00:00, ?it/s]


1it [00:00, 621.47it/s]

0it [00:00, ?it/s]


1it [00:00, 8886.24it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40578 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:54.551133669 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:54.782477463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:57.069122767 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:57.309198692 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:52:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:57] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 115.87it/s]

0it [00:00, ?it/s]


1it [00:00, 919.00it/s]

0it [00:00, ?it/s]


1it [00:00, 9238.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.88it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44030 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:52:58.439941770 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:52:58.669003484 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:00.962630157 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:01.205010747 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.04it/s]

0it [00:00, ?it/s]


1it [00:00, 553.41it/s]

0it [00:00, ?it/s]


1it [00:00, 8388.61it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 13.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56212 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:38404 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:53:06.013232711 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:06.239676598 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:08.525899556 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:08.768221935 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.81it/s]

0it [00:00, ?it/s]


1it [00:00, 818.40it/s]

0it [00:00, ?it/s]


1it [00:00, 8490.49it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.32it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.74it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:53670 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:53:10.550287028 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:10.782951673 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:13.175900173 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:13.419198984 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:13] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 117.67it/s]

0it [00:00, ?it/s]


1it [00:00, 799.98it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.18it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 54471.48it/s]

0it [00:00, ?it/s]


1it [00:00, 10.70it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
2023-11-28 11:53:18.398507465 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:18.624771134 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:20.911118305 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:21.153772320 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.49it/s]

0it [00:00, ?it/s]


1it [00:00, 836.85it/s]

0it [00:00, ?it/s]


1it [00:00, 8439.24it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 14.16it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56204 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:53:22.622189091 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:22.849408671 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:25.143930112 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:25.387140695 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:25] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.15it/s]

0it [00:00, ?it/s]


1it [00:00, 607.43it/s]
0it [00:00, ?it/s]
1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.76it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
2023-11-28 11:53:27.938091659 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:28.161442527 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:30.446545212 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:30.688549763 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.14it/s]
0it [00:00, ?it/s]
1it [00:00, 845.63it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.46it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.70it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40616 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:53:32.129980231 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:32.358640438 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:34.655950434 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:34.901841252 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:34] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:40454 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
INFO: 192.168.0.102:52116 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46342 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:53:55.092235291 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:55.361406062 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:57.784157793 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:53:58.004387206 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:53:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:48358 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 11:54:17.608745290 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:17.883723777 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:20.162988358 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:20.405040699 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:54:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:54:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.56it/s]

0it [00:00, ?it/s]


1it [00:00, 571.20it/s]

0it [00:00, ?it/s]


1it [00:00, 8981.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.20it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47127.01it/s]

0it [00:00, ?it/s]


1it [00:00, 13.42it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:53608 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:54:32.325847601 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:32.572181252 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:34.862973653 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:54:35.105223487 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:54:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:54:35] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.86it/s]

0it [00:00, ?it/s]


1it [00:00, 750.32it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.46it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 13.23it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37202 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34330 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:48686 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:55:02.511187406 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:02.773369754 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:05.079273961 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:05.323656765 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:55:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:55:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.44it/s]

0it [00:00, ?it/s]


1it [00:00, 672.81it/s]

0it [00:00, ?it/s]


1it [00:00, 9425.40it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.15it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48724 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:55:07.296263099 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:07.546893449 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:09.831200866 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:10.076426177 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:55:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:55:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.42it/s]

0it [00:00, ?it/s]


1it [00:00, 818.72it/s]

0it [00:00, ?it/s]


1it [00:00, 8594.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.84it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 12.72it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40376 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:55:17.252717043 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:17.502260866 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:19.941807406 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:55:20.167917985 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:55:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:55:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.58it/s]

0it [00:00, ?it/s]


1it [00:00, 662.92it/s]

0it [00:00, ?it/s]


1it [00:00, 8577.31it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.80it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.91it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41956 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:53930 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53976 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53546 - "GET /robots.txt HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:53546 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:56:11.988225145 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:12.242076587 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:14.561061432 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:14.803848266 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:56:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:56:14] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.42it/s]

0it [00:00, ?it/s]


1it [00:00, 894.88it/s]

0it [00:00, ?it/s]


1it [00:00, 7681.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 13.95it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41866 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:56:29.470117936 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:29.698679827 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:31.997014345 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:56:32.242937322 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:56:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:56:32] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.74it/s]

0it [00:00, ?it/s]


1it [00:00, 894.50it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.84it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 11.88it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36626 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:58384 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:58428 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50078 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:57:21.465069012 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:21.710256604 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:24.011305167 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:24.253707238 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:57:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:57:24] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.13it/s]

0it [00:00, ?it/s]


1it [00:00, 695.69it/s]

0it [00:00, ?it/s]


1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.55it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:35746 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:57:35.900156484 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:36.127344286 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:38.527163948 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:57:38.769917841 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:57:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:57:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.16it/s]

0it [00:00, ?it/s]


1it [00:00, 684.11it/s]

0it [00:00, ?it/s]


1it [00:00, 8793.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.73it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]
0it [00:00, ?it/s]
1it [00:00, 10.59it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:55400 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:55430 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:55400 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:37920 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:49688 - "GET / HTTP/1.1" 200 OK
2023-11-28 11:58:52.847789718 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:58:53.094674698 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:58:55.389398349 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:58:55.633734194 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:58:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:58:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 100.87it/s]

0it [00:00, ?it/s]


1it [00:00, 871.27it/s]

0it [00:00, ?it/s]


1it [00:00, 9078.58it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.21it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37796 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:58:57.734114930 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:58:57.964406601 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:00.259751243 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:00.501534095 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:00] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:00] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:36538 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 11:59:01.371475669 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:01.612524789 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:03.899261655 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:04.140057197 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.97it/s]

0it [00:00, ?it/s]


1it [00:00, 837.19it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.40it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36554 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:05.613023092 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:05.859545048 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:08.163178584 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:08.406219418 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.63it/s]

0it [00:00, ?it/s]


1it [00:00, 917.39it/s]

0it [00:00, ?it/s]


1it [00:00, 9489.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.13it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 8.07it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36604 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:09.616230461 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:09.863960174 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:12.316760656 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:12.539874758 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:12] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:36562 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 11:59:13.409923414 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:13.651595087 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:15.957383396 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:16.197493826 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.16it/s]

0it [00:00, ?it/s]


1it [00:00, 920.61it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.50it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.32it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36576 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:17.361977587 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:17.612953950 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:19.929499907 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:20.168130949 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.13it/s]

0it [00:00, ?it/s]


1it [00:00, 858.26it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.82it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.58it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36618 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:21.384136271 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:21.637938752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:23.955878195 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:24.196311504 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:24] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.83it/s]

0it [00:00, ?it/s]


1it [00:00, 658.86it/s]

0it [00:00, ?it/s]


1it [00:00, 7869.24it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.13it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 13.15it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36598 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:25.887299504 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:26.120004214 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:28.429437473 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:28.673326756 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:28] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.81it/s]

0it [00:00, ?it/s]


1it [00:00, 868.21it/s]

0it [00:00, ?it/s]


1it [00:00, 8811.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.80it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.74it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36604 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:29.834002279 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:30.071031029 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:32.379598537 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:32.622034862 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:32] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.57it/s]

0it [00:00, ?it/s]


1it [00:00, 891.84it/s]

0it [00:00, ?it/s]


1it [00:00, 8701.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.44it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.62it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36674 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:33.733080509 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:33.967675873 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:36.291108472 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:36.535665304 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.30it/s]

0it [00:00, ?it/s]


1it [00:00, 690.99it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.84it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.97it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36636 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:38.049093713 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:38.283277913 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:40.592478622 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:40.836000464 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:40] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.90it/s]

0it [00:00, ?it/s]


1it [00:00, 792.13it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.73it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 14.18it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36654 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:42.145127675 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:42.376775071 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:44.692624155 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:44.939281095 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.90it/s]

0it [00:00, ?it/s]


1it [00:00, 879.49it/s]

0it [00:00, ?it/s]


1it [00:00, 7476.48it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.78it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.93it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36692 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:46.074377280 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:46.305923426 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:48.596929750 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:48.842358776 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:48] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.34it/s]

0it [00:00, ?it/s]


1it [00:00, 906.48it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.78it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.92it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36706 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:50.057242924 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:50.285748710 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:52.583565611 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:52.825447501 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:52] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.61it/s]

0it [00:00, ?it/s]


1it [00:00, 931.65it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 11.00it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36716 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:53.936053579 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:54.168426244 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:56.467485037 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:56.709430206 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[11:59:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.78it/s]

0it [00:00, ?it/s]


1it [00:00, 820.00it/s]

0it [00:00, ?it/s]


1it [00:00, 8683.86it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.79it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]
0it [00:00, ?it/s]
1it [00:00, 10.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36718 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 11:59:57.920732742 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 11:59:58.148211181 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:00.443135278 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:00.684732121 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:00] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:00] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.99it/s]

0it [00:00, ?it/s]


1it [00:00, 899.10it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.81it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 13.91it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48244 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:01.828973373 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:02.058455469 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:04.359962357 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:04.604752528 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.37it/s]

0it [00:00, ?it/s]


1it [00:00, 723.16it/s]

0it [00:00, ?it/s]


1it [00:00, 8756.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.67it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 12.57it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37552 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:05.775971135 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:06.005406362 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:08.309130589 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:08.550403410 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.59it/s]
0it [00:00, ?it/s]
1it [00:00, 741.70it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 13.96it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37592 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:48260 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:00:09.843811041 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:10.073452558 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:12.373339481 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:12.616677767 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:12] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.93it/s]

0it [00:00, ?it/s]


1it [00:00, 916.59it/s]

0it [00:00, ?it/s]


1it [00:00, 8507.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.70it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.68it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37540 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:13.803934085 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:14.035643659 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:16.332084425 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:16.574860762 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.42it/s]

0it [00:00, ?it/s]


1it [00:00, 731.86it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.83it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37566 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:18.163938115 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:18.393396645 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:20.692179096 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:20.932792054 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.22it/s]

0it [00:00, ?it/s]


1it [00:00, 830.56it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.36it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.94it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37624 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:22.799106233 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:23.024585301 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:25.315248319 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:25.559737793 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:25] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.62it/s]

0it [00:00, ?it/s]


1it [00:00, 815.54it/s]

0it [00:00, ?it/s]


1it [00:00, 8962.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57382 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:27.378456801 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:27.604402800 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:29.993304270 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:30.236335597 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.40it/s]

0it [00:00, ?it/s]


1it [00:00, 813.95it/s]

0it [00:00, ?it/s]


1it [00:00, 8128.50it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57412 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:32.061647845 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:32.288520531 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:34.574488277 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:34.818684919 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:34] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.17it/s]

0it [00:00, ?it/s]


1it [00:00, 710.78it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57430 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:36.424853278 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:36.652783900 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:38.942115285 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:39.184786784 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:48284 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:00:39.756096862 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:39.994864862 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:42.271377934 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:42.513642486 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:42] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:42] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:57830 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:00:43.426110584 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:43.671697107 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:46.095628231 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:46.311426441 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:46] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:46] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.90it/s]

0it [00:00, ?it/s]


1it [00:00, 819.04it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.15it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.89it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57804 - "POST /upload HTTP/1.1" 200 OK
INFO: - "GET / HTTP/1.1" 200 OK
2023-11-28 12:00:48.103402226 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:48.310719048 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:50.569867508 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:50.810674672 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:50] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.25it/s]

0it [00:00, ?it/s]


1it [00:00, 876.55it/s]

0it [00:00, ?it/s]


1it [00:00, 8924.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.82it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59562 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:51.985179462 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:52.213125803 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:54.502518274 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:54.746605891 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:54] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:45028 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:00:55.632400890 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:55.877076507 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:58.138374052 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:58.377771226 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:00:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.51it/s]

0it [00:00, ?it/s]


1it [00:00, 805.98it/s]

0it [00:00, ?it/s]


1it [00:00, 9238.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.60it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45064 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:00:59.712636420 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:00:59.961726557 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:02.390112829 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:02.609957137 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:02] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.61it/s]

0it [00:00, ?it/s]


1it [00:00, 821.12it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 13.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39370 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:04.523132949 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:04.750536517 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:07.038181434 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:07.281682475 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:07] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.53it/s]

0it [00:00, ?it/s]


1it [00:00, 795.88it/s]

0it [00:00, ?it/s]


1it [00:00, 9039.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.07it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.67it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39400 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:09.136343882 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:09.366569189 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:11.642581788 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:11.887855421 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.91it/s]

0it [00:00, ?it/s]


1it [00:00, 808.93it/s]

0it [00:00, ?it/s]


1it [00:00, 8981.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59948 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:13.750119099 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:13.978443883 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:16.252193788 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:16.492356086 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.64it/s]

0it [00:00, ?it/s]


1it [00:00, 825.16it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.51it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.72it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59962 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:18.323148598 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:18.551921987 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:20.933190068 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:21.174189084 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.76it/s]

0it [00:00, ?it/s]


1it [00:00, 817.13it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.79it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45052 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:23.015782577 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:23.244877192 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:25.522085386 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:25.762917126 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:25] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.17it/s]

0it [00:00, ?it/s]


1it [00:00, 830.56it/s]

0it [00:00, ?it/s]


1it [00:00, 8612.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.34it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:45088 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:27.555034806 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:27.784073065 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:30.066785514 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:30.309557762 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:30] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.92it/s]

0it [00:00, ?it/s]


1it [00:00, 820.80it/s]

0it [00:00, ?it/s]


1it [00:00, 8774.69it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.82it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 13.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:59984 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:32.161711582 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:32.388454894 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:34.667649673 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:34.907844432 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:34] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.62it/s]

0it [00:00, ?it/s]


1it [00:00, 816.33it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]
0it [00:00, ?it/s]
1it [00:00, 14.22it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41378 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54768 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:01:36.789463682 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:37.013454606 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:39.388708780 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:39.631590054 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.36it/s]

0it [00:00, ?it/s]


1it [00:00, 817.28it/s]

0it [00:00, ?it/s]


1it [00:00, 8905.10it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.63it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.91it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:41406 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54784 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 12:01:41.425330868 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:41.648191643 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:43.921026421 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:44.162143559 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.96it/s]

0it [00:00, ?it/s]


1it [00:00, 816.97it/s]

0it [00:00, ?it/s]


1it [00:00, 9238.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.67it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.74it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54746 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:01:46.019927639 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:46.242884945 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:48.521758357 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:48.760991544 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:48] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 112.52it/s]

0it [00:00, ?it/s]


1it [00:00, 904.72it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.77it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.76it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54828 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54554 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:41750 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:41778 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:01:49.912455511 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:50.135474141 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:52.414629125 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:52.653316452 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:01:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01:52] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.24it/s]

0it [00:00, ?it/s]


1it [00:00, 613.02it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.11it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 13.19it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36584 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34546 - "GET /upload HTTP/1.1" 405 Method Not Allowed
2023-11-28 12:01:57.395482617 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:01:57.622018518 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:00.002587702 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:00.247768802 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:00] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:00] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 120.88it/s]

0it [00:00, ?it/s]


1it [00:00, 688.15it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 11.07it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36646 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:02.013657892 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:02.244828461 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:04.525815206 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:04.771434981 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:52996 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:52428 - "HEAD / HTTP/1.1" 405 Method Not Allowed
2023-11-28 12:02:05.395849205 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:05.636232119 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:07.912745944 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:08.154725838 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:35870 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36740 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:02:09.137155228 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:09.383373173 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:11.695837956 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:11.945430240 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 119.35it/s]

0it [00:00, ?it/s]


1it [00:00, 555.68it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.20it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 10.45it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36686 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:16.809930108 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:17.036082316 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:19.543942871 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:19.768949540 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:19] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.73it/s]

0it [00:00, ?it/s]


1it [00:00, 874.91it/s]

0it [00:00, ?it/s]


1it [00:00, 8793.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 13.57it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37538 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:21.059005921 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:21.277260001 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:23.539638360 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:23.782576801 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.89it/s]

0it [00:00, ?it/s]


1it [00:00, 774.43it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.16it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.64it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36670 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:25.295229959 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:25.521231944 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:27.802868575 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:28.047713480 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:28] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 105.22it/s]

0it [00:00, ?it/s]


1it [00:00, 803.51it/s]

0it [00:00, ?it/s]


1it [00:00, 8683.86it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 60.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 13.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36570 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:32.984495082 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:33.207856150 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:35.479950122 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:35.742489322 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:35] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:37296 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:02:36.602763199 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:36.841319060 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:39.108929189 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:39.346993773 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.54it/s]

0it [00:00, ?it/s]


1it [00:00, 618.26it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.06it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.59it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49810 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:02:41.981218781 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:42.229553063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:44.658717752 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:44.880409132 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.63it/s]

0it [00:00, ?it/s]


1it [00:00, 894.50it/s]

0it [00:00, ?it/s]


1it [00:00, 9320.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.15it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:49820 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:49046 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:02:54.825191463 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:55.054477789 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:57.347965150 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:02:57.589810490 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:02:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:02:57] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 113.39it/s]

0it [00:00, ?it/s]


1it [00:00, 870.19it/s]

0it [00:00, ?it/s]


1it [00:00, 8577.31it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.17it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 14.20it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57028 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:03:02.943214024 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:03.171702577 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:05.460661330 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:05.700997406 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:03:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:03:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:34702 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:03:08.293862199 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:08.538599421 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:10.829874421 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:03:11.068061446 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:03:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:03:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:33438 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:41764 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:51812 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:04:03.626094811 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:04:03.890923677 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:04:06.202689202 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:04:06.446690666 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:04:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:04:06] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 115.88it/s]

0it [00:00, ?it/s]


1it [00:00, 913.79it/s]

0it [00:00, ?it/s]


1it [00:00, 9157.87it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 13.25it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37834 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:49534 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58962 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:49582 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:49610 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:05:26.569910679 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:26.839237303 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:29.322660091 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:29.554208552 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:05:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:05:29] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.40it/s]
0it [00:00, ?it/s]
1it [00:00, 600.64it/s]

0it [00:00, ?it/s]


1it [00:00, 8738.13it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 10.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36514 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:05:37.712691662 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:37.943972999 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:40.246697594 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:05:40.492825831 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:05:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:05:40] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.97it/s]

0it [00:00, ?it/s]


1it [00:00, 827.28it/s]

0it [00:00, ?it/s]


1it [00:00, 8962.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53773.13it/s]

0it [00:00, ?it/s]


1it [00:00, 13.71it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:32812 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:06:14.572724883 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:14.808260488 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:17.102247931 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:17.344424295 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:17] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
Corrupt JPEG data: 18 extraneous bytes before marker 0xe2
Corrupt JPEG data: 18 extraneous bytes before marker 0xe2
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.04it/s]

0it [00:00, ?it/s]


1it [00:00, 874.36it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.83it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 11.09it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39798 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:06:20.991901063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:21.217067002 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:23.508868006 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:23.754637298 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:39902 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:06:24.663125112 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:24.904867121 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:27.188572700 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:27.430901430 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:27] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:38750 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:06:28.587610998 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:28.809799467 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:31.104784335 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:31.348684724 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:39840 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:06:32.204457968 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:32.453441822 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:34.758081634 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:35.006363073 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:35] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.16it/s]

0it [00:00, ?it/s]


1it [00:00, 628.45it/s]
0it [00:00, ?it/s]
1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.85it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 12.81it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39860 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:06:36.841038236 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:37.095146593 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:39.417604461 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:39.662828034 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 104.85it/s]

0it [00:00, ?it/s]


1it [00:00, 652.61it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.17it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 7.00it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39804 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:06:44.596982455 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:44.840849056 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:47.159789095 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:47.407524588 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:47] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.19it/s]

0it [00:00, ?it/s]


1it [00:00, 578.44it/s]

0it [00:00, ?it/s]


1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.14it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 7.16it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:37484 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:06:51.885967428 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:52.105967870 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:54.582627766 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:06:54.806833568 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:06:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06:54] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 102.98it/s]

0it [00:00, ?it/s]


1it [00:00, 778.89it/s]

0it [00:00, ?it/s]


1it [00:00, 8405.42it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 58.46it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 46603.38it/s]

0it [00:00, ?it/s]


1it [00:00, 13.26it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39818 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:07:00.862568807 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:01.089918439 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:03.372897976 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:03.615983487 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:07:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.90it/s]

0it [00:00, ?it/s]


1it [00:00, 864.27it/s]

0it [00:00, ?it/s]


1it [00:00, 9137.92it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 10.23it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:39852 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:07:07.470493967 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:07.698849452 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:09.987983610 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:10.231514409 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:07:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07:10] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:55078 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:07:18.517231835 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:18.761878972 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:21.021695289 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:21.259092148 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:07:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:38390 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:38428 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34940 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:34940 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:07:50.767134027 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:51.022364779 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:53.319244524 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:07:53.571480260 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:07:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07:53] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:34616 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:08:02.937092876 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:03.157977242 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:05.442083863 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:05.688362223 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:08:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:36142 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:08:21.192019484 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:21.438996788 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:23.726453892 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:23.959369591 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:08:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:41036 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:08:30.470530571 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:30.709531981 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:33.009574305 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:33.273397259 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:08:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08:33] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 102.49it/s]

0it [00:00, ?it/s]


1it [00:00, 872.00it/s]

0it [00:00, ?it/s]


1it [00:00, 9467.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 10.10it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:40116 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:08:44.891030857 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:45.101795803 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:47.384872354 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:47.618197503 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:08:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08:47] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:33750 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:08:53.366083079 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:53.613748425 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:56.140757823 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:08:56.343155816 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:08:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08:56] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:51054 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47428 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:09:05.023742330 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:05.242285342 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:07.465777283 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:07.670030796 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:07] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 107.62it/s]

0it [00:00, ?it/s]


1it [00:00, 596.80it/s]

0it [00:00, ?it/s]


1it [00:00, 9218.25it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.36it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 12.21it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:51092 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:09:14.422781953 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:14.643648489 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:16.893807785 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:17.098573488 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:17] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
2023-11-28 12:09:17.912778797 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:18.119929870 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:20.347355992 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:20.553318996 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 118.87it/s]

0it [00:00, ?it/s]


1it [00:00, 766.22it/s]

0it [00:00, ?it/s]


1it [00:00, 8738.13it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.77it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 9.75it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56202 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34878 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:09:21.746438711 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:21.968132657 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:24.432667154 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:24.642682249 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:24] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 109.38it/s]

0it [00:00, ?it/s]


1it [00:00, 850.94it/s]

0it [00:00, ?it/s]


1it [00:00, 8577.31it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47127.01it/s]

0it [00:00, ?it/s]


1it [00:00, 12.49it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56242 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:09:25.807598032 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:26.024273521 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:28.286096795 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:28.528103615 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:28] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 120.73it/s]

0it [00:00, ?it/s]


1it [00:00, 828.42it/s]

0it [00:00, ?it/s]


1it [00:00, 8962.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.07it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 9.52it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56216 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:09:30.905068355 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:31.116195759 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:33.373831698 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:33.614560766 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:33] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.94it/s]

0it [00:00, ?it/s]


1it [00:00, 799.22it/s]

0it [00:00, ?it/s]


1it [00:00, 8830.11it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 12.36it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56222 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:09:35.413416946 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:35.624095058 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:37.866108588 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:38.072830576 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 3.60it/s]
100%|██████████| 1/1 [00:00<00:00, 3.60it/s]

0it [00:00, ?it/s]


1it [00:00, 836.02it/s]

0it [00:00, ?it/s]


1it [00:00, 9510.89it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 10.00it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:56232 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:09:43.205688716 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:43.413564713 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:45.647949104 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:09:45.855555602 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:09:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:45] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 5.18it/s]
100%|██████████| 1/1 [00:00<00:00, 5.18it/s]

0it [00:00, ?it/s]


1it [00:00, 861.96it/s]

0it [00:00, ?it/s]


1it [00:00, 9383.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.31it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 12.92it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48310 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:10:28.397532551 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:28.623434099 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:30.962362437 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:31.169935409 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:10:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10:31] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 116.93it/s]

0it [00:00, ?it/s]


1it [00:00, 856.50it/s]

0it [00:00, ?it/s]


1it [00:00, 9238.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 58.77it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 13.10it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33248 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:10:34.167563883 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:34.375730063 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:36.612430492 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:36.821769538 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:10:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 105.99it/s]

0it [00:00, ?it/s]


1it [00:00, 692.02it/s]

0it [00:00, ?it/s]


1it [00:00, 9198.04it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]

0it [00:00, ?it/s]


1it [00:00, 9.67it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:38090 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:44200 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 12:10:49.041244912 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:49.251253339 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:51.490144029 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:10:51.699314225 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:10:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:50500 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:45118 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37094 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47160 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47174 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42436 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 12:12:17.092492253 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:17.310549189 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:19.514952384 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:19.730352353 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:12:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:12:19] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:43466 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
INFO: 192.168.0.102:32970 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33760 - "GET / HTTP/1.1" 200 OK
2023-11-28 12:12:47.920098608 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:48.165091224 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:50.401876889 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:50.636854276 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:12:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:12:50] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 119.89it/s]

0it [00:00, ?it/s]


1it [00:00, 526.66it/s]

0it [00:00, ?it/s]


1it [00:00, 5262.61it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.91it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 9.80it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33790 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:45390 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 12:12:56.261001927 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:56.476010377 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:58.705029285 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:12:58.946488292 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:12:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:12:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.01it/s]

0it [00:00, ?it/s]


1it [00:00, 727.55it/s]

0it [00:00, ?it/s]


1it [00:00, 7294.44it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.65it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.21it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:48098 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:45424 - "GET /favicon.ico HTTP/1.1" 404 Not Found
2023-11-28 12:13:15.577237811 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:15.793072358 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:18.033205435 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:18.243530495 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:13:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13:18] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:36444 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:13:35.755565575 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:35.973905857 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:38.180475915 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:38.375744363 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:13:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13:38] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.36it/s]

0it [00:00, ?it/s]


1it [00:00, 743.93it/s]

0it [00:00, ?it/s]


1it [00:00, 8507.72it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.76it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 12.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:54774 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:13:39.690987548 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:39.908101425 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:42.151121124 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:42.350360406 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:13:42] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13:42] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 100.16it/s]

0it [00:00, ?it/s]


1it [00:00, 533.76it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.82it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.04it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:57414 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:13:58.826387904 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:13:59.050929720 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:01.436183510 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:01.646305211 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:01] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:33302 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:14:02.462521978 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:02.668680442 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:04.887029957 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:05.085539157 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:05] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 115.75it/s]

0it [00:00, ?it/s]


1it [00:00, 886.75it/s]

0it [00:00, ?it/s]


1it [00:00, 8612.53it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.64it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 9.86it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33316 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:06.235048700 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:06.453869403 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:08.721610700 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:08.960554288 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.57it/s]

0it [00:00, ?it/s]


1it [00:00, 855.81it/s]

0it [00:00, ?it/s]


1it [00:00, 8867.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 12.71it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33366 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:10.121605826 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:10.341585562 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:12.595262393 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:12.793165684 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:12] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 114.57it/s]

0it [00:00, ?it/s]


1it [00:00, 735.97it/s]

0it [00:00, ?it/s]


1it [00:00, 7695.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.80it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 36157.79it/s]

0it [00:00, ?it/s]


1it [00:00, 11.60it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33326 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:14.137274193 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:14.353369974 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:16.599810528 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:16.797474258 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:16] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 33.23it/s]

0it [00:00, ?it/s]


1it [00:00, 987.59it/s]

0it [00:00, ?it/s]


1it [00:00, 7884.03it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.23it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 35544.95it/s]

0it [00:00, ?it/s]


1it [00:00, 9.84it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33336 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:17.984869215 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:18.210819065 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:20.607404283 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:20.819057425 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:20] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.97it/s]

0it [00:00, ?it/s]


1it [00:00, 830.06it/s]

0it [00:00, ?it/s]


1it [00:00, 7584.64it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.83it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 38836.15it/s]

0it [00:00, ?it/s]


1it [00:00, 10.09it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33374 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:22.041185022 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:22.256247453 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:24.499726978 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:24.711173373 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:24] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.37it/s]

0it [00:00, ?it/s]


1it [00:00, 775.43it/s]

0it [00:00, ?it/s]


1it [00:00, 9020.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 54471.48it/s]

0it [00:00, ?it/s]


1it [00:00, 12.93it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33390 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:25.896881692 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:26.109750203 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:28.350720309 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:28.553140698 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:28] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 127.34it/s]

0it [00:00, ?it/s]


1it [00:00, 885.81it/s]

0it [00:00, ?it/s]


1it [00:00, 8848.74it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 9.41it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33416 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:29.693620877 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:29.907506033 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:32.150107794 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:32.357203143 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:32] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 38.88it/s]

0it [00:00, ?it/s]


1it [00:00, 969.33it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.28it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 54471.48it/s]

0it [00:00, ?it/s]


1it [00:00, 7.65it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33430 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:33.542625973 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:33.756679513 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:36.109462771 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:36.311263132 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.21it/s]

0it [00:00, ?it/s]


1it [00:00, 810.65it/s]

0it [00:00, ?it/s]


1it [00:00, 9098.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.98it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 7.91it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33462 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:37.555671828 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:37.770027307 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:40.015604066 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:40.227779129 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:40] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.54it/s]

0it [00:00, ?it/s]


1it [00:00, 836.19it/s]

0it [00:00, ?it/s]


1it [00:00, 8128.50it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 59.46it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 12.29it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33484 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:41.444157756 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:41.658674927 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:43.907551971 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:44.108195430 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:44] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:33508 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:14:44.966970242 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:45.180847815 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:47.400594666 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:47.603733152 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:47] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Bad source images
INFO: 192.168.0.102:33522 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 129, in upload_images
source,
UnboundLocalError: local variable 'source' referenced before assignment
2023-11-28 12:14:48.429583753 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:48.668470603 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:51.081071291 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:51.286717363 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:51] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 32.46it/s]

0it [00:00, ?it/s]


1it [00:00, 920.21it/s]
0it [00:00, ?it/s]
1it [00:00, 9362.29it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.20it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48210.39it/s]

0it [00:00, ?it/s]


1it [00:00, 10.23it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33480 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:53.044344457 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:53.253817886 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:55.506447390 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:55.709381851 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 116.30it/s]

0it [00:00, ?it/s]


1it [00:00, 876.37it/s]

0it [00:00, ?it/s]


1it [00:00, 9279.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.71it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 55188.21it/s]

0it [00:00, ?it/s]


1it [00:00, 10.21it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44708 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:14:56.871133964 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:57.086892032 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:59.337682171 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:14:59.550761372 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:14:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14:59] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.90it/s]

0it [00:00, ?it/s]


1it [00:00, 861.08it/s]

0it [00:00, ?it/s]


1it [00:00, 9300.01it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.69it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 9.88it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33306 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:01.528100620 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:01.737692711 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:03.966511483 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:04.178735737 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:04] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.76it/s]

0it [00:00, ?it/s]


1it [00:00, 816.17it/s]

0it [00:00, ?it/s]


1it [00:00, 8811.56it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.32it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 53092.46it/s]

0it [00:00, ?it/s]


1it [00:00, 10.22it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33538 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:05.625262474 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:05.837816010 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:08.187797921 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:08.392164240 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:08] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.46it/s]

0it [00:00, ?it/s]


1it [00:00, 592.50it/s]

0it [00:00, ?it/s]


1it [00:00, 8793.09it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.88it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49932.19it/s]

0it [00:00, ?it/s]


1it [00:00, 12.93it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33566 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:11.431110206 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:11.643062000 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:13.855499720 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:14.066058461 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:14] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.65it/s]

0it [00:00, ?it/s]


1it [00:00, 785.01it/s]

0it [00:00, ?it/s]


1it [00:00, 8886.24it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 9.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33476 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:15.331786096 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:15.544535272 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:17.784683959 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:17.988234170 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:18] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.94it/s]

0it [00:00, ?it/s]


1it [00:00, 871.45it/s]

0it [00:00, ?it/s]


1it [00:00, 9258.95it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.94it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 47662.55it/s]

0it [00:00, ?it/s]


1it [00:00, 10.43it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44746 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:19.153673795 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:19.366348783 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:21.605015501 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:21.817926602 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:21] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
Video doesn't contain face!
INFO: 192.168.0.102:44760 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 128, in upload_images
final_frames_list, crop_frames_list, full_frames, tfm_array_list =
model_inference(full_frames,
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/core.py", line 44, in
model_inference
target_norm = normalize_and_torch_batch(np.array(target))
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 41, in normalize_and_torch_batch
batch_frames = torch.from_numpy(frames.copy()).cuda()
TypeError: can't convert np.ndarray of type numpy.object_. The only supported types
are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8,
uint8, and bool.
2023-11-28 12:15:22.659616845 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:22.870523594 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:25.089562298 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:25.288828513 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:25] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.09it/s]

0it [00:00, ?it/s]


1it [00:00, 885.62it/s]

0it [00:00, ?it/s]


1it [00:00, 8355.19it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.90it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 9.99it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:26.573332451 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:26.790368247 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:29.037626758 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:29.283429733 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:29] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 108.62it/s]

0it [00:00, ?it/s]


1it [00:00, 832.20it/s]

0it [00:00, ?it/s]


1it [00:00, 8943.08it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.96it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 10.13it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44834 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:30.545529997 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:30.755779882 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:32.993958372 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:33.197593959 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:33] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:45920 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:15:33.755738689 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:33.966701975 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:36.182876712 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:36.383827634 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:36] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!
INFO: 192.168.0.102:39430 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 122, in upload_images
target = get_target(full_frames, app, crop_size)
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/video_processing.py",
line 77, in get_target
target = [crop_face(full_frames[i], app, crop_size)[0]]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:15:37.264794858 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:37.474879363 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:39.733784084 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:39.970898899 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:39] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 112.70it/s]

0it [00:00, ?it/s]


1it [00:00, 631.29it/s]

0it [00:00, ?it/s]


1it [00:00, 9425.40it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.99it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 12.54it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33394 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:44.768919977 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:44.989295491 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:47.476770133 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:47.698466901 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:47] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.13it/s]

0it [00:00, ?it/s]


1it [00:00, 663.24it/s]

0it [00:00, ?it/s]


1it [00:00, 9177.91it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.43it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 12.87it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44702 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:51.078578295 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:51.288340982 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:53.512242115 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:53.721438549 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:53] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 109.06it/s]

0it [00:00, ?it/s]


1it [00:00, 608.84it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.90it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 52428.80it/s]

0it [00:00, ?it/s]


1it [00:00, 6.77it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:44720 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:15:55.607237049 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:55.820466726 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:58.041923026 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:15:58.242651489 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:15:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15:58] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.40it/s]

0it [00:00, ?it/s]


1it [00:00, 792.87it/s]

0it [00:00, ?it/s]


1it [00:00, 8559.80it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.62it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 48770.98it/s]
0it [00:00, ?it/s]
1it [00:00, 8.26it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:53770 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:16:00.887204255 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:01.099572044 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:03.318188292 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:03.529255417 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:16:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16:03] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 102.98it/s]

0it [00:00, ?it/s]


1it [00:00, 866.41it/s]

0it [00:00, ?it/s]


1it [00:00, 8867.45it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.04it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 49344.75it/s]

0it [00:00, ?it/s]


1it [00:00, 12.18it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:33402 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:16:08.946852401 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:09.157250836 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:11.371703699 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:11.580963504 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:16:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16:11] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 106.71it/s]

0it [00:00, ?it/s]


1it [00:00, 817.13it/s]

0it [00:00, ?it/s]


1it [00:00, 9058.97it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 60.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51781.53it/s]

0it [00:00, ?it/s]


1it [00:00, 12.15it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:32966 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:16:26.786739986 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:27.001529331 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:29.338562841 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:29.550327689 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:16:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16:29] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:43406 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
2023-11-28 12:16:53.140398262 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:53.373052212 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:55.569575861 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:16:55.775496455 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:16:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16:55] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 111.60it/s]

0it [00:00, ?it/s]


1it [00:00, 892.98it/s]

0it [00:00, ?it/s]


1it [00:00, 9320.68it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.57it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 50533.78it/s]

0it [00:00, ?it/s]


1it [00:00, 9.40it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:36006 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:17:20.898791365 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:17:21.141393743 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:17:23.377668721 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:17:23.585001976 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:17:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:17:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
Everything is ok!

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 110.63it/s]

0it [00:00, ?it/s]


1it [00:00, 831.21it/s]

0it [00:00, ?it/s]


1it [00:00, 8830.11it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.61it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 51150.05it/s]

0it [00:00, ?it/s]


1it [00:00, 10.07it/s]
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
/home/brrsoftwares/.local/lib/python3.10/site-packages/mxnet/ndarray/utils.py:141:
DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the
`scipy.sparse.csr` namespace is deprecated.
if spsp is not None and isinstance(source_array, spsp.csr.csr_matrix):
INFO: 192.168.0.102:58514 - "POST /upload HTTP/1.1" 200 OK
2023-11-28 12:18:37.975530000 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:18:38.222746617 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:18:40.453178081 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
2023-11-28 12:18:40.709725415 [W:onnxruntime:Default,
onnxruntime_pybind_state.cc:540 CreateExecutionProviderInstance] Failed to create
TensorrtExecutionProvider. Please reference https://onnxruntime.ai/docs/execution-
providers/TensorRT-ExecutionProvider.html#requirements to ensure all dependencies
are met.
[12:18:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:18:40] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number of parameters: 72.2 million.
To see the architecture, do print(network).
Load checkpoint from path: weights/10_net_G.pth
INFO: 192.168.0.102:56316 - "POST /upload HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/protocols/
http/httptools_impl.py", line 426, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/uvicorn/middleware/
proxy_headers.py", line 84, in __call__
return await self.app(scope, receive, send)
File
"/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/applications.py",
line 1106, in __call__
await super().__call__(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
applications.py", line 122, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 184, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/errors.py", line 162, in __call__
await self.app(scope, receive, _send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 79, in __call__
raise exc
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 20, in __call__
raise e
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/middleware/
asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/starlette/
routing.py", line 66, in app
response = await func(request)
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 274, in app
raw_response = await run_endpoint_function(
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/fastapi/routing.py",
line 191, in run_endpoint_function
return await dependant.call(**values)
File "/home/brrsoftwares/ghost/sber-swap/brr-main.py", line 110, in upload_images
source = crop_face(source_full, app, crop_size)[0]
File "/home/brrsoftwares/ghost/sber-swap/utils/inference/image_processing.py",
line 17, in crop_face
kps = app.get(image_full, crop_size)
File
"/home/brrsoftwares/ghost/sber-swap/insightface_func/face_detect_crop_multi.py",
line 55, in get
bboxes, kpss = self.det_model.detect(img,
File "/home/brrsoftwares/.local/lib/python3.10/site-packages/insightface/
model_zoo/scrfd.py", line 204, in detect
im_ratio = float(img.shape[0]) / img.shape[1]
AttributeError: 'NoneType' object has no attribute 'shape'
INFO: 192.168.0.102:59400 - "GET /favicon.ico HTTP/1.1" 404 Not Found

You might also like