I try to deploy an already trained model with Okteto. However, after it says "Loading model models/latestmodel.tar.gz I get the message
UserWarning: No valid model found at models!
Is there something I am doing wrong? I successfully deployed the model locally with docker and it can also access the model but why not when deploying in the cloud?
This is my Dockerfile:
FROM python:3.7.7-stretch AS BASE
RUN apt-get update \
&& apt-get --assume-yes --no-install-recommends install \
build-essential \
curl \
git \
jq \
libgomp1 \
vim
WORKDIR /app
# upgrade pip version
RUN pip install --no-cache-dir --upgrade pip
RUN pip install rasa==3.1
ADD . .
I found it easier than deploying on GoogleCloud
I think I could also load a modal from Google Cloud Storage but the linked tutorials here Model Storage
do not really explain where one has to set the environment variables. Do you know a tutorial on how to fetch a model from GCS?
Ok for your solution you can check the docker container mean inspect it and then update your already trained model. But keep in mind the code should not be updated or even rasa version.