Paddle
Paddle copied to clipboard
io.save_inference_model 选择save to memory后拿到的字节码如何保存并解析?
paddle版本1.8.1 模型库版本:paddledetection 0.3
问题描述:当前调用fluid.io.save_inference_model后会生成__params__,选择save to memory 后返回了字节串:
请问下这个字节串如何保存和解析,想拿到这部分数据进行相关的处理(例如加密之内的)
你好,这里是将模型中单个权重信息的二进制数据以字节数组的格式返回出来,其内容单个param文件中保存的二进制内容一致
一般加密流程为:得到字节码后用 算法加密后、保存为二进制数据文件;解析时加载二进制数据文件、算法解密后,在解密出的内存数据加载模型
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。