clearml-serving icon indicating copy to clipboard operation
clearml-serving copied to clipboard

Issue with pytorch preprocess code

Open okyspace opened this issue 1 year ago • 1 comments

Hi, I have encountered error stating that model was expecting input [1 28 28] but given [1 784] when trying out the pytorch example. I think it is due to the flatten() of the array before return by the preprocess method.

Can I also ask

  1. How do we update the preprocess code to the same created endpoint using command line / codes?
  2. When we create the endpoint with the preprocess code, the code preprocess.py is stored in the clearml server. Does the inference container periodically pull from clearml server or the clearml server will push to the inference container upon any update? May I know where to access this codes that manage this behavior to better understand what's going behind this?

Thanks.

okyspace avatar Nov 23 '22 03:11 okyspace