Python pretrained model file .plk try to open with matlab or convert .mat

조회 수: 9 (최근 30일)
Ale
Ale 2020년 12월 27일
편집: Ale 2020년 12월 27일
I need to evaluate a matlab image according to a pre-trained model made in python. I have the .pkl .json and .model file. They would help me a lot since I have tried some codes and I get this
Code:
fid = py.open(filename,'rb');
data = py.pickle.load(fid);
Error:
Python Error: ValueError: embedded null character
I wish I could upload the file and if you can explain me if it is necessary only the .pkl file or why I need the other two files .json and .model
Thank you

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by