# Inferrd
Inferrd is a hosting platform for TensorFlow.
### Authentication
In order to use this library you need to get a api token from [inferrd.com](https://inferrd.com)
Authenticate with the `inferrd.auth` method:
```python
import inferrd
inferrd.auth('<token>')
```
### Deploying TensorFlow
First, create a model on [inferrd.com](https://inferrd.com) and select the kind of instance you want. Then simple call `inferrd.deploy_tf`:
```python
import inferrd
# this only needs to be done once
inferrd.auth('<token>')
# deploy TF
inferrd.deploy_tf(tf_model, '<name of the model>')
```
### Fetching predictions
Inferrd allows us to pull predictions back into your notebook by using `inferrd.get_requests`:
```python
import inferrd
# this only needs to be done once
inferrd.auth('<token>')
# get the requests
requests = inferrd.get_requests('<name of the model>', limit=100, page=0, includeFailures=False)
```
PyPI 官网下载 | inferrd-0.1.10.tar.gz
版权申诉
58 浏览量
2022-01-28
02:03:50
上传
评论
收藏 3KB GZ 举报
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
最新资源
- Python 程序语言设计模式思路-创建型模式:原型模式:通过复制现有对象来创建新对象,面向对象编程
- 卸载软件geek卸载软件geek
- Python 程序语言设计模式思路-创建型模式:单例模式,确保一个类的唯一实例(装饰器)面向对象编程、继承
- skywalking-plugins.jar skywalking-alarm.jar
- 独栋别墅图纸D020-两层-10.00&11.00米- 施工图.dwg
- Python 程序语言设计模式思路-创建型模式:工厂模式,创建对象的统一接口,封装对象的创建逻辑
- python自学教程-05-json数据格式的介绍.ev4.rar
- python自学教程-04-自定义JavaScript.ev4.rar
- 《淘宝后台系统...》
- skywalking-plugins.jar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈