无法为' MNIST'导入input_data。数据集

时间:2018-04-17 09:09:23

标签: python-3.x tensorflow deep-learning mnist

我正在尝试为' MNIST'导入input_data。在jupyter笔记本中使用以下代码。 from tensorflow.examples.tutorials.mnist import input_data

但系统显示以下错误,请帮助。

NotFoundError: C:\Users\midhu\Anaconda3\lib\site-packages\tensorflow\contrib\rnn\python\ops\_lstm_ops.dll not found

1 个答案:

答案 0 :(得分:0)

您可以在Anaconda Navigator软件的TensorFlow环境中更新版本。也许您不小心删除了该文件。figure1另一种方法是使用Keras框架导入mnist包。 $sendEmailUrl = "https://api.sendgrid.com/v3/mail/send" $apiKey = "<insert api key here>" $headers = @{} $headers.Add("Authorization","Bearer $apiKey") $ct = "application/json" $jsonRequest = [ordered]@{ personalizations= @(@{ to = @( @{ email = "<email address of recipient>" name = "<name of recipient>" } ) subject = "hello world!" }) from = @{ email = "sam.smith@example.com" name = "Sam Smith" } reply_to = @{ email = "sam.smith@example.com" name = "Sam Smith" } content = @( @{ type = "text/plain" value ="just a test email" } ) } | ConvertTo-Json -Depth 10 Invoke-RestMethod -Method Post ` -Headers $headers ` -Body $jsonRequest ` -ContentType $ct ` -Uri $sendEmailUrl