Keras / TensorFlow未注册NGraphVariable Opkernel

时间:2018-11-19 16:45:15

标签: python tensorflow keras lstm

输出错误

var mongoose= require('mongoose'); var express = require('express'); var app = express(); var http = require('http'); var port = 3000; var bodyParser= require('body-parser'); app.use(express.static('public')) app.engine('html', require('ejs').renderFile); app.set('view engine', 'html'); app.use(bodyParser.urlencoded({extended:true,limit:'50mb'})); // app.use(bodyParser.json({ limit: '50mb' })); // app.use(bodyParser.raw({ type: 'audio/wav',extended:true, limit: '50mb' })); app.get('/',function(req,res){ res.render('home.html') }); app.get('/recordings/new',function(req,res){ res.render('new.html') }); app.post('/recordings',function(req,res){ var recording = req.body console.log(req.body) }); // app.get('/recordings',function(req,res){ // res.render('index.html') // }); mongoose.connect("mongodb://localhost:27017/sensor",{ useNewUrlParser: true },function(){ console.log('database is connected'); }); app.listen(port, function(){ console.log('sensor server is running') });

环境:

  1. 示例BiLSTM python code
  2. CUDA 9.2,CuDNN 7.4,Python 3.6,TensorFlow GPU 1.12,Keras 2.2.4
  3. 带有GTX1080图形的Ubuntu 18.10

问题:

通过从源代码编译NervanaSystems/ngraph可以解决此错误吗?

0 个答案:

没有答案