This receives the payload from the server and turns it into something that can be fed to the model. This in out case depends on a data structure that is stored on the clearml server as an artifact. I need to communicate this to the class so it can pick it up and use it when called
How does the
Preprocess class exactly work? I need to pass information to it but it's
_ function doesn't have any parameters. How can I load an artifact when the class is constructed? I can pass the task_id in an environment variable and pick it up with
os.environ["TASK_ID"] but how does the environment variable gets declared in the server in the first place?