Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to do a demo for face recognition,but I have the bug as follows: #125

Open
xuexuqin opened this issue Apr 15, 2020 · 1 comment
Open

Comments

@xuexuqin
Copy link

[root@master videoflow]# python ./examples/face_recog.py
/root/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2020-04-15 11:20:48,079 - videoflow.core - INFO - Allocated processes for 6 tasks
2020-04-15 11:20:48,080 - videoflow.core - INFO - Started running flow.
WARNING:tensorflow:From /root/anaconda3/lib/python3.6/site-packages/videoflow_contrib_detector_tf-0.1-py3.6.egg/videoflow_contrib/detector_tf/tensorflow_utils.py:96: The name tf.GraphDef is deprecated. Please use tf.compat.v1.GraphDef instead.

WARNING:tensorflow:From /root/anaconda3/lib/python3.6/site-packages/videoflow_contrib_detector_tf-0.1-py3.6.egg/videoflow_contrib/detector_tf/tensorflow_utils.py:97: The name tf.gfile.GFile is deprecated. Please use tf.io.gfile.GFile instead.

WARNING:tensorflow:From /root/anaconda3/lib/python3.6/site-packages/videoflow_contrib_detector_tf-0.1-py3.6.egg/videoflow_contrib/detector_tf/tensorflow_utils.py:102: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

2020-04-15 11:20:51.154709: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2020-04-15 11:20:51.168760: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 1995190000 Hz
2020-04-15 11:20:51.170122: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5608390f45e0 executing computations on platform Host. Devices:
2020-04-15 11:20:51.170279: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): ,
2020-04-15 11:20:56.792189: W tensorflow/compiler/jit/mark_for_compilation_pass.cc:1412] (One-time warning): Not using XLA:CPU for cluster because envvar TF_XLA_FLAGS=--tf_xla_cpu_global_jit was not set. If you want XLA:CPU, either set that envvar, or use experimental_jit_scope to enable XLA:CPU. To confirm that XLA is active, pass --vmodule=xla_compilation_cache=1 (as a proper command-line flag, not via TF_XLA_FLAGS) or set the envvar XLA_FLAGS=--xla_hlo_profile.
Process Process-4:
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/root/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/root/anaconda3/lib/python3.6/site-packages/videoflow-0.2.10-py3.6.egg/videoflow/engines/task_functions.py", line 15, in task_executor_fn
task.run()
File "/root/anaconda3/lib/python3.6/site-packages/videoflow-0.2.10-py3.6.egg/videoflow/core/task.py", line 89, in run
self._run()
File "/root/anaconda3/lib/python3.6/site-packages/videoflow-0.2.10-py3.6.egg/videoflow/core/task.py", line 171, in _run
output = self._processor.process(*inputs)
TypeError: process() missing 1 required positional argument: 'annotations'
I want to know the reason

@jadielam
Copy link
Collaborator

Hi. I am glad to help. Can you share with me, not all the code, but at least a schematic of the custom process that you created? Also, can you share the code where you define the flow graph? Without those two things it becomes difficult to know what could be wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants