Within the same directory I downloaded arface_service.py, mtcnn_detector.py, and the .py version of arface_inference.ipynb :
marco@pc:~/python3venvironments/mxnet/arcface$ ls -lah
total 368K
drwxrwxr-x 4 marco marco 4.0K Aug 14 22:51 .
drwxrwxr-x 3 marco marco 4.0K Aug 14 21:41 ..
drwxrwxr-x 2 marco marco 4.0K Aug 14 21:44 .ipynb_checkpoints
drwxrwxr-x 2 marco marco 4.0K Aug 14 22:47 __pycache__
-rw-rw-r-- 1 marco marco 307K Aug 14 21:37 arcface_inference.ipynb
-rw-rw-r-- 1 marco marco 10K Aug 14 21:51 arcface_inference.py
-rw-rw-r-- 1 marco marco 5.0K Oct 30 2018 arcface_service.py
-rw-rw-r-- 1 marco marco 24K Aug 14 22:47 mtcnn_detector.py
When trying to run arcface_inference.py :
marco@pc:~/python3venvironments/mxnet/arcface$ python3 ./arcface_inference.py
Traceback (most recent call last):
File "./arcface_inference.py", line 54, in <module>
from mtcnn_detector import MtcnnDetector
File "/home/marco/python3venvironments/mxnet/arcface/mtcnn_detector.py", line 12, in
<module>
from helper import nms, adjust_input, detect_first_stage_warpper
ImportError: cannot import name 'nms' from 'helper' (/home/marco/anaconda3/lib/python3.7/site-
packages/helper/__init__.py)
marco@pc:~/python3venvironments/mxnet/arcface$
Within the same directory I downloaded arface_service.py, mtcnn_detector.py, and the .py version of arface_inference.ipynb :
When trying to run arcface_inference.py :
Python Version:
OS: Ubuntu 18.04.02 Server Edition
Looking forward to your kind help. Marco