Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 在不安装服务器或docker的情况下部署rasa nlu和访问api_Python 3.x_Rasa Nlu_Rasa_Rasa X - Fatal编程技术网

Python 3.x 在不安装服务器或docker的情况下部署rasa nlu和访问api

Python 3.x 在不安装服务器或docker的情况下部署rasa nlu和访问api,python-3.x,rasa-nlu,rasa,rasa-x,Python 3.x,Rasa Nlu,Rasa,Rasa X,我已经安装了rasa和rasa nlu 使用 我只想从我的项目中使用这个rasa意味着只需调用RASAAPI即可获得输出 http://localhost:5005/webhooks/rest/webhook 为此,我希望将我的rasa nlu部署在givern ip中,并希望从任何地方访问api 我该怎么做/ 我试了一下这个 python -m rasa_nlu.server --path /home/fdp/project/machine 我的端点.yml nlu: u

我已经安装了rasa和rasa nlu

使用

我只想从我的项目中使用这个rasa意味着只需调用RASAAPI即可获得输出

 http://localhost:5005/webhooks/rest/webhook 
为此,我希望将我的rasa nlu部署在givern ip中,并希望从任何地方访问api

我该怎么做/

我试了一下这个

python -m  rasa_nlu.server --path /home/fdp/project/machine 
我的端点.yml

nlu:
     url: "http://<ip>:5000"
nlu:
url:“http://:5000”
但是显示出错误

2020-09-15 07:35:47.701946: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702020: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702029: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2020-09-15 07:35:48+0000 [-] Log opened.
2020-09-15 07:35:48+0000 [-] Site starting on 5000
2020-09-15 07:35:48+0000 [-] Starting factory <twisted.web.server.Site object at 0x7fed78d63588>
^C2020-09-15 07:40:11+0000 [-] Received SIGINT, shutting down.
2020-09-15 07:40:11+0000 [twisted.web.server.Site] (TCP Port 5000 Closed)
2020-09-15 07:40:11+0000 [-] Stopping factory <twisted.web.server.Site object at 0x7fed78d63588>
2020-09-15 07:35:47.701946:W tensorflow/stream_executor/platform/default/dso_loader.cc:55]无法加载动态库“libnvere.so.6”;Dleror:libnvinfer.so.6:无法打开共享对象文件:没有这样的文件或目录
2020-09-15 07:35:47.702020:W tensorflow/stream_executor/platform/default/dso_loader.cc:55]无法加载动态库“libnvere_plugin.so.6”;dlerror:libnvere_plugin.so.6:无法打开共享对象文件:没有这样的文件或目录
2020-09-15 07:35:47.702029:W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30]无法打开某些TensorRT库。如果您想将Nvidia GPU与TensorRT一起使用,请确保正确安装了上述缺失的库。
2020-09-15 07:35:48+0000[-]日志已打开。
2020-09-15 07:35:48+0000[-]站点从5000开始
2020-09-15 07:35:48+0000[-]启动工厂
^C2020-09-15 07:40:11+0000[-]收到信号,正在关闭。
2020-09-15 07:40:11+0000[twisted.web.server.Site](TCP端口5000关闭)
2020-09-15 07:40:11+0000[-]停止工厂
如何部署我的rasa并使用api。。。我不需要任何服务器安装(比如RASAX=服务器安装)

2020-09-15 07:35:47.701946: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702020: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory
2020-09-15 07:35:47.702029: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2020-09-15 07:35:48+0000 [-] Log opened.
2020-09-15 07:35:48+0000 [-] Site starting on 5000
2020-09-15 07:35:48+0000 [-] Starting factory <twisted.web.server.Site object at 0x7fed78d63588>
^C2020-09-15 07:40:11+0000 [-] Received SIGINT, shutting down.
2020-09-15 07:40:11+0000 [twisted.web.server.Site] (TCP Port 5000 Closed)
2020-09-15 07:40:11+0000 [-] Stopping factory <twisted.web.server.Site object at 0x7fed78d63588>