Pycharm找不到科学模式

        在pycharm实现机器学习的时候,使用matplotlib库进行绘图,无论是怎么修改代码都做不出图像,代码是没有问题的,最后也有plt.show(),最后总是弹出绘图框,但加载一会就会闪退。

        查找资料,发现有解决办法是关掉Pycharm->文件->设置->工具->python scientific

        但是怎么调都找不到科学模式在哪,其实在后来才发现,是pycharm版本的问题,我之前使用的是2020.3 EDU,也就是教育版。下载了新的2021.3专业版后就找到了科学模式。

        除了关闭科学模式,绘图框闪退还有可能是你环境版本不对应的问题,我的就是在tensorflow环境下进行,之前绘图框空白一段时间后无响应的tensorflow版本是2.3.0,调低到1.15版本后就可以了。

        还有可能就是你cnn或者rnn网络训练的迭代次数过高,或者是batch size过大的原因,导致内存不足,也是有可能的。

  • 4
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Scientific Computing with Python 3 English | 23 Dec. 2016 | ISBN: 1786463512 | 332 Pages | AZW3/MOBI/EPUB/PDF (conv) | 17.95 MB Key Features Your ultimate resource for getting up and running with Python numerical computations Explore numerical computing and mathematical libraries using Python 3.x code with SciPy and NumPy modules A hands-on guide to implementing mathematics with Python, with complete coverage of all the key concepts Book Description Python can be used for more than just general-purpose programming. It is a free, open source language and environment that has tremendous potential for use within the domain of scientific computing. This book presents Python in tight connection with mathematical applications and demonstrates how to use various concepts in Python for computing purposes, including examples with the latest version of Python 3. Python is an effective tool to use when coupling scientific computing and mathematics and this book will teach you how to use it for linear algebra, arrays, plotting, iterating, functions, polynomials, and much more. What you will learn The principal syntactical elements of Python The most important and basic types in Python The essential building blocks of computational mathematics, linear algebra, and related Python objects Plot in Python using matplotlib to create high quality figures and graphics to draw and visualize your results Define and use functions and learn to treat them as objects How and when to correctly apply object-oriented programming for scientific computing in Python Handle exceptions, which are an important part of writing reliable and usable code Two aspects of testing for scientific programming: Manual and Automatic About the Author Claus Fuhrer is a professor of scientific computations at Lund University, Sweden. He has an extensive teaching record that includes intensive programming courses in numerical analysis and engineering mathematics across various levels in many different countries and teaching environments. Claus also develops numerical software in research collaboration with industry and received Lund University's Faculty of Engineering Best Teacher Award in 2016. Jan Erik Solem is a Python enthusiast, former associate professor, and currently the CEO of Mapillary, a street imagery computer vision company. He has previously worked as a face recognition expert, founder and CTO of Polar Rose, and computer vision team leader at Apple. Jan is a World Economic Forum technology pioneer and won the Best Nordic Thesis Award 2005-2006 for his dissertation on image analysis and pattern recognition. He is also the author of "Programming Computer Vision with Python" (O'Reilly 2012). Olivier Verdier began using Python for scientific computing back in 2007 and received a PhD in mathematics from Lund University in 2009. He has held post-doctoral positions in Cologne, Trondheim, Bergen, and Umea and is now an associate professor of mathematics at Bergen University College, Norway. Table of Contents Getting Started Variables and Basic Types Container Types Linear Algebra – Arrays Advanced Array Concepts Plotting Functions Classes Iterating Error Handling Namespaces, Scopes, and Modules Input and Output Testing Comprehensive Examples Symbolic Computations - SymPy References

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

多来点error秋梨膏

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

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

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

打赏作者

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

抵扣说明:

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

余额充值