AngusG / tensorflow-xnor-bnn

BinaryNets in TensorFlow with XNOR GEMM op
Apache License 2.0
155 stars 39 forks source link

dynamic module does not define module export function #16

Closed KevinWangHP closed 1 year ago

KevinWangHP commented 1 year ago

When I tried to run test_gemm_op.py, this error occured:

import tensorflow as tf import sys sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/libs') sys.path.append(r'/home/intern/model_compression/code/tensorflow-xnor-bnn/obj') from gemm_op import xnor_gemm

Traceback (most recent call last): File "test_gemm_op.py", line 5, in from gemm_op import xnor_gemm ImportError: dynamic module does not define module export function (PyInit_gemm_op)