Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error "invalid start byte" when load caffemodel #447

Open
ugamug opened this issue Apr 16, 2024 · 0 comments
Open

error "invalid start byte" when load caffemodel #447

ugamug opened this issue Apr 16, 2024 · 0 comments

Comments

@ugamug
Copy link

ugamug commented Apr 16, 2024

error message:

E Catch exception when loading caffe model: ./fcls_231119_onet.caffemodel!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 296, in rknn.api.rknn_base.RKNNBase.load_caffe
E   File "rknn/base/RKNNlib/RK_nn.py", line 76, in rknn.base.RKNNlib.RK_nn.RKnn.load_caffe
E   File "rknn/base/RKNNlib/converter/caffeloader.py", line 1110, in rknn.base.RKNNlib.converter.caffeloader.CaffeLoader.load
E   File "/root/miniconda3/envs/torch2rknn/lib/python3.6/codecs.py", line 321, in decode
E     (result, consumed) = self._buffer_decode(data, self.errors, final)
E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa2 in position 20: invalid start byte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant