This message was deleted.
# announcements
s
This message was deleted.
s
how to correct it
b
Let me run the notebook very quick with 0.5.3 version, and go from there.
s
okies , or could you let me know the other stable version, I will install and run the same
b
i just ran the notebook with 0.5.3. It works. I think there is something went wrong during the process of saving bento bundle, and the storage location is not correctly recorded. I think what we could do now is you rerun the cell that save bento bundle. and we can try again with deployment after that finished.
s
python bentomlsentiment.py Killed
This is how my sentiment file looks like
b
Copy code
bento_tag = '{name}:{version}'.format(name=bento_service.name, version=bento_service.version)
print(bento_tag)
name=bento_service.name -> name=loaded_bento_service.name
same for the version
s
loaded_bento_service = bentoml.load(saved_path) # Call predict on the restored BentoService loaded_bento_service.predict(pd.Series(["hello", "hi"])) bento_tag = '{name}:{version}'.format(name=loaded_bento_service.name, version=bento_service.version) print(bento_tag) ~
after this, tried again with python bentomlsentiment.py Killed
b
Version=loaded_bento_service.version as well
s
same output Killed
again same error "killed"
bento_service = SentimentLRModel.pack(model=sentiment_lr) # 3) save BentoSerivce to file archive saved_path = bento_service.save() # Load exported bentoML model archive from path loaded_bento_service = bentoml.load(saved_path) # Call predict on the restored BentoService loaded_bento_service.predict(pd.Series(["hello", "hi"])) bento_tag = '{name}:{version}'.format(name=loaded_bento_service.name, version=loaded_bento_service.version) print(bento_tag) ~
shall i try this with different version, could not able to resolve this issue
I am using ec2 amazon linux instance