FastDeploy
FastDeploy copied to clipboard
加密失败 AttributeError: module 'fastdeploy.c_lib_wrap' has no attribute 'encryption'
环境
fastdeploy-python-1.0.7
model_buffer = open(model_file, 'rb') params_buffer = open(params_file, 'rb') fd.encryption.encrypt(model_buffer.read(),)
可能是装的fd默认没有打开这个编译选项 https://github.com/PaddlePaddle/FastDeploy/blob/develop/CMakeLists.txt#L75C1-L75C7