当前位置:网站首页>Deep learning environment configuration jupyter notebook
Deep learning environment configuration jupyter notebook
2022-07-07 00:41:00 【Peng Xiang】
today , Bo mainly systematically studies the relevant contents of in-depth learning , Record your learning process here , Make progress with everyone .
Content introduction
- Fundamentals of deep learning : Linear neural networks . Multilayer perceptron
- Convolutional neural networks :LeNet , AlexNet , VGG , Inception , ResNet
- Cyclic neural network :RNN , GRU , LSTM , seq2seq
- Attention mechanism : Attention , Transformer
- optimization algorithm : SGD , Adam , Momentum
- High performance computing : parallel , many GPU , Distributed
- Computer vision : object detection , Semantic segmentation
- Computer language processing : Word embedding ,BERT
Deep learning is a very “ Fantasy ” The process of , The reason why the model he generates is excellent or how it works is sometimes incomprehensible to us humans , Don't get too tangled here .
The first is the configuration of the environment , Bloggers have already installed PyCharm and Anaconda And configure the relevant environment , Therefore, only a common package is installed here d2l
For related installation tutorials, you can read my previous blog :
Anaconda Installation and PyCharm To configure 
This process may take a few minutes , Because there are many packages to install
After installation , Let's start learning
jupyter notebook Use
What we use here is jupyter notebook, After we installed Anaconda Generally, it will be installed for us by default .
Input... At the terminal jupyter notebook --generate-config enter , The location of the configuration document is shown below .
We can modify its default installation path , It's convenient for us to use 
Look in Notepad (Ctrl+F)NotebookApp.notebook_dir The position of , Change the folder in the back to your favorite folder location .


Open it in the browser 
Run a code and find no corresponding package , It turns out that the default is Anaconda Of base, In this environment, we have not installed the corresponding environment before , Then we need to switch our environment , Or we want to use it in a different environment jupyter notebook
Single environment creation
The specific way is as follows :
conda create -n my-conda-env # Create a virtual environment
conda activate my-conda-env # Activate our virtual environment
conda install ipykernel # install python kernel
ipython kernel install --user --name=my-conda-env-kernel # python -m ipykernel install --user --name Name of the environment --display-name " stay jupyter The name of the environment shown in "
jupyter notebook # Start operation
conda install ipykernel

ipython kernel install --user --name=my-conda-env-kernel
BUG explain :
ImportError: cannot import name 'generator_to_async_generator'
BUG solve :
pip uninstall -y ipython prompt_toolkit
pip install ipython prompt_toolkit

Re install 

Create for all environments
Of course, the above method can only be one conda The environment create , We use conda install nb_conda_kernels For all conda The environment create jupyter, Thus, there are many choices .


Install code prompt function
At this time, it cannot prompt code after installation , We just need to perform the following steps
1、 Start menu running Anaconda Prompt (Anaconda3), Enter commands one by one
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable
2、 Open again notebook, The successful implementation will be in http://localhost:8888/tree It appears that Nbextensions
Check Hinterland
Open one again python You can see the code prompt in the file 
This completes our environment configuration
边栏推荐
- rancher集成ldap,实现统一账号登录
- @TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.
- Data sharing of the 835 postgraduate entrance examination of software engineering in Hainan University in 23
- Advanced learning of MySQL -- basics -- multi table query -- self join
- stm32F407-------DAC数模转换
- uniapp实现从本地上传头像并显示,同时将头像转化为base64格式存储在mysql数据库中
- Data operation platform - data collection [easy to understand]
- 英雄联盟|王者|穿越火线 bgm AI配乐大赛分享
- Common shortcuts to idea
- 37 page overall planning and construction plan for digital Village revitalization of smart agriculture
猜你喜欢

AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06

2022/2/10 summary

Business process testing based on functional testing

Mujoco finite state machine and trajectory tracking

threejs图片变形放大全屏动画js特效

stm32F407-------DAC数模转换

MySQL learning notes (mind map)

陀螺仪的工作原理

Understand the misunderstanding of programmers: Chinese programmers in the eyes of Western programmers

Liuyongxin report | microbiome data analysis and science communication (7:30 p.m.)
随机推荐
Value Function Approximation
准备好在CI/CD中自动化持续部署了吗?
Advanced learning of MySQL -- basics -- multi table query -- subquery
Leecode brush questions record interview questions 32 - I. print binary tree from top to bottom
2022/2/10 summary
JS import excel & Export Excel
深度学习之数据处理
Advanced learning of MySQL -- basics -- multi table query -- external connection
File and image comparison tool kaleidoscope latest download
threejs图片变形放大全屏动画js特效
2022 PMP project management examination agile knowledge points (9)
Mujoco Jacobi - inverse motion - sensor
学习使用代码生成美观的接口文档!!!
Lombok 同时使⽤ @Data 和 @Builder 的坑,你中招没?
MIT 6.824 - raft Student Guide
AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06
Advanced learning of MySQL -- basics -- multi table query -- self join
英雄联盟|王者|穿越火线 bgm AI配乐大赛分享
iMeta | 华南农大陈程杰/夏瑞等发布TBtools构造Circos图的简单方法
Lombok makes ⽤ @data and @builder's pit at the same time. Are you hit?