You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get the pydantic model to recognize one of my inputs. Works fine in production but once i tested it out of production its not recognizing the class. I was using this code base but can't undderstand why its not working all of a sudden
~/miniconda3/envs/gluontspy36/lib/python3.6/site-packages/gluonts/core/component.py in init_wrapper(*args, **kwargs)
437 self.__class__.__repr__ = validated_repr
438
--> 439 return init(self, **all_args)
440
441 # attach the Pydantic model as the attribute of the initializer wrapper
TypeError: __init__() got an unexpected keyword argument 'distr_output.__class__'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I can't get the pydantic model to recognize one of my inputs. Works fine in production but once i tested it out of production its not recognizing the class. I was using this code base but can't undderstand why its not working all of a sudden
https://github.com/aws-samples/amazon-sagemaker-gluonts-entrypoint
for instance:
Beta Was this translation helpful? Give feedback.
All reactions