tensorflow运行出错 ERROR:root:Internal Python error in the inspect module

导入模块,运行出现以下错误
使用pip install tensorflow 默认安装的是tensorflow 2.0
在这里插入图片描述
往下拉可以看到各种: ImportError: DLL load failed: 找不到指定的模块
在这里插入图片描述
查看官网可以看到相关说明
在这里插入图片描述

卸载最新的tensorflow 2.0

pip uninstall tensorflow -y

安装tensorflow1.x版本,这里安装的是1.13.1
注意,不要安装1.15版本,因为1.15安装之后会出现:No module named 'tensorflow.contrib' 的错误

pip install tensorflow==1.13.1

下载太慢的话,可以使用源,我使用豆瓣源多一些:

pip install tensorflow==1.13.1 -i https://pypi.doubanio.com/simple/

安装完成之后,问题解决

  • 7
    点赞
  • 21
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 8
    评论
code! 此为源代码! 视频教程见: May 1, 2020 Machine Learning Projects with TensorFlow 2.0: Supercharge your Machine Learning skills with Tensorflow 2 English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 4h 20m | 965 MB eLearning | Skill level: All Levels Build and train models for real-world machine learning projects using Tensorflow 2.0 TensorFlow is the world’s most widely adopted framework for Machine Learning and Deep Learning. TensorFlow 2.0 is a major milestone due to its inclusion of some major changes making TensorFlow easier to learn and use such as “Eager Execution”. It will support more platforms and languages, improved compatibility and remove deprecated APIs. This course will guide you to upgrade your skills in Machine Learning by practically applying them by building real-world Machine Learning projects. Each section should cover a specific project on a Machine Learning task and you will learn how to implement it into your system using TensorFlow 2. You will implement various Machine Learning techniques and algorithms using the TensorFlow 2 library. Each project will put your skills to test, help you understand and overcome the challenges you can face in a real-world scenario and provide some tips and tricks to help you become more efficient. Throughout the course, you will cover the new features of TensorFlow 2 such as Eager Execution. You will cover at least 3-4 projects. You will also cover some tasks such as Reinforcement Learning and Transfer Learning. By the end of the course, you will be confident to build your own Machine Learning Systems with TensorFlow 2 and will be able to add this valuable skill to your CV. Learn Strengthen your foundations to build TensorFlow 2.0 projects by exploring its new features Analyze the Titanic data set to obtain desired results with ease Implement and organize your Tensorflow projects in a professional manner Use Tensorboard to inspect various metrics and monitor your project’s performance Research and make the most of other people’s Kaggle solutions Use OpenAI Gym Environments for implementing state of the art reinforcement learning techniques using TF-Agents Apply the latest Transfer Learning techniques from Tensorflow + Table of Contents Regression Task Airbnb Prices in New York 1 Course Overview 2 Setting Up TensorFlow 2.0 3 Getting Started with TensorFlow 2.0 4 Analyzing the Airbnb Dataset and Making a Plan 5 Implementing a Simple Linear Regression Algorithm 6 Implementing a Multi Layer Perceptron (Artificial Neural Network) 7 Improving the Network with Better Activation Functions and Dropout 8 Adding More Metrics to Gain a Better Understanding 9 Putting It All Together in a Professional Way Classification Task Build Real World Apps – Who Will Win the Next UFC 10 Collecting Possible Kaggle Data 11 Analysis and Planning of the Dataset 12 Introduction to Google Colab and How It Benefits Us 13 Setting Up Training on Google Colab 14 Some Advanced Neural Network Approaches 15 Introducing a Deeper Network 16 Inspecting Metrics with TensorBoard 17 Inspecting the Existing Kaggle Solutions Natural Language Processing Task – How to Generate Our Own Text 18 Introduction to Natural Language Processing 19 NLP and the Importance of Data Preprocessing 20 A Simple Text Classifier 21 Text Generation Methods 22 Text Generation with a Recurrent Neural Network 23 Refinements with Federated Learning Reinforcement Learning Task – How to Become Best at Pacman 24 Introduction to Reinforcement Learning 25 OpenAI Gym Environments 26 The Pacman Gym Environment That We Are Going to Use 27 Reinforcement Learning Principles with TF-Agents 28 TF-Agents for Our Pacman Gym Environment 29 The Agents That We Are Going to Use 30 Selecting the Best Approaches and Real World Applications Transfer Learning Task – How to Build a Powerful Image Classifier 31 Introduction to Transfer Learning in TensorFlow 2 32 Picking a Kaggle Dataset to Work On 33 Picking a Base Model Suitable for Transfer Learning with Our Dataset 34 Implementing our Transfer Learning approach 35 How Well Are We Doing and Can We Do Better 36 Conclusions and Future Work

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

六五酥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值