Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 237

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 [3022]
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.105:57566 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.105:57566 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:52246 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:57754 - "GET / HTTP/1.1" 200 OK
[11:09:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:09:52] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
[11:09:52] ../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, 101.47it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 2.06it/s]
1it [00:00, 1.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):
[11:09:56] ../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:54556 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:57842 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:12:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:12: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, 119.35it/s]

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


1it [00:00, 777.73it/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.04it/s]

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


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

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


1it [00:00, 15.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:39582 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40342 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58500 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58506 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:58500 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:58506 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:58506 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:58506 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:58506 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:59666 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:59666 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:36608 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36608 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:36664 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36664 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:43212 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:43234 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:38938 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:38938 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:38938 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:48774 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:48804 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:35102 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50752 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50752 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:25:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:25: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, 119.95it/s]

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


1it [00:00, 811.43it/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, 58.88it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:50752 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41296 - "GET / HTTP/1.1" 200 OK
[11:25:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:25: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.22it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 11.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:41312 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41340 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:41340 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:46174 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:25:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:25: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, 104.21it/s]

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


1it [00:00, 634.35it/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, 58.58it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:34788 - "POST /upload HTTP/1.1" 200 OK
[11:26:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26: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.08it/s]

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


1it [00:00, 704.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, 58.62it/s]

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


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

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


1it [00:00, 12.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:59586 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:59648 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:26:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26: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, 115.33it/s]

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


1it [00:00, 640.84it/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, 58.38it/s]

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


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

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


1it [00:00, 11.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:59648 - "POST /upload HTTP/1.1" 200 OK
[11:26:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26: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, 121.19it/s]
0it [00:00, ?it/s]
1it [00:00, 843.08it/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, 58.61it/s]

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


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

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


1it [00:00, 12.11it/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:53322 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:53370 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:52782 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:52810 - "GET / HTTP/1.1" 200 OK
[11:26:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:26: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, 6.77it/s]
100%|██████████| 1/1 [00:00<00:00, 6.76it/s]

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


1it [00:00, 875.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.33it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/s]
0it [00:00, ?it/s]
1it [00:00, 10.73it/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:52826 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:44032 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:40422 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:40446 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44130 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44154 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55494 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55508 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:41676 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:41698 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:60680 - "GET / HTTP/1.1" 200 OK
[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, 117.39it/s]

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


1it [00:00, 746.58it/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.10it/s]

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


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

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


1it [00:00, 11.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:42914 - "POST /upload HTTP/1.1" 200 OK
[11:27:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:27: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.96it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 11.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:42928 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:49462 - "GET /robots.txt HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:55880 - "GET / HTTP/1.1" 200 OK
[11:28:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:28: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, 105.42it/s]

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


1it [00:00, 651.09it/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.02it/s]

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


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

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


1it [00:00, 10.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:39666 - "POST /upload HTTP/1.1" 200 OK
[11:29:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:29: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.94it/s]

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


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

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


1it [00:00, 8648.05it/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, 42366.71it/s]

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


1it [00:00, 11.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:46972 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:60462 - "HEAD / HTTP/1.1" 405 Method Not Allowed
[11:29:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:29: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, 6.44it/s]
100%|██████████| 1/1 [00:00<00:00, 6.43it/s]

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


1it [00:00, 504.00it/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.63it/s]

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


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

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


1it [00:00, 11.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:45938 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:42958 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:42976 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:54138 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33008 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33024 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33046 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:56984 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50820 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:60418 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:49466 - "GET / HTTP/1.1" 200 OK
[11:31:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31: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, 114.96it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 15.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:59254 - "POST /upload HTTP/1.1" 200 OK
[11:31:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31: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, 118.87it/s]

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


1it [00:00, 800.75it/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.00it/s]

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


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

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


1it [00:00, 12.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:59288 - "POST /upload HTTP/1.1" 200 OK
[11:31:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:31: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, 120.25it/s]

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


1it [00:00, 781.94it/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, 58.99it/s]

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


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

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


1it [00:00, 11.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:54358 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54370 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:32:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32: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, 120.51it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/s]
0it [00:00, ?it/s]
1it [00:00, 10.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:54386 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:60380 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:60420 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:60420 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33200 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:32:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32: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, 117.08it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 14.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:51986 - "POST /upload HTTP/1.1" 200 OK
[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, 116.43it/s]

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


1it [00:00, 636.85it/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, 58.77it/s]

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


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

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


1it [00:00, 11.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:47156 - "POST /upload HTTP/1.1" 200 OK
[11:32:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:32: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, 117.80it/s]

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


1it [00:00, 822.09it/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.16it/s]

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


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

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


1it [00:00, 11.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:37106 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:60988 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:60988 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:33:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33: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
Video doesn't contain face!
INFO: 192.168.0.102:60988 - "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:57324 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:33:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33: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, 97.23it/s]
0it [00:00, ?it/s]
1it [00:00, 845.28it/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.26it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41527.76it/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:39074 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:39080 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:39112 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:39080 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:57386 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55090 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:55094 - "GET / HTTP/1.1" 200 OK
[11:33:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33: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.26it/s]

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


1it [00:00, 876.55it/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.11it/s]

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


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

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


1it [00:00, 11.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:47178 - "POST /upload HTTP/1.1" 200 OK
[11:33:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:33: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, 112.67it/s]

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


1it [00:00, 825.16it/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, 58.70it/s]

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


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

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


1it [00:00, 11.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:53220 - "POST /upload HTTP/1.1" 200 OK
[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, 120.06it/s]

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


1it [00:00, 845.97it/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, 58.66it/s]

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


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

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


1it [00:00, 11.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:53246 - "POST /upload HTTP/1.1" 200 OK
[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, 118.27it/s]
0it [00:00, ?it/s]
1it [00:00, 772.15it/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, 58.69it/s]

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


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

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


1it [00:00, 14.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:47178 - "POST /upload HTTP/1.1" 200 OK
[11:34:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 119.68it/s]

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


1it [00:00, 850.60it/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, 58.96it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:53256 - "POST /upload HTTP/1.1" 200 OK
[11:34:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 116.54it/s]

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


1it [00:00, 878.02it/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, 58.97it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41120.63it/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:59350 - "POST /upload HTTP/1.1" 200 OK
[11:34:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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.35it/s]

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


1it [00:00, 707.18it/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, 41527.76it/s]

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


1it [00:00, 7.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:59332 - "POST /upload HTTP/1.1" 200 OK
[11:34:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 121.15it/s]

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


1it [00:00, 790.78it/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.40it/s]

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


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

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


1it [00:00, 11.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:59362 - "POST /upload HTTP/1.1" 200 OK
[11:34:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 120.47it/s]

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


1it [00:00, 844.09it/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.29it/s]

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


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

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


1it [00:00, 7.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:59330 - "POST /upload HTTP/1.1" 200 OK
[11:34:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 119.51it/s]

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


1it [00:00, 807.84it/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.09it/s]

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


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

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


1it [00:00, 7.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:59376 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:56918 - "GET /upload HTTP/1.1" 405 Method Not Allowed
[11:34:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 38.02it/s]

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


1it [00:00, 762.18it/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.72it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:53278 - "POST /upload HTTP/1.1" 200 OK
[11:34:46] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 117.43it/s]

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


1it [00:00, 647.17it/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.10it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 41943.04it/s]

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


1it [00:00, 7.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:56856 - "POST /upload HTTP/1.1" 200 OK
[11:34:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 114.51it/s]

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


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

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


1it [00:00, 8004.40it/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, 41943.04it/s]

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


1it [00:00, 14.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:32768 - "POST /upload HTTP/1.1" 200 OK
[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, 119.08it/s]

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


1it [00:00, 655.87it/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.45it/s]

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


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

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


1it [00:00, 10.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:56894 - "POST /upload HTTP/1.1" 200 OK
[11:34:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:34: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, 117.15it/s]

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


1it [00:00, 649.78it/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, 58.63it/s]

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


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

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


1it [00:00, 15.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:56852 - "POST /upload HTTP/1.1" 200 OK
[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, 107.19it/s]

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


1it [00:00, 844.60it/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.16it/s]

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


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

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


1it [00:00, 6.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:41020 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41078 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53220 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:38672 - "GET / HTTP/1.1" 200 OK
[11:35:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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!
INFO: 192.168.0.102:60978 - "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'
[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!

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


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

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


1it [00:00, 766.08it/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.44it/s]

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


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

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


1it [00:00, 11.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:56880 - "POST /upload HTTP/1.1" 200 OK
[11:35:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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, 118.53it/s]

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


1it [00:00, 643.00it/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.05it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:53220 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:39382 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:35:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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, 120.79it/s]

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


1it [00:00, 797.55it/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, 58.73it/s]

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


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

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


1it [00:00, 14.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:39408 - "POST /upload HTTP/1.1" 200 OK
[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!

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


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

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


1it [00:00, 714.17it/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, 58.65it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:39440 - "POST /upload HTTP/1.1" 200 OK
[11:35:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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!
Video doesn't contain face!
INFO: 192.168.0.102:53892 - "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.
[11:35:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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, 117.72it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:34248 - "POST /upload HTTP/1.1" 200 OK
[11:35:46] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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.08it/s]

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


1it [00:00, 799.52it/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, 58.99it/s]

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


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

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


1it [00:00, 11.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:34248 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:46488 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:46514 - "GET / HTTP/1.1" 200 OK
[11:35:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:35: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.68it/s]

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


1it [00:00, 724.15it/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, 58.85it/s]

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


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

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


1it [00:00, 10.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:46488 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:46488 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:59718 - "HEAD / HTTP/1.1" 405 Method Not Allowed
[11:36:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 119.10it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 11.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:59748 - "POST /upload HTTP/1.1" 200 OK
[11:36:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 116.62it/s]

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


1it [00:00, 765.38it/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, 58.73it/s]

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


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

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


1it [00:00, 11.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:32776 - "POST /upload HTTP/1.1" 200 OK
[11:36:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 114.60it/s]

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


1it [00:00, 658.65it/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.16it/s]

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


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

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


1it [00:00, 11.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:32800 - "POST /upload HTTP/1.1" 200 OK
[11:36:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 117.36it/s]

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


1it [00:00, 847.16it/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.24it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:34602 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:32800 - "GET /upload HTTP/1.1" 405 Method Not Allowed
[11:36:25] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 117.70it/s]

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


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

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


1it [00:00, 8176.03it/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, 41527.76it/s]

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


1it [00:00, 10.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:34624 - "POST /upload HTTP/1.1" 200 OK
[11:36:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36:28] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
[11:36:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number 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.90it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:41850 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34624 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34634 - "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'
[11:36:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 121.05it/s]

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


1it [00:00, 805.20it/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.35it/s]

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


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

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


1it [00:00, 10.78it/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:50354 - "POST /upload HTTP/1.1" 200 OK
[11:36:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 121.49it/s]

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


1it [00:00, 800.75it/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.35it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:50394 - "POST /upload HTTP/1.1" 200 OK
[11:36:48] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 119.55it/s]

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


1it [00:00, 835.02it/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.35it/s]

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


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

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


1it [00:00, 9.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:45756 - "POST /upload HTTP/1.1" 200 OK
[11:36:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:36: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, 123.59it/s]

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


1it [00:00, 863.91it/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.13it/s]

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


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

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


1it [00:00, 11.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:45782 - "POST /upload HTTP/1.1" 200 OK
[11:37:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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.21it/s]

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


1it [00:00, 691.33it/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.39it/s]

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


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

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


1it [00:00, 11.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:51246 - "POST /upload HTTP/1.1" 200 OK
[11:37:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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:51292 - "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
[11:37:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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, 117.82it/s]
0it [00:00, ?it/s]
1it [00:00, 817.28it/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.13it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:55152 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:55202 - "GET / HTTP/1.1" 200 OK
[11:37:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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
INFO: 192.168.0.102:39604 - "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'
[11:37:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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, 116.45it/s]

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


1it [00:00, 693.96it/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, 58.92it/s]

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


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

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


1it [00:00, 10.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:39640 - "POST /upload HTTP/1.1" 200 OK
[11:37:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:37: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, 115.55it/s]

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


1it [00:00, 817.28it/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, 58.85it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41527.76it/s]
0it [00:00, ?it/s]
1it [00:00, 11.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:57782 - "POST /upload HTTP/1.1" 200 OK
[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, 112.15it/s]

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


1it [00:00, 854.76it/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, 58.73it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41527.76it/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: 192.168.0.102:47706 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:47130 - "GET / HTTP/1.1" 200 OK
[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!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number 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.35it/s]

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


1it [00:00, 828.59it/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, 58.48it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:52456 - "POST /upload HTTP/1.1" 200 OK
[11:38:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38: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, 118.17it/s]
0it [00:00, ?it/s]
1it [00:00, 829.73it/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, 58.73it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:52456 - "POST /upload HTTP/1.1" 200 OK
[11:38:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38: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.38it/s]

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


1it [00:00, 776.29it/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, 58.63it/s]

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


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

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


1it [00:00, 11.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:44826 - "POST /upload HTTP/1.1" 200 OK
[11:38:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:38: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, 116.27it/s]

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


1it [00:00, 840.37it/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.04it/s]

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


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

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


1it [00:00, 10.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:43418 - "POST /upload HTTP/1.1" 200 OK
[11:39:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39: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, 104.05it/s]

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


1it [00:00, 733.40it/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.20it/s]

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


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

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


1it [00:00, 11.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:44714 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:47082 - "GET / HTTP/1.1" 200 OK
[11:39:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39: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, 108.16it/s]

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


1it [00:00, 768.75it/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.11it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:58494 - "POST /upload HTTP/1.1" 200 OK
[11:39:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39: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, 37.13it/s]

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


1it [00:00, 640.94it/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.17it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:50436 - "POST /upload HTTP/1.1" 200 OK
[11:39:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:39: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, 119.44it/s]

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


1it [00:00, 691.90it/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, 58.94it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42366.71it/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:53318 - "POST /upload HTTP/1.1" 200 OK
[11:40:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40: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, 117.65it/s]

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


1it [00:00, 725.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, 58.71it/s]

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


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

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


1it [00:00, 13.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:59576 - "POST /upload HTTP/1.1" 200 OK
[11:40:40] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40: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, 37.92it/s]

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


1it [00:00, 710.90it/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.58it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:58014 - "POST /upload HTTP/1.1" 200 OK
[11:40:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:40: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, 121.41it/s]

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


1it [00:00, 861.96it/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, 58.83it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:36564 - "POST /upload HTTP/1.1" 200 OK
[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, 118.72it/s]

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


1it [00:00, 760.25it/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, 58.73it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:36590 - "POST /upload HTTP/1.1" 200 OK
[11:41:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:41: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, 117.93it/s]

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


1it [00:00, 740.26it/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, 58.63it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41120.63it/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:36590 - "POST /upload HTTP/1.1" 200 OK
[11:41:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:41: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, 83.98it/s]

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


1it [00:00, 688.95it/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.05it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41120.63it/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:50156 - "POST /upload HTTP/1.1" 200 OK
[11:41:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:41: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, 115.16it/s]

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


1it [00:00, 786.33it/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, 58.66it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42366.71it/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:53272 - "POST /upload HTTP/1.1" 200 OK
[11:42:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42: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, 100.22it/s]

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


1it [00:00, 738.69it/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, 58.84it/s]

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


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

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


1it [00:00, 10.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:43310 - "POST /upload HTTP/1.1" 200 OK
[11:42:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42: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, 116.53it/s]

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


1it [00:00, 610.79it/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, 58.68it/s]

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


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

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


1it [00:00, 10.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:55012 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:52158 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:55012 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
[11:42:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:42: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, 38.05it/s]

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


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

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


1it [00:00, 7269.16it/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, 43240.25it/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:40442 - "POST /upload HTTP/1.1" 200 OK
[11:43:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:43: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, 117.37it/s]

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


1it [00:00, 734.43it/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.06it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:51338 - "POST /upload HTTP/1.1" 200 OK
[11:43:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:43: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, 117.22it/s]

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


1it [00:00, 616.18it/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.03it/s]

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


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

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


1it [00:00, 11.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:59588 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:42510 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53438 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:53466 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36020 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:36026 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:33766 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:48110 - "GET / HTTP/1.1" 200 OK
[11:44:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:44: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, 119.30it/s]
0it [00:00, ?it/s]
1it [00:00, 879.86it/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, 58.71it/s]

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


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

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


1it [00:00, 12.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:56784 - "POST /upload HTTP/1.1" 200 OK
[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, 107.95it/s]

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


1it [00:00, 757.37it/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, 58.94it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:56834 - "POST /upload HTTP/1.1" 200 OK
[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, 118.64it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 10.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:56784 - "POST /upload HTTP/1.1" 200 OK
[11:45:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 119.05it/s]

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


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

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


1it [00:00, 7244.05it/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, 41527.76it/s]

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


1it [00:00, 11.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:56874 - "POST /upload HTTP/1.1" 200 OK
[11:45:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 118.04it/s]

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


1it [00:00, 649.17it/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.10it/s]

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


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

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


1it [00:00, 7.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:56836 - "POST /upload HTTP/1.1" 200 OK
[11:45:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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.40it/s]

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


1it [00:00, 799.68it/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.02it/s]

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


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

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


1it [00:00, 9.83it/s]
1it [00:00, 4.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:56842 - "POST /upload HTTP/1.1" 200 OK
[11:45:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 107.28it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 9.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:56858 - "POST /upload HTTP/1.1" 200 OK
[11:45:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 118.68it/s]

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


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

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


1it [00:00, 8035.07it/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, 43690.67it/s]

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


1it [00:00, 6.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:56882 - "POST /upload HTTP/1.1" 200 OK
[11:45:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 118.84it/s]

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


1it [00:00, 832.20it/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.01it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 45100.04it/s]

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


1it [00:00, 7.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:56896 - "POST /upload HTTP/1.1" 200 OK
[11:45:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 117.19it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 7.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:56886 - "POST /upload HTTP/1.1" 200 OK
[11:45:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 107.59it/s]

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


1it [00:00, 863.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.07it/s]

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


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

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


1it [00:00, 7.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:56898 - "POST /upload HTTP/1.1" 200 OK
[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!
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, 118.47it/s]

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


1it [00:00, 828.59it/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.05it/s]

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


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

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


1it [00:00, 6.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:56882 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41812 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:43670 - "GET / HTTP/1.1" 200 OK
[11:45:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 116.13it/s]

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


1it [00:00, 633.68it/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, 58.78it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:56846 - "POST /upload HTTP/1.1" 200 OK
[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, 119.01it/s]

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


1it [00:00, 810.34it/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, 58.62it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:56916 - "POST /upload HTTP/1.1" 200 OK
[11:45:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 118.82it/s]

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


1it [00:00, 716.49it/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, 58.78it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:46694 - "POST /upload HTTP/1.1" 200 OK
[11:45:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 119.84it/s]

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


1it [00:00, 810.02it/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, 58.71it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:49746 - "POST /upload HTTP/1.1" 200 OK
[11:45:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 118.70it/s]

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


1it [00:00, 807.37it/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.07it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:56930 - "POST /upload HTTP/1.1" 200 OK
[11:45:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:45: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, 114.85it/s]

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


1it [00:00, 776.00it/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.02it/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, 11.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:46710 - "POST /upload HTTP/1.1" 200 OK
[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, 118.20it/s]

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


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

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


1it [00:00, 8050.49it/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, 44620.26it/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:46726 - "POST /upload HTTP/1.1" 200 OK
[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, 117.60it/s]

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


1it [00:00, 766.64it/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, 58.78it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:49780 - "POST /upload HTTP/1.1" 200 OK
[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, 118.99it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:43692 - "POST /upload HTTP/1.1" 200 OK
[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, 120.68it/s]

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


1it [00:00, 772.86it/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.02it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:49760 - "POST /upload HTTP/1.1" 200 OK
[11:46:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 116.61it/s]

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


1it [00:00, 765.24it/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.00it/s]

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


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

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


1it [00:00, 13.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:46684 - "POST /upload HTTP/1.1" 200 OK
[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, 117.02it/s]

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


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

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


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

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


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

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


1it [00:00, 12.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:41790 - "POST /upload HTTP/1.1" 200 OK
[11:46:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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.97it/s]

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


1it [00:00, 790.78it/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, 58.76it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:59144 - "POST /upload HTTP/1.1" 200 OK
[11:46:33] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 116.51it/s]

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


1it [00:00, 849.91it/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, 58.81it/s]

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


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

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


1it [00:00, 11.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:35746 - "POST /upload HTTP/1.1" 200 OK
[11:46:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 117.08it/s]

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


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

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


1it [00:00, 7319.90it/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, 43690.67it/s]

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


1it [00:00, 8.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:49422 - "POST /upload HTTP/1.1" 200 OK
[11:46:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 117.87it/s]

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


1it [00:00, 791.38it/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.07it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:49792 - "POST /upload HTTP/1.1" 200 OK
[11:46:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 116.13it/s]

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


1it [00:00, 784.42it/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, 58.77it/s]

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


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

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


1it [00:00, 11.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:49464 - "POST /upload HTTP/1.1" 200 OK
[11:46:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 118.81it/s]

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


1it [00:00, 783.40it/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.15it/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, 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:35770 - "POST /upload HTTP/1.1" 200 OK
[11:46:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 118.72it/s]

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


1it [00:00, 787.51it/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.02it/s]

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


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

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


1it [00:00, 14.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:54822 - "POST /upload HTTP/1.1" 200 OK
[11:46:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:46: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, 119.90it/s]

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


1it [00:00, 765.24it/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, 59.42it/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, 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:58278 - "POST /upload HTTP/1.1" 200 OK
[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, 120.28it/s]

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


1it [00:00, 782.52it/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, 58.96it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:54856 - "POST /upload HTTP/1.1" 200 OK
[11:47:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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, 113.46it/s]

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


1it [00:00, 782.81it/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.09it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:33200 - "POST /upload HTTP/1.1" 200 OK
[11:47:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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.68it/s]

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


1it [00:00, 783.25it/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.02it/s]

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


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

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


1it [00:00, 10.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:58306 - "POST /upload HTTP/1.1" 200 OK
[11:47:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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, 113.91it/s]

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


1it [00:00, 697.08it/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.02it/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, 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:58892 - "POST /upload HTTP/1.1" 200 OK
[11:47:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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, 117.72it/s]

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


1it [00:00, 713.92it/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, 58.96it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:39304 - "POST /upload HTTP/1.1" 200 OK
[11:47:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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, 117.05it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:39332 - "POST /upload HTTP/1.1" 200 OK
[11:47:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:47: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, 117.20it/s]

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


1it [00:00, 716.24it/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.10it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:41866 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:38774 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:52850 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:36592 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:36592 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:35978 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:38168 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:47960 - "GET /upload HTTP/1.1" 405 Method Not Allowed
[11:50:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50: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
Bad source images
INFO: 192.168.0.102:49162 - "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:46662 - "GET / HTTP/1.1" 200 OK
[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, 123.47it/s]

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


1it [00:00, 883.38it/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, 58.80it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:37468 - "POST /upload HTTP/1.1" 200 OK
[11:50:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50: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, 120.29it/s]

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


1it [00:00, 823.70it/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.52it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:37508 - "POST /upload HTTP/1.1" 200 OK
[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, 92.88it/s]

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


1it [00:00, 825.00it/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.56it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:37480 - "POST /upload HTTP/1.1" 200 OK
[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, 120.34it/s]
0it [00:00, ?it/s]
1it [00:00, 646.17it/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.51it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:37486 - "POST /upload HTTP/1.1" 200 OK
[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, 119.79it/s]

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


1it [00:00, 851.46it/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.30it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:37494 - "POST /upload HTTP/1.1" 200 OK
[11:50:56] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:50: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.61it/s]

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


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

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


1it [00:00, 7206.71it/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, 42366.71it/s]

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


1it [00:00, 7.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:37520 - "POST /upload HTTP/1.1" 200 OK
[11:51:00] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 90.29it/s]

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


1it [00:00, 878.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.23it/s]

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


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

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


1it [00:00, 14.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:37552 - "POST /upload HTTP/1.1" 200 OK
[11:51:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 118.99it/s]

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


1it [00:00, 850.25it/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.29it/s]

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


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

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


1it [00:00, 7.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:37564 - "POST /upload HTTP/1.1" 200 OK
[11:51:08] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 117.57it/s]

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


1it [00:00, 701.62it/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.39it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:37562 - "POST /upload HTTP/1.1" 200 OK
[11:51:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 118.63it/s]

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


1it [00:00, 809.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.47it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:37616 - "POST /upload HTTP/1.1" 200 OK
[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, 119.19it/s]

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


1it [00:00, 817.76it/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.44it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:37584 - "POST /upload HTTP/1.1" 200 OK
[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, 116.03it/s]

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


1it [00:00, 799.22it/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, 44150.57it/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:37576 - "POST /upload HTTP/1.1" 200 OK
[11:51:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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!
INFO: 192.168.0.102:37650 - "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'
[11:51:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 119.15it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:37606 - "POST /upload HTTP/1.1" 200 OK
[11:51:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 116.96it/s]

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


1it [00:00, 804.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, 59.31it/s]

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


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

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


1it [00:00, 7.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:45590 - "POST /upload HTTP/1.1" 200 OK
[11:51:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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!
INFO: 192.168.0.102:45640 - "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'
[11:51:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 122.93it/s]

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


1it [00:00, 792.28it/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.46it/s]

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


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

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


1it [00:00, 10.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:45612 - "POST /upload HTTP/1.1" 200 OK
[11:51:42] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 114.26it/s]

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


1it [00:00, 657.21it/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.40it/s]

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


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

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


1it [00:00, 10.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:59528 - "POST /upload HTTP/1.1" 200 OK
[11:51:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 119.68it/s]

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


1it [00:00, 857.91it/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.52it/s]

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


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

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


1it [00:00, 12.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:59972 - "POST /upload HTTP/1.1" 200 OK
[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, 116.52it/s]

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


1it [00:00, 790.04it/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.19it/s]

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


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

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


1it [00:00, 10.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:59546 - "POST /upload HTTP/1.1" 200 OK
[11:51:54] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:51: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, 118.31it/s]

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


1it [00:00, 784.72it/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.37it/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.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:59566 - "POST /upload HTTP/1.1" 200 OK
[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, 123.23it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 13.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:60022 - "POST /upload HTTP/1.1" 200 OK
[11:52:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 114.40it/s]

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


1it [00:00, 782.23it/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.51it/s]

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


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

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


1it [00:00, 10.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:59992 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:35918 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
[11:52:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52:07] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
[11:52:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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!
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
loading ./coordinate_reg/model/2d106det 0
input mean and std: 127.5 127.5
find model: ./insightface_func/models/antelope/glintr100.onnx recognition
find model: ./insightface_func/models/antelope/scrfd_10g_bnkps.onnx detection
set det-size: (640, 640)
Network [LIPSPADEGenerator] was created. Total number 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.77it/s]

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


1it [00:00, 801.05it/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.03it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:35910 - "POST /upload HTTP/1.1" 200 OK
[11:52:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 119.86it/s]

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


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

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


1it [00:00, 7194.35it/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, 42799.02it/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:41460 - "POST /upload HTTP/1.1" 200 OK
[11:52:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 120.26it/s]

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


1it [00:00, 789.59it/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.15it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:36366 - "POST /upload HTTP/1.1" 200 OK
[11:52:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 120.09it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 10.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:41478 - "POST /upload HTTP/1.1" 200 OK
[11:52:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 119.47it/s]

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


1it [00:00, 792.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.57it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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:37962 - "POST /upload HTTP/1.1" 200 OK
[11:52:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 118.38it/s]

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


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

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


1it [00:00, 8035.07it/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, 43240.25it/s]
0it [00:00, ?it/s]
1it [00:00, 9.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:37986 - "POST /upload HTTP/1.1" 200 OK
[11:52:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 122.15it/s]

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


1it [00:00, 797.70it/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.48it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:36308 - "POST /upload HTTP/1.1" 200 OK
[11:52:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 119.47it/s]

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


1it [00:00, 788.85it/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.30it/s]

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


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

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


1it [00:00, 10.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:51786 - "POST /upload HTTP/1.1" 200 OK
[11:52:46] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 117.84it/s]

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


1it [00:00, 777.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, 59.41it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:51816 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:37628 - "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'
[11:52:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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.20it/s]

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


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

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


1it [00:00, 7332.70it/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, 45100.04it/s]
0it [00:00, ?it/s]
1it [00:00, 13.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:46978 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:34126 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34130 - "HEAD / HTTP/1.1" 405 Method Not Allowed
[11:52:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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, 121.03it/s]

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


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

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


1it [00:00, 7281.78it/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, 43690.67it/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:47004 - "POST /upload HTTP/1.1" 200 OK
[11:52:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:52: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
INFO: 192.168.0.102:36212 - "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'
[11:53:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53: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, 118.12it/s]

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


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

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


1it [00:00, 5874.38it/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, 43690.67it/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:34086 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:55872 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:45464 - "HEAD / HTTP/1.1" 405 Method Not Allowed
[11:53:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53: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, 114.97it/s]

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


1it [00:00, 630.63it/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.54it/s]

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


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

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


1it [00:00, 10.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:37506 - "POST /upload HTTP/1.1" 200 OK
[11:53:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53: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, 117.17it/s]

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


1it [00:00, 626.76it/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.54it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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):
[11:53:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53: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, 117.51it/s]

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


1it [00:00, 785.16it/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.25it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:58998 - "POST /upload HTTP/1.1" 200 OK
[11:53:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:53: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, 119.74it/s]

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


1it [00:00, 696.15it/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.23it/s]

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


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

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


1it [00:00, 10.39it/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:44052 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:43332 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:43914 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44328 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:39810 - "GET / HTTP/1.1" 200 OK
[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!
Video doesn't contain face!
INFO: 192.168.0.102:45814 - "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.
INFO: 192.168.0.102:48028 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:34582 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:34634 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33482 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:40220 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46568 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46618 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46618 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37496 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:56:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:56: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, 117.99it/s]

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


1it [00:00, 857.03it/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, 58.61it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:51504 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41742 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:37658 - "GET / HTTP/1.1" 200 OK
[11:57:04] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:57: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:44502 - "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:50078 - "GET / HTTP/1.1" 200 OK
[11:57:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:57: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, 120.67it/s]

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


1it [00:00, 697.31it/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.30it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:44666 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:48156 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:48156 - "HEAD /upload HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:47734 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:47748 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:38386 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[11:58:57] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:58: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, 114.06it/s]

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


1it [00:00, 649.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.06it/s]

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


100%|██████████| 1/1 [00:00<00:00, 39945.75it/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:51814 - "POST /upload HTTP/1.1" 200 OK
[11:59:01] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 117.12it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:48190 - "POST /upload HTTP/1.1" 200 OK
[11:59:05] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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.63it/s]
0it [00:00, ?it/s]
1it [00:00, 867.49it/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, 44620.26it/s]

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


1it [00:00, 10.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:48176 - "POST /upload HTTP/1.1" 200 OK
[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
INFO: 192.168.0.102:48188 - "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'
[11:59:11] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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.81it/s]

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


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

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


1it [00:00, 6932.73it/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, 40721.40it/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:48214 - "POST /upload HTTP/1.1" 200 OK
[11:59:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 113.09it/s]

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


1it [00:00, 806.13it/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.38it/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, 10.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:48234 - "POST /upload HTTP/1.1" 200 OK
[11:59:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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.66it/s]

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


1it [00:00, 793.92it/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.24it/s]

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


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

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


1it [00:00, 10.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:48222 - "POST /upload HTTP/1.1" 200 OK
[11:59:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 114.82it/s]

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


1it [00:00, 843.08it/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.54it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:48244 - "POST /upload HTTP/1.1" 200 OK
[11:59:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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:48258 - "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
[11:59:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 119.06it/s]

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


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

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


1it [00:00, 7307.15it/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, 44150.57it/s]

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


1it [00:00, 6.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:48264 - "POST /upload HTTP/1.1" 200 OK
[11:59:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 120.12it/s]

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


1it [00:00, 837.19it/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.42it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 43240.25it/s]

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


1it [00:00, 10.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:48292 - "POST /upload HTTP/1.1" 200 OK
[11:59:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 35.00it/s]

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


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

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


1it [00:00, 9404.27it/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, 44620.26it/s]

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


1it [00:00, 7.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:48344 - "POST /upload HTTP/1.1" 200 OK
[11:59:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 117.30it/s]

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


1it [00:00, 803.04it/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.40it/s]

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


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

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


1it [00:00, 7.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:48306 - "POST /upload HTTP/1.1" 200 OK
[11:59:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 117.72it/s]

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


1it [00:00, 862.85it/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.38it/s]

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


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

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


1it [00:00, 6.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:48322 - "POST /upload HTTP/1.1" 200 OK
[11:59:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 110.27it/s]

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


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

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


1it [00:00, 7281.78it/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, 44150.57it/s]

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


1it [00:00, 8.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:48352 - "POST /upload HTTP/1.1" 200 OK
[11:59:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 110.20it/s]

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


1it [00:00, 757.37it/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.46it/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, 7.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:48330 - "POST /upload HTTP/1.1" 200 OK
[11:59:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[11:59: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, 60.30it/s]

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


1it [00:00, 294.77it/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.22it/s]

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


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

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


1it [00:00, 7.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:48384 - "POST /upload HTTP/1.1" 200 OK
[12:00:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 114.86it/s]

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


1it [00:00, 842.06it/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, 58.98it/s]

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


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

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


1it [00:00, 7.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:48386 - "POST /upload HTTP/1.1" 200 OK
[12:00:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 108.44it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 10.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:48396 - "POST /upload HTTP/1.1" 200 OK
[12:00:10] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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.05it/s]

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


1it [00:00, 737.40it/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.08it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43240.25it/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: - "POST /upload HTTP/1.1" 200 OK
[12:00:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 119.08it/s]

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


1it [00:00, 816.65it/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.35it/s]

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


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

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


1it [00:00, 9.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: - "POST /upload HTTP/1.1" 200 OK
[12:00:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 87.08it/s]

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


1it [00:00, 798.61it/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, 58.75it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 44150.57it/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: - "POST /upload HTTP/1.1" 200 OK
[12:00:21] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 119.48it/s]

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


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

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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: - "POST /upload HTTP/1.1" 200 OK
INFO: - "GET / HTTP/1.1" 200 OK
[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, 121.21it/s]

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


1it [00:00, 884.31it/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.21it/s]

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


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

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


1it [00:00, 9.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: - "POST /upload HTTP/1.1" 200 OK
[12:00:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 117.35it/s]

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


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

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


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

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


100%|██████████| 1/1 [00:00<00:00, 59.24it/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.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: - "POST /upload HTTP/1.1" 200 OK
INFO: - "GET / HTTP/1.1" 200 OK
[12:00:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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
Bad source images
INFO: - "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
[12:00:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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
INFO: 192.168.0.102:40446 - "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
[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
Everything is ok!

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


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

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


1it [00:00, 749.12it/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.50it/s]

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


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

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


1it [00:00, 10.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:40466 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:40488 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34374 - "GET / HTTP/1.1" 200 OK
[12:00:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:00: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, 113.22it/s]

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


1it [00:00, 742.22it/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.44it/s]

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


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

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


1it [00:00, 13.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:47830 - "POST /upload HTTP/1.1" 200 OK
[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!
Video doesn't contain face!
INFO: 192.168.0.102:49864 - "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.
INFO: 192.168.0.102:34374 - "HEAD / HTTP/1.1" 405 Method Not Allowed
[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, 120.01it/s]

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


1it [00:00, 752.07it/s]
0it [00:00, ?it/s]
1it [00:00, 5991.86it/s]

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


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

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


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

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


1it [00:00, 9.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:47844 - "POST /upload HTTP/1.1" 200 OK
[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
Everything is ok!

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


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

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


1it [00:00, 787.37it/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.08it/s]

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


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

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


1it [00:00, 10.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:57162 - "POST /upload HTTP/1.1" 200 OK
[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, 118.83it/s]

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


1it [00:00, 794.53it/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.19it/s]

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


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

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


1it [00:00, 10.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:47802 - "POST /upload HTTP/1.1" 200 OK
[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, 117.87it/s]

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


1it [00:00, 755.19it/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.25it/s]

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


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

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


1it [00:00, 10.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:49878 - "POST /upload HTTP/1.1" 200 OK
[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, 118.93it/s]

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


1it [00:00, 814.74it/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.43it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:57138 - "POST /upload HTTP/1.1" 200 OK
[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, 118.12it/s]

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


1it [00:00, 766.64it/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.40it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:34352 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:54792 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:54794 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:54812 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:57666 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:57708 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:57328 - "GET / HTTP/1.1" 200 OK
[12:01:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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, 120.95it/s]

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


1it [00:00, 854.41it/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, 44620.26it/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:57352 - "POST /upload HTTP/1.1" 200 OK
[12:01:19] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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
INFO: 192.168.0.102:54766 - "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'
[12:01:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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!
Video doesn't contain face!
INFO: 192.168.0.102:57328 - "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.
[12:01:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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, 117.89it/s]

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


1it [00:00, 784.72it/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.09it/s]

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


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

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


1it [00:00, 12.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:47440 - "POST /upload HTTP/1.1" 200 OK
[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, 112.31it/s]

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


1it [00:00, 805.51it/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.49it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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:47466 - "POST /upload HTTP/1.1" 200 OK
[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, 120.40it/s]

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


1it [00:00, 873.45it/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.16it/s]

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


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

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


1it [00:00, 10.73it/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:37064 - "POST /upload HTTP/1.1" 200 OK
[12:01:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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, 105.68it/s]

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


1it [00:00, 631.67it/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.12it/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, 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:47872 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:36676 - "GET / HTTP/1.1" 200 OK
[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, 114.57it/s]

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


1it [00:00, 621.84it/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, 58.77it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:48360 - "POST /upload HTTP/1.1" 200 OK
[12:01:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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, 119.04it/s]

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


1it [00:00, 615.18it/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.20it/s]

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


100%|██████████| 1/1 [00:00<00:00, 45100.04it/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):
[12:01:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:01: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.26it/s]

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


1it [00:00, 607.78it/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.02it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42366.71it/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):
[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, 117.48it/s]

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


1it [00:00, 765.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.14it/s]
0%| | 0/1 [00:00<?, ?it/s]
100%|██████████| 1/1 [00:00<00:00, 44150.57it/s]

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


1it [00:00, 10.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:37064 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:49314 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:49322 - "HEAD / HTTP/1.1" 405 Method Not Allowed
INFO: 192.168.0.102:47868 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:59132 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:34708 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36654 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36082 - "GET / HTTP/1.1" 200 OK
[12:03:14] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:03: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, 120.88it/s]

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


1it [00:00, 760.66it/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, 58.93it/s]

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


100%|██████████| 1/1 [00:00<00:00, 43690.67it/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:57078 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:51596 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:44404 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:59212 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:44070 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:35196 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36374 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:36426 - "GET / HTTP/1.1" 200 OK
[12:05:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:05: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, 116.12it/s]

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


1it [00:00, 749.52it/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, 58.83it/s]

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


100%|██████████| 1/1 [00:00<00:00, 42799.02it/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:35128 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:41308 - "GET / HTTP/1.1" 200 OK
[12:06:16] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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, 117.99it/s]

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


1it [00:00, 734.04it/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.01it/s]

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


100%|██████████| 1/1 [00:00<00:00, 41943.04it/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:41190 - "POST /upload HTTP/1.1" 200 OK
[12:06:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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, 118.66it/s]

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


1it [00:00, 811.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, 58.70it/s]

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


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

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


1it [00:00, 9.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:38902 - "POST /upload HTTP/1.1" 200 OK
[12:06:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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.71it/s]

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


1it [00:00, 835.69it/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.15it/s]

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


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

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


1it [00:00, 10.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:38928 - "POST /upload HTTP/1.1" 200 OK
[12:06:28] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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, 117.05it/s]

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


1it [00:00, 590.66it/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.16it/s]

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


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

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


1it [00:00, 8.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:38908 - "POST /upload HTTP/1.1" 200 OK
[12:06:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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, 118.08it/s]

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


1it [00:00, 671.41it/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.36it/s]

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


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

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


1it [00:00, 7.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:38888 - "POST /upload HTTP/1.1" 200 OK
[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, 108.51it/s]

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


1it [00:00, 788.85it/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.40it/s]

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


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

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


1it [00:00, 6.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:38960 - "POST /upload HTTP/1.1" 200 OK
[12:06:43] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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, 117.74it/s]

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


1it [00:00, 770.87it/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.45it/s]

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


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

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


1it [00:00, 7.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:38894 - "POST /upload HTTP/1.1" 200 OK
[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, 118.58it/s]

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


1it [00:00, 746.72it/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.45it/s]

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


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

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


1it [00:00, 6.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:38910 - "POST /upload HTTP/1.1" 200 OK
[12:06:52] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:06: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!
INFO: 192.168.0.102:35076 - "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'
[12:07:07] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07: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!
INFO: 192.168.0.102:49868 - "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:46042 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:46042 - "GET /favicon.ico HTTP/1.1" 404 Not Found
[12:07:35] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07: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:57216 - "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'
[12:07:47] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07: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:55950 - "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'
[12:07:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:07: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!
INFO: 192.168.0.102:55998 - "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:38576 - "GET / HTTP/1.1" 200 OK
[12:08:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08: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
INFO: 192.168.0.102:56028 - "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'
[12:08:39] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08: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!
INFO: 192.168.0.102:40558 - "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'
[12:08:51] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:08: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
Bad source images
INFO: 192.168.0.102:39880 - "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:53634 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:53656 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:50230 - "GET / HTTP/1.1" 200 OK
[12:09:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09: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, 115.34it/s]

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


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

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


1it [00:00, 5426.01it/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, 41527.76it/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:52872 - "POST /upload HTTP/1.1" 200 OK
INFO: 192.168.0.102:52940 - "GET / HTTP/1.1" 200 OK
[12:09:23] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09:23] ../src/nnvm/legacy_json_util.cc:216: Symbol successfully upgraded!
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, 117.60it/s]

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


1it [00:00, 816.81it/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.48it/s]

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


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

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


1it [00:00, 10.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:52908 - "POST /upload HTTP/1.1" 200 OK
[12:09:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09: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, 116.26it/s]

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


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

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


1it [00:00, 7244.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, 43690.67it/s]

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


1it [00:00, 12.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:52896 - "POST /upload HTTP/1.1" 200 OK
[12:09:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09: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, 113.92it/s]

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


1it [00:00, 763.02it/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.57it/s]

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


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

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


1it [00:00, 13.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:52914 - "POST /upload HTTP/1.1" 200 OK
[12:09:36] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09: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, 114.20it/s]

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


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

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


1it [00:00, 8160.12it/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, 44150.57it/s]

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


1it [00:00, 11.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:52922 - "POST /upload HTTP/1.1" 200 OK
[12:09:50] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:09: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, 4.62it/s]
100%|██████████| 1/1 [00:00<00:00, 4.62it/s]

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


1it [00:00, 853.72it/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.70it/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, 9.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:35356 - "POST /upload HTTP/1.1" 200 OK
[12:10:29] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10: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, 4.62it/s]
100%|██████████| 1/1 [00:00<00:00, 4.61it/s]

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


1it [00:00, 820.48it/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.20it/s]

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


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

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


1it [00:00, 9.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:40752 - "POST /upload HTTP/1.1" 200 OK
[12:10:37] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10: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, 21.78it/s]

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


1it [00:00, 956.08it/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, 58.91it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:35174 - "POST /upload HTTP/1.1" 200 OK
[12:10:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10: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!
Video doesn't contain face!
INFO: 192.168.0.102:50062 - "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.
[12:10:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:10: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!
Video doesn't contain face!
INFO: 192.168.0.102:43368 - "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.
[12:11:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:11: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
Bad source images
INFO: 192.168.0.102:51000 - "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:52836 - "GET / HTTP/1.1" 200 OK
[12:11:59] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:11: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
Bad source images
INFO: 192.168.0.102:52836 - "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:52858 - "GET / HTTP/1.1" 200 OK
[12:12:12] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:12: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:59546 - "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:51190 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:56670 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:51246 - "GET /favicon.ico HTTP/1.1" 404 Not Found
INFO: 192.168.0.102:51304 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33134 - "GET / HTTP/1.1" 200 OK
INFO: 192.168.0.102:33162 - "GET / HTTP/1.1" 200 OK
[12:13:03] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13: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
Bad source images
INFO: 192.168.0.102:33162 - "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
[12:13:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13: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
INFO: 192.168.0.102:45414 - "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'
[12:13:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:13: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, 117.08it/s]

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


1it [00:00, 798.00it/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, 58.80it/s]

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


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

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


1it [00:00, 10.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:58698 - "POST /upload HTTP/1.1" 200 OK
[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
Everything is ok!

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


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

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


1it [00:00, 685.57it/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.03it/s]

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


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

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


1it [00:00, 9.78it/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:37692 - "POST /upload HTTP/1.1" 200 OK
[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, 114.54it/s]

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


1it [00:00, 768.47it/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.08it/s]

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


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

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


1it [00:00, 10.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:37696 - "POST /upload HTTP/1.1" 200 OK
[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!
Video doesn't contain face!
INFO: 192.168.0.102:37708 - "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.
[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, 117.79it/s]

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


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

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


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

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


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

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


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

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


1it [00:00, 12.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:37718 - "POST /upload HTTP/1.1" 200 OK
[12:14:15] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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
INFO: 192.168.0.102:37696 - "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'
[12:14:18] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 114.01it/s]

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


1it [00:00, 873.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.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, 9.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:37726 - "POST /upload HTTP/1.1" 200 OK
[12:14:22] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 116.38it/s]

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


1it [00:00, 723.16it/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.35it/s]

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


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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:37744 - "POST /upload HTTP/1.1" 200 OK
[12:14:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 119.26it/s]

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


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

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


1it [00:00, 8004.40it/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, 44150.57it/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:37778 - "POST /upload HTTP/1.1" 200 OK
[12:14:30] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 107.15it/s]

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


1it [00:00, 858.96it/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.33it/s]

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


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

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


1it [00:00, 6.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:37806 - "POST /upload HTTP/1.1" 200 OK
[12:14:34] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 106.41it/s]

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


1it [00:00, 671.84it/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, 52.78it/s]

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


100%|██████████| 1/1 [00:00<00:00, 39199.10it/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:37788 - "POST /upload HTTP/1.1" 200 OK
[12:14:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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
Bad source images
Video doesn't contain face!
INFO: 192.168.0.102:37780 - "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
[12:14:41] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 103.20it/s]

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


1it [00:00, 847.68it/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.37it/s]

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


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

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


1it [00:00, 9.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:37828 - "POST /upload HTTP/1.1" 200 OK
[12:14:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 108.56it/s]

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


1it [00:00, 648.77it/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.43it/s]

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


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

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


1it [00:00, 9.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:37826 - "POST /upload HTTP/1.1" 200 OK
[12:14:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 108.39it/s]

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


1it [00:00, 827.44it/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, 42366.71it/s]

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


1it [00:00, 12.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:37842 - "POST /upload HTTP/1.1" 200 OK
[12:14:53] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 115.66it/s]

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


1it [00:00, 740.65it/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.13it/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.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:37808 - "POST /upload HTTP/1.1" 200 OK
[12:14:58] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:14: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, 117.01it/s]

0it [00:00, ?it/s]


1it [00:00, 826.14it/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.40it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 43240.25it/s]
0it [00:00, ?it/s]
1it [00:00, 11.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:37844 - "POST /upload HTTP/1.1" 200 OK
[12:15:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 117.49it/s]

0it [00:00, ?it/s]


1it [00:00, 761.35it/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.28it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 43690.67it/s]

0it [00:00, ?it/s]


1it [00:00, 10.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:37854 - "POST /upload HTTP/1.1" 200 OK
[12:15:06] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 117.46it/s]

0it [00:00, ?it/s]


1it [00:00, 863.74it/s]

0it [00:00, ?it/s]


1it [00:00, 8050.49it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 59.40it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 43240.25it/s]

0it [00:00, ?it/s]


1it [00:00, 9.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:37880 - "POST /upload HTTP/1.1" 200 OK
[12:15:09] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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
Bad source images
Video doesn't contain face!
INFO: - "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
[12:15:13] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 116.30it/s]

0it [00:00, ?it/s]


1it [00:00, 834.19it/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, 58.78it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 42366.71it/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: - "POST /upload HTTP/1.1" 200 OK
[12:15:17] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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!
Video doesn't contain face!
INFO: - "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.
[12:15:20] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 114.46it/s]

0it [00:00, ?it/s]


1it [00:00, 750.59it/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, 58.81it/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, 9.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:58650 - "POST /upload HTTP/1.1" 200 OK
[12:15:24] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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!
Video doesn't contain face!
INFO: 192.168.0.102:49880 - "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.
[12:15:27] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 116.84it/s]

0it [00:00, ?it/s]


1it [00:00, 791.98it/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, 58.16it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 41527.76it/s]

0it [00:00, ?it/s]


1it [00:00, 9.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:37762 - "POST /upload HTTP/1.1" 200 OK
[12:15:32] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 115.69it/s]

0it [00:00, ?it/s]


1it [00:00, 665.97it/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.02it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 42799.02it/s]

0it [00:00, ?it/s]


1it [00:00, 7.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:37748 - "POST /upload HTTP/1.1" 200 OK
[12:15:38] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 114.22it/s]

0it [00:00, ?it/s]


1it [00:00, 693.62it/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.40it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:37710 - "POST /upload HTTP/1.1" 200 OK
[12:15:45] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 116.05it/s]

0it [00:00, ?it/s]


1it [00:00, 852.15it/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.42it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 44620.26it/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:36780 - "POST /upload HTTP/1.1" 200 OK
[12:15:49] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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.40it/s]

0it [00:00, ?it/s]


1it [00:00, 665.23it/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.34it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 43240.25it/s]

0it [00:00, ?it/s]


1it [00:00, 9.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:51700 - "POST /upload HTTP/1.1" 200 OK
[12:15:55] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:15: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, 113.97it/s]

0it [00:00, ?it/s]


1it [00:00, 837.35it/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.38it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 43240.25it/s]

0it [00:00, ?it/s]


1it [00:00, 9.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:37814 - "POST /upload HTTP/1.1" 200 OK
[12:16:02] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16: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, 37.96it/s]

0it [00:00, ?it/s]


1it [00:00, 751.67it/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, 44150.57it/s]

0it [00:00, ?it/s]


1it [00:00, 10.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:37814 - "POST /upload HTTP/1.1" 200 OK
[12:16:31] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:16: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, 117.03it/s]

0it [00:00, ?it/s]


1it [00:00, 741.17it/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.05it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 44150.57it/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: 192.168.0.102:43022 - "POST /upload HTTP/1.1" 200 OK
[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!
Video doesn't contain face!
INFO: 192.168.0.102:38830 - "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.
[12:17:26] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:17: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, 118.80it/s]

0it [00:00, ?it/s]


1it [00:00, 830.23it/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.27it/s]

0%| | 0/1 [00:00<?, ?it/s]


100%|██████████| 1/1 [00:00<00:00, 44620.26it/s]

0it [00:00, ?it/s]


1it [00:00, 9.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:36896 - "POST /upload HTTP/1.1" 200 OK
[12:18:44] ../src/nnvm/legacy_json_util.cc:208: Loading symbol saved by previous
version v1.5.0. Attempting to upgrade...
[12:18: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!
Video doesn't contain face!
INFO: 192.168.0.102:46366 - "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.

You might also like