You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing tensorflow, pandas and facenet to the code, the program still crashes. It prints out an extremely long error message, probably one for each core.
Print out right before the error:
Colocations handled automatically by placer.
Error:
Traceback (most recent call last):
File "/home/seahyh/.local/lib/python3.5/site-packages/scannerpy/kernel.py", line 105, in python_kernel_fn
result = kernel.execute(data)
File "/home/seahyh/.local/lib/python3.5/site-packages/scannerpy/op.py", line 556, in execute
return parse_ret(exec_fn(self, **args))
File "/home/seahyh/scannertools/scannertools/scannertools/face_detection.py", line 26, in execute
self.sess, os.path.dirname(align.file))
File "/home/seahyh/facenet/src/align/detect_face.py", line 283, in create_mtcnn
pnet.load(os.path.join(model_path, 'det1.npy'), sess)
File "/home/seahyh/facenet/src/align/detect_face.py", line 85, in load
data_dict = np.load(data_path, encoding='latin1').item() #pylint: disable=no-member
File "/home/seahyh/.local/lib/python3.5/site-packages/numpy/lib/npyio.py", line 447, in load
pickle_kwargs=pickle_kwargs)
File "/home/seahyh/.local/lib/python3.5/site-packages/numpy/lib/format.py", line 692, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
The text was updated successfully, but these errors were encountered:
After installing tensorflow, pandas and facenet to the code, the program still crashes. It prints out an extremely long error message, probably one for each core.
Print out right before the error:
Colocations handled automatically by placer.
Error:
Traceback (most recent call last):
File "/home/seahyh/.local/lib/python3.5/site-packages/scannerpy/kernel.py", line 105, in python_kernel_fn
result = kernel.execute(data)
File "/home/seahyh/.local/lib/python3.5/site-packages/scannerpy/op.py", line 556, in execute
return parse_ret(exec_fn(self, **args))
File "/home/seahyh/scannertools/scannertools/scannertools/face_detection.py", line 26, in execute
self.sess, os.path.dirname(align.file))
File "/home/seahyh/facenet/src/align/detect_face.py", line 283, in create_mtcnn
pnet.load(os.path.join(model_path, 'det1.npy'), sess)
File "/home/seahyh/facenet/src/align/detect_face.py", line 85, in load
data_dict = np.load(data_path, encoding='latin1').item() #pylint: disable=no-member
File "/home/seahyh/.local/lib/python3.5/site-packages/numpy/lib/npyio.py", line 447, in load
pickle_kwargs=pickle_kwargs)
File "/home/seahyh/.local/lib/python3.5/site-packages/numpy/lib/format.py", line 692, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
The text was updated successfully, but these errors were encountered: