简体   繁体   English

在AWS SageMaker上构建的受训DeepAR模型的本地托管

[英]On-Premises Hosting of Trained DeepAR Model built on AWS SageMaker

I have started working with AWS SageMaker recently with the examples provided by AWS. 我最近开始使用AWS提供的示例来使用AWS SageMaker I used this example ( DeepAR Model) in order to forecast a time series. 我使用此示例DeepAR模型)来预测时间序列。 After training, a model artifacts file has been created in my S3 bucket. 训练后,已在我的S3存储桶中创建了模型工件文件。

My question: Is there a way to host that trained model in a own hosting environment? 我的问题:有没有办法在自己的托管环境中托管经过训练的模型? (client premises) (客户端)

Except SageMaker XGBoost, SageMaker built-in algorithms are not designed to be used out of Amazon. 除SageMaker XGBoost外,SageMaker内置算法不适用于Amazon以外的地方。 That does not mean that it's impossible, for example you can find here and there snippets peeking inside model artifacts (eg for Factorization Machines and Neural Topic Model ) but these things can be hacky and are usually not part of official service features. 这并不意味着不可能,例如,您可以在这里和那里找到一些片段来窥探模型工件(例如,用于分解因子机器神经主题模型 ),但是这些东西可能很容易破解,通常不属于官方服务功能。 Regarding DeepAR specifically, the model was open-sourced couple weeks ago as part of gluon-ts python package ( blog post , code ) so if you develop a model specifically for your own hosting environment I'd recommend to use that gluon-ts code in the MXNet container, so that you'll be able to open and read the artifact out of SageMaker. 特别是关于DeepAR,该模型是几个星期前作为gluon gluon-ts python软件包( 博客文章代码 )的一部分开源 ,因此,如果您专门为自己的托管环境开发模型,我建议使用该gluon-ts代码在MXNet容器中,这样您就可以从SageMaker中打开和读取工件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM