当前位置:网站首页>Fusiongan code learning (I)
Fusiongan code learning (I)
2022-07-28 05:31:00 【qq_ forty-six million one hundred and sixty-five thousand eight】
@FusionGAN Code learning : Environment configuration and other problems encountered
The first day of study , Come on !!!
For the first time to use pycharm, It is also the first time to contact deep learning , As a little white, I'm afraid I'll learn to forget , Take a little note .
The original article link
author github Code sharing
Those with integral can also Direct download
First, configure the environment .
In my pycharm in , The first problem encountered is that the environment is not configured
At the beginning, no matter three, seven, twenty-one, download first , With scipy For example .
import scipy.misc
Specific solution steps : open Webpage Pull all the way down to find scipy The option to , Download yourself pycharm Corresponding model , If your own Python yes 3.7 If so, choose scipy37, Corresponding 64 still 32 It depends on your computer model .
Question 1 :AttributeError: module ‘tensorflow._api.v2.train’ has no attribute ‘NewCheckpointReader’
Cause analysis :
TensorFlow 2.0 The above version has been removed tf.train.NewCheckpointReader 了 .
Solution :
change to the use of sth. TensorFlow 1.X edition ,python3.7 The above must be used 2.X Above version , I started with 3.9, So I downloaded the configuration again 3.6 Environment .
Open the same Webpage Download what you need TensorFlow 1.X edition
Then we will refer to this [ Blog ] Just configure it .
Question two :AttributeError: module ‘scipy.misc’ has no attribute ‘imread’
Cause analysis :
scipy Version of is too high , because pycharm The automatically downloaded version is usually the highest version , Need to downgrade .
Solution :
Download the lower version directly pip install scipy==1.2.1
After downloading my pycharm It is still in the state of error reporting and unusable , After consulting the online materials, I found , Most solutions are not installed PIL Third party Library , The library name is now Pillow, It is recommended to use the command directly pip install Pillow Installation , Then it can be used .
Question 3 :Fatal error in launcher: Unable to create process using '“d:\users\dell\python36\python.exe” "D:\Us……
Cause analysis : Multiple pytnon Environmental Science
Because my computer has python3.9 The environment needs to be installed 3.6 Version of , At first, in order to distinguish 3.9 And 3.6 I'll change it directly and name it python36 And python39, But it will lead to cmd When installing on pip Commands are often unrecognized .
Solution :
Under the version you want to install python36.exe Make a copy of the file and rename it to the original python.exe Just fine , I don't know any principle , It works anyway .
边栏推荐
猜你喜欢

2022 summer practice (PowerDesigner tutorial learning record) (first week)

Long和Integer如何进行比较,为什么报错

ES6 new variable modifiers let and const, new basic data type symbol

Scanf function of input and output function in C language

蒸馏模型图

论文写作用词

多模块打包:程序包:xxx不存在

ResNet结构对比

repackag failed: Unable to find main class

regular expression
随机推荐
图像增强——MSRCR
论文模型主图范例
正则表达式
latex和word之间相互转换
mysql的日期与时间函数,varchar与date相互转换
pytorch 计算模型的GFlops和total params的方法
openjudge:万年历
凛冬已至,程序员该怎么取暖
2021csdn blog star selection, mutual investment
多线程进阶:synchronized底层原理,锁优化、锁升级的过程
导出excel,生成多个sheet页,并命名
How to compare long and integer and why to report errors
How should programmers keep warm when winter is coming
24小时内的时间段无交叉
在ruoyi生成的对应数据库的代码 之后我该怎么做才能做出下边图片的样子
regular expression
Operation and use of collection framework
ResNet结构对比
【单例模式】懒汉模式的线程安全问题
There is no crossover in the time period within 24 hours