This message was deleted.
# ask-for-help
s
This message was deleted.
s
Yes, you can save models from any frameworks using the model store API, https://docs.bentoml.com/en/latest/guides/model-store.html
j
This is amazing and a absolute game changer. Thank you so much
local_model_dir = './model'
with bentoml.models.create(
name='information_tag', # Name of the model in the Model Store
) as model_ref:
# Copy the entire model directory to the BentoML Model Store
shutil.copytree(local_model_dir, model_ref.path)
print(f"Model saved: {model_ref}")
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\joshu\\AppData\\Local\\Temp\\tmpbwibplxcbentoml_model_information_tag\\'
im not sure what im doing wrong here.. could you help me out?