Skip to content

Commit

Permalink
arrgh
Browse files Browse the repository at this point in the history
  • Loading branch information
mittagessen committed Apr 7, 2024
1 parent 9ca85d6 commit a548d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kraken/lib/vgsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def _serialize_layer(net, input, net_builder):
mlmodel.user_defined_metadata['vgsl'] = '[' + ' '.join(self.named_spec) + ']'
if self.codec:
mlmodel.user_defined_metadata['codec'] = json.dumps({'type': 'SentencePiece',
'spp': base64.b64encode(self.codec.spp.serialized_model_proto())})
'spp': str(base64.b64encode(self.codec.spp.serialized_model_proto()))})
if self.user_metadata:
mlmodel.user_defined_metadata['kraken_meta'] = json.dumps(self.user_metadata)
if self.aux_layers:
Expand Down

0 comments on commit a548d8a

Please sign in to comment.