解决无限 This file is indented with tabs instead of 4 spaces

File -> Settings -> Editor -> Code Style -> Java -> Tabs and Indents -> Use tab character

  • 7
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 13
    评论
Deep Learning with Theano by Christopher Bourez English | 31 July 2017 | ISBN: 1786465825 | ASIN: B073ZFBQQJ | 300 Pages | AZW3 | 6.98 MB Develop deep neural networks in Theano with practical code examples for image classification, machine translation, reinforcement agents, or generative models. About This Book Learn Theano basics and evaluate your mathematical expressions faster and in an efficient manner Learn the design patterns of deep neural architectures to build efficient and powerful networks on your datasets Apply your knowledge to concrete fields such as image classification, object detection, chatbots, machine translation, reinforcement agents, or generative models. Who This Book Is For This book is indented to provide a full overview of deep learning. From the beginner in deep learning and artificial intelligence, to the data scientist who wants to become familiar with Theano and its supporting libraries, or have an extended understanding of deep neural nets. Some basic skills in Python programming and computer science will help, as well as skills in elementary algebra and calculus. What You Will Learn Get familiar with Theano and deep learning Provide examples in supervised, unsupervised, generative, or reinforcement learning. Discover the main principles for designing efficient deep learning nets: convolutions, residual connections, and recurrent connections. Use Theano on real-world computer vision datasets, such as for digit classification and image classification. Extend the use of Theano to natural language processing tasks, for chatbots or machine translation Cover artificial intelligence-driven strategies to enable a robot to solve games or learn from an environment Generate synthetic data that looks real with generative modeling Become familiar with Lasagne and Keras, two frameworks built on top of Theano In Detail This book offers a complete overview of Deep Learning with Theano, a Python-based library that makes optimizing numerical expressions and deep learning models easy on CPU or GPU. The book provides some practical code examples that help the beginner understand how easy it is to build complex neural networks, while more experimented data scientists will appreciate the reach of the book, addressing supervised and unsupervised learning, generative models, reinforcement learning in the fields of image recognition, natural language processing, or game strategy. The book also discusses image recognition tasks that range from simple digit recognition, image classification, object localization, image segmentation, to image captioning. Natural language processing examples include text generation, chatbots, machine translation, and question answering. The last example deals with generating random data that looks real and solving games such as in the Open-AI gym. At the end, this book sums up the best -performing nets for each task. While early research results were based on deep stacks of neural layers, in particular, convolutional layers, the book presents the principles that improved the efficiency of these architectures, in order to help the reader build new custom nets. Style and approach It is an easy-to-follow example book that teaches you how to perform fast, efficient computations in Python. Starting with the very basics-NumPy, installing Theano, this book will take you to the smooth journey of implementing Theano for advanced computations for machine learning and deep learning.
回答: 当你在Python代码中遇到"TabError: inconsistent use of tabs and spaces in indentation"错误时,这意味着你在缩进中混用了制表符和空格。这个错误通常是由于编辑器的设置问题引起的。为了解决这个问题,你可以按照以下步骤进行操作: 1. 检查你的代码中的缩进是否一致。确保你只使用空格或者只使用制表符来进行缩进,不要混用它们。 2. 如果你使用的是Notepad++编辑器,你可以将制表符设置为四个空格。这样可以避免混用的问题。\[2\] 3. 如果你遇到"IndentationError: expected an indented block"错误,这意味着你需要在该行进行缩进。你可以使用空格或制表符(但不能混用)来缩进。如果上一行以冒号结尾,那么下一行需要进行缩进。\[3\] 希望这些解决方法能够帮助你解决Python中的缩进错误。如果问题仍然存在,请检查你的代码并确保缩进的一致性。你也可以参考提供的参考链接来获取更多关于解决这个错误的信息。\[1\] #### 引用[.reference_title] - *1* [Python报错 TabError: inconsistent use of tabs and spaces in indentation](https://blog.csdn.net/qq_39779233/article/details/107044126)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] - *2* *3* [Python避坑之TabError: inconsistent use of tabs and spaces in indentation和IndentationError错误](https://blog.csdn.net/weixin_45900357/article/details/125020403)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值