Please forgive me if I am asking a really stupid question as I am brand new to Streamlit.
I am trying to load a PyTorch model to Streamlit from Github but somehow Streamlit returns an error like:
OSError: Unable to load weights from pytorch checkpoint file for ‘cuad-training/cuad-models/’ at 'cuad-training/cuad-models/pytorch_model.bin’If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
I do have a PyTorch model saved under the folder ‘cuad-training/cuad-models/’. No idea why it cannot be loaded. Everything works fine when running the program locally though. The model was uploaded and stored earlier by git lfs. But I am not certain whether this is the cause and do not know how to deal with this now
Thank you in advance for your help!!!