win10释放C盘空间的19中方法

按这十项去做电脑反应想慢下来都难,win11清理c盘释放空间的10种方法 按这十项去做电脑反应想慢下来都难 win11清理C盘释放空间的 10 种方法 垃圾清理 清理垃圾 c盘清理 win11清理垃圾 阅读详情

原文地址:https://www.intowindows.com/16-ways-to-free-up-drive-space-in-windows-10/

19 Ways To Free Up Drive Space In Windows 10

Is your hard disk drive or solid state drive filling up fast? Want to free up disk space on your Windows 10 PC? In this guide, we will discuss all the ways out there to free up drive space in Windows 10.

You can free up GBs of disk space on your PC with a little bit of work. In this article, we will list out all the possible ways out there to free up space on your Windows 10 PC.

In no particular order, following are the 19 ways to free up drive space in Windows 10.

Uninstall unwanted apps and programs

You are aware of this, and probably have done this already. If not, uninstall unwanted programs and apps right away to free up disk space. Some of the programs out there consume GBs of valuable disk space.

By navigating to Settings app > Apps > Apps & features you can view disk space being used by apps and programs. You can also uninstall apps and programs right from this page.

You can also consider uninstalling not so useful native apps to free up drive space in Windows 10. Refer to our how to uninstall default apps in Windows 10 guide for instructions.

Turn off hibernation to free up drive space

Before you start complaining, let us make it clear that we suggest to turn off the hibernation feature only if you are not using it or don’t know what the hibernation feature is.

Hibernation feature, when turned on, creates hyberfil.sys file which takes about the size of the RAM installed on your PC. For instance, if your PC is equipped with 8 GB of RAM, the hibernation feature takes about 7 GB of disk space.

Remember that hibernation feature is turned on by default in Windows 10 but it’s not added to the Start menu by default. So, make sure that it’s turned off if you don’t use it. And if you don’t want to turn it off, consider reducing the size of the hibernation file.

Here is how to disable the hibernation feature

Step 1: Open Command Prompt as administrator by typing CMD in the Start/taskbar search field, right-click on Command Prompt entry and then click Run as administrator.

Step 2: In the elevated Command Prompt, type powercfg /hibernate off and then press Enter key to turn off the hibernation feature and free up space.

Disable or delete system restore points

System restore points come in handy when you want to restore your Windows 10 PC to an earlier date to fix issue(s). Depending on the number of restore points and allocated space for the system restore point feature, it might be taking GBs of disk space. Again, turning off system restore feature is not recommended, especially if you know how to use it!

Alternatively, you can delete all restore points except the most recent one if you don’t want to turn off the feature. There are also ways out there to delete individual restore points.

Here is how to turn off system restore feature.

Step 1: In the Start/taskbar search field, type sysdm.cpl and then press Enter key.

Step 2: Switch to the System Protection tab. In the Protection Settings section, select a drive and then click the Configure button.

Step 3: In the resulting dialog, select Disable system protection radio button, and then click Apply button.

Repeat step 2 and 3 for other drives to completely turn off system restore feature for all drives and free up drive space in Windows 10.

Clear the Recycle Bin

You probably know that when you delete a file in Windows 10 by selecting a file and then pressing the Delete key, the file is moved to the Recycle Bin. As long as a file is in the Recycle Bin, it continues to take the disk space. You can reclaim valuable disk space by allocating less disk space to the Recycle Bin and clearing all files from the Recycle Bin.

If you often find yourself doing Shift + Del to permanently delete files without moving files to the Recycle Bin, you should consider turning off the Recycle Bin. We recommend you configure Windows 10 to automatically delete old files from Recycle Bin.

Delete old versions of drivers

Just like older versions of software, old drivers of no use and take up disk space. Luckily, Windows 10 allows you to delete old device drivers with ease. Please refer to our how to delete old device drivers in Windows 10 guide for step-by-step directions.

Delete Windows.old folder

If you upgraded to Windows 10 from Windows 7/8.1 or upgraded to the latest version of Windows 10 recently, you likely have a folder called Windows.old at the root of your system drive.

The Windows.old folder contains data from your previous Windows installation(s) and takes no less than 10 GB of drive space. If you are sure that you don’t need data from previous Windows installation(s), you should delete the Windows.old folder to free up considerable amount of disk space.

Follow the instructions in our how to delete Windows.old folder in Windows 10 guide or how to automatically delete previous Windows installation files article for instructions.

Delete $Windows.~BT & $Windows.~WS folders

The $Windows.~BT & $Windows.~WS folders can be found at the root of the system drive. These folders are generated while upgrading to Windows 10 or latest version of Windows 10. You can delete them to free up GBs of space. Follow the directions in our how to delete $Windows.~BT & $Windows.~WS folders in Windows 10 for instructions.

Delete files from Downloads folder

With default settings, files downloaded using all web browsers are saved in the Downloads folder located on the drive where Windows 10 is installed. You might be having tens of unwanted files in the Downloads folder consuming hundreds of MBs of space. For instance, the setup file of a program is not required post the installation of the program unless you reinstall the program very often!

Delete temporary files

Deleting temporary files is an easy job. Refer to our how to safely delete temporary files in Windows 10 guide for step-by-step details.

Clear the update cache

You might be able to gain some good amount of disk space by clearing the Windows Update cache. The Update cache is the place where all update files that are being downloaded and also corrupt updates are temporarily saved.

Follow the instructions in our how to clear Windows update cache in Windows 10 article for directions.

Delete unused user accounts

A new user account usually takes up very little drive space. Depending on the number files and size, a user account might be consuming few MBs to GBs of disk space.

In short, if you have an unused user account on your PC, you can delete it although you might gain very little space by doing so. You can always create a new account when you need it. To delete an account, navigate to Settings app > Accounts > Family & other people. Select an account and click Remove button.

Compress drives to free up drive space in Windows 10

Compressing drives is probably is not a good idea, especially if you don’t want to compromise on overall performance. That said, if you are experiencing acute shortage of space, you can do so to free up some space.

Refer to the directions in method 2 of how to compress drives to free up disk space guide to compress drives in Windows 10.

Compress Windows 10 installation

Compact OS is a new feature in Windows 10 that helps you to reduce the disk space used by the Windows 10 installation. Refer to our how to compress Windows 10 installation to save disk space guide for directions to gain disk space by using the compact OS feature.

Find out large files and delete if not required

Finding out large files is quite easy. Refer to our how to find large files in Windows 10 for step-by-step directions. Delete large files as well as small files that you no longer need. Use free software like Space Snipper to find out large files on your PC easily.

Delete delivery optimization files

Delivery optimization files are files that were previously downloaded onto your PC. You can delete these files to free up drive space in Windows 10. To delete delivery optimization files:

Step 1: Open This PC. Right-click on the drive where Windows 10 is installed and then click Properties.

Step 2: Click Disk Cleanup button.

Step 3: When you see results, select the Delivery optimization files check box and then click OK button to delete delivery optimization files.

Delete temporary files used by apps

Temporary files that apps are not using can also be deleted GBs of disk space. Here is how to do that.

Step 1: Open Settings app. Navigate to System > Storage.

Step 2: Click Change how we free up space link.

Step 3: Select Delete temporary files that my apps are not using option.

Make sure that other options are not selected and then click Clean now button. In a few seconds, you will see how much space you recovered by deleting temporary files used by apps. As you can see in the picture above, we gained about 2.3 GB of disk space.

Delete duplicate files and folders

Finding duplicate files on your PC is not an easy job, but there are programs that can help you find and delete duplicate files and folders. We suggest dupeGuru program to find and delete duplicate files.

Last but not the least, you can consider moving photos and videos to an external drive or cloud service to free up drive space in Windows 10.

Move installed apps and programs to other drives

Some apps and programs take up GBs of space on the drive where they are installed. If the system drive is filling up fast, you can consider moving installed apps and games to a non-system drive to free up space. Refer to our how to change download location of installed apps and how to move installed programs in Windows 10 guides for directions.

Disable the Reserved Storage

The Reserved Storage in Windows 10 is about 7 GB of disk space set aside by Windows 10 to be used by apps, Windows Update, temporary files and system caches. Although we don’t recommend disabling the Reserved Storage, you can turn off temporarirly to gain some disk space. Refer to the directions in our how to enable or disable the Reserved Storage in Windows 10 guide for directions.

Change iTunes backup location

This is strictly for iPhone and iPad users who backup their iPhone data to Windows 10 PCs. By default, iTunes uses the system drive to save your iPhone/iPad data. By setting a different drive as default iTunes backup location, you can free up tens of GBs of space.

Refer to our how change iTunes backup location in Windows 10 guide for step-by-step directions.

Win10电脑C盘清理指南:轻松释放空间,提升运行速度 通过以上几种方法,你可以有效地清理Win10电脑C盘内的垃圾文件,释放磁盘空间,提升系统性能。无论是使用系统自带的磁盘清理工具、第三方清理软件,还是卸载不必要的程序和文件,甚至是重新安装纯净版系统,都能帮助你解决C盘空间不足的问题。希望本文能对你有所帮助,让你的Win10电脑运行更加流畅! 阅读详情

相关推荐

Win10系统更新后C盘爆满?这几招教你轻松释放空间

通过上述几种方法,我们可以有效地释放Windows 10系统中C盘的空间,提高电脑的运行速度。如果以上方法仍然无法腾出足够的C盘空间,那么可以考虑备份重要数据后,重装一款纯净版的Windows 10系统。纯净版系统通常不包含冗余的软件和驱动程序,能够更高效地利用磁盘空间。在重装系统时,建议下载并安装最新的Windows 10纯净版镜像文件(如Windows 10 22H2 64位最新纯净专业版),以确保系统的稳定性和安全性。重装系统前,请务必备份好重要数据,以免数据丢失带来的不便。

mmoo_python的博客 2999

Delete Hibernation File

I’m using Windows7 and my computer has 8G RAM, because it is a desktop PC, I don’t need hibernation. The hibernation file is about 6G, surely, this a huge waste of disk resource. How to remove this f...

weixin_30725467的博客 292

Win10 C盘清理全攻略:轻松释放存储空间

清理Win10 C盘的方法多种多样,包括迁移数据、运行磁盘清理、使用第三方磁盘清理软件和重装系统。每种方法都有其优缺点和适用场景,你可以根据自己的需求和实际情况选择合适的方法进行清理。通过定期清理C盘,你可以确保系统有足够的存储空间来运行操作系统和各类程序,提高电脑的运行速度和稳定性。

nntxthml的博客 1852

Disk space is below threshold of 1.00 GiB. Only 722.11 MiB out of 16.99 GiB left on /root/.jenkins.

需要清理一下主机的磁盘空间,或者需对主机的磁盘进行扩容。原因:主机空间磁盘不足。

CjfBlog的博客 1566

戴尔Win11 C盘清理指南:全面释放存储空间

通过上述方法,我们可以有效地清理戴尔Win11 C盘上的垃圾文件和不再需要的文件,释放存储空间,提升电脑的运行速度和稳定性。需要注意的是,在进行任何清理操作之前,请务必备份重要数据,以防意外丢失。此外,定期清理C盘并养成良好的文件管理习惯也是保持电脑高效运行的关键。希望本文能够帮助大家更好地管理和维护自己的戴尔Win11电脑。

mmoo_python的博客 1863

Win7系统C盘空间满了清理教程:轻松释放磁盘空间

在日常使用Windows 7系统的过程中,很多用户都会遇到C盘(系统盘)空间不足的问题。这不仅会影响系统的运行速度,还可能导致无法安装新的软件或更新。本文将详细介绍如何通过几个简单步骤来清理Win7系统C盘空间,让你的电脑重新焕发活力。打开C盘属性首先,我们需要打开C盘的属性界面,以便进行后续操作。启动碎片整理磁盘碎片整理是优化磁盘性能的重要手段。当文件被频繁读写和删除时,磁盘上会产生许多碎片,这会降低系统读取文件的效率。选择C盘并执行整理完成碎片整理后,接下来我们需要通过磁盘清理来释放C盘上的无用空间。访

nntxthml的博客 2507

Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE 安装失败 因为手机内存小了

[2014-04-17 16:33:23 - PathButton] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2014-04-17 16:33:23 - PathButton] Please check logcat output for more details. [2014-04-17 16:33:24 - Path

u010509143的专栏 1018

Win10电脑C盘爆满?这些方法帮你轻松解决

C盘爆满是Windows 10用户常见的问题之一。通过磁盘清理、手动清理Windows文件夹和大文件以及借助第三方工具清理等方法,用户可以有效地释放C盘空间,提升电脑的运行速度。如果以上方法都无法解决问题,那么重装一个纯净的系统可能是一个不错的选择。希望本文能够帮助大家解决C盘爆满的问题,让电脑运行更加流畅。

mmoo_python的博客 1607

C盘根目录文件清理与C盘管理

摘要: C盘空间不足是常见问题,系统升级、临时文件、软件残留等都会占用空间。可手动清理系统垃圾文件夹(如$WINDOWS.~BT、Temp、Prefetch等),删除Office安装残留(MSOCache)或驱动工具文件(如dongle_fun)。部分软件强制捆绑C盘文件,长期堆积后建议备份重装系统。若清理无效,重装系统比持续管理更高效。

qq_36710118的博客 1038

OpenIddict实战:5步搞定.NET Core应用的OIDC单点登录集成

本文详细介绍了如何使用OpenIddict在.NET Core应用中快速实现OIDC单点登录集成。通过五个关键步骤,包括环境准备、数据库集成、客户端注册、令牌配置和多应用SSO集成,帮助开发者高效构建安全的企业级单点登录解决方案。

lambda的博客 726

BugkuCTF-PWN题pwn2-overflow超详细讲解

解题思路 1)计算出get_shell_的地址偏移量 2)算出来之后就直接溢出到后门函数 知识点 x64函数调用规则 解题之前我们先学下linux x64的函数调用规则。 x64机器在调用某个函数前,比如int func(int a, int b, int c, int d, int e, int f, int g, int h),首先他会把前6个参数从左往右存入到寄存器rdi、rsi、rdx、rcx、r8、r9,其余参数存入到栈里,保存的顺序是从右往左入栈。比如abcdef会存入到寄存器里,然后一次入栈h

am_03的博客 3013

系统运维系列 之系统文件Hiberfil.sys的介绍

Hiberfil.sys文件位于系统盘的根目录下,它是 win10 休眠功能(Hibernation)中将内存数据与会话数据保存到电脑硬盘、以便于win10计算机断电重新启动后可以快速恢复会话所需的内存镜像文件。 主要参考资料为: https://blog.youkuaiyun.com/xishining/article/details/108177579 Win10优化:系统文件Hiberfil.sys介绍 ...

langxiaolin的博客 637

研一脑电小白日记 之 EEGLAB预处理实战指南

本文为脑电研究新手提供了一份详尽的EEGLAB预处理实战指南。从MATLAB与EEGLAB环境搭建、使用NeuracleEEGFileReader插件导入BDF格式数据开始,逐步讲解了电极定位、滤波、降采样、ICA去伪迹等核心步骤,旨在帮助初学者高效完成脑电数据预处理,为后续分析奠定坚实基础。

weixin_29230649的博客 556

C盘满了怎么清理?10种方法安全释放Win10/11空间

电脑提示 C盘空间不足,系统卡顿、更新失败怎么办?本文整理了 10种C盘清理方法,涵盖存储感知、磁盘清理、删除Windows.old、更新缓存、临时文件、关闭休眠、调整虚拟内存、修改软件路径、扩容C盘,以及一键清理工具,帮助Win10/Win11用户快速释放空间,彻底解决“C盘满了怎么清理”的难题。

2401_89926894的博客 2万+

用gm/Id方法设计简单折叠式共源共栅放大器

gm/Id

qq_45541367的博客 2万+

FREERTOS+LWIP+IAP实现TCP、HTTP、网页访问并固件升级、更新配置 (三)lwip实现httpd服务并在web访问

在前两篇文章中配置freeRTOS和,并实现了TCP、UDP的通信协议,现在终于轮到重头戏lwip的httpd服务,LWIP官方例程中是有很多自带的网页的,但是远远不够满足实际项目的使用需求,因此我也是踩了很多坑,从前端网页制作,到网络通信的实现,到后端数据处理,从头开始学起,也是学习到了很多没接触过的东西,本章将搭建LWIP的HTTP服务使得浏览器可以访问WEB。

wangjiaheng0716的博客 2965

C盘满了怎么清理?Win10/Win11 最全 10 种安全释放空间方法(附图示步骤)

当 Windows 电脑出现卡顿、更新失败、空间不足提示时,多半是因为 C盘满了。本文从系统自带工具到深度清理方法,总结 Win10/Win11 下 “C盘满了怎么清理” 的 10 种最安全实用方案,包括存储感知、磁盘清理、删除 Windows.old、清理更新缓存、Temp 文件清理、关闭休眠、调整虚拟内存、修改软件默认路径以及无损扩容 C 盘等操作。按本文步骤即可轻松释放 5~30GB,有效解决 C 盘空间不足的问题,让电脑重新流畅运行。

2401_89926894的博客 2万+

ZYNQ新手必看:你的PS端DDR和QSPI配置真的对了吗?从原理到实操的避雷指南

本文深入解析ZYNQ PS端外设配置的关键要点,特别是DDR匹配和QSPI时钟优化的实战技巧。通过详细案例和配置清单,帮助开发者避免常见错误,确保系统稳定性和启动可靠性。适合ZYNQ新手和需要优化最小系统的开发者参考。

weixin_28675839的博客 445

C盘爆满怎么办?C盘没有空间了怎么办?九种方法释放C盘空间

我想用过windows的人,没有人逃过C盘空间不足的压迫,这简直就是噩梦。通过360清理磁盘,没有几天磁盘又满了。想找一款清理磁盘的工具吧,大多数都是收费的,而且也不那么靠谱。看着C盘红红的颜色实在心里不踏实,总觉得机器一天一天的慢下来了。心里也知道,肯定是某个临时文件,某个软件,或许是某个插件占领了我们的空间,但苦无无法找到他们。随意删除又怕删错了系统瘫痪,软件运行异常,所以呢,不敢随意都收清理C盘。只能用360或者其他的所谓磁盘清理软件来碰碰运气,偶尔能清理掉几百兆,也是杯水车薪。

河西~石头 3万+

车载以太网测试-3【Wireshark介绍】

数据包捕获支持从多种网络接口(如以太网、Wi-Fi、蓝牙等)捕获数据包。可以实时捕获或从文件中读取已捕获的数据包。协议解析支持解析数百种网络协议(如 TCP/IP、HTTP、DNS、FTP 等)。能够深入解析协议头部和负载,帮助用户理解网络通信的细节。过滤功能提供强大的显示过滤器和捕获过滤器,帮助用户快速定位和分析感兴趣的数据包。支持基于协议、IP地址、端口号等多种条件的过滤。统计和分析提供多种统计工具,如流量图、会话统计、协议分层统计等。

车载网络测试工程师的博客 1989

EMC诊断技术及电磁兼容理论设计

本文深入探讨了EMC诊断技术,重点在于滤波篇,详细讲解了EMI滤波器的设计、选型、测试及应用注意事项。内容涵盖噪声限值法规、滤波器的法规依据、插入损耗测试以及滤波电容的高频特性。同时,还阐述了噪声源的近场与远场特性,如何快速定位和抑制噪声。通过实例分析,提供了滤波器件和辐射噪声抑制器件的选型策略。

让你爱上电路设计 2162

搜索c盘大文件_Win10系统下,有效释放C盘空间的方法!

Win10系统已经逐渐完善,安装率更是节节攀升!Win10属于未来,这一点不可否认!下面就来说一下,如何有效释放WIN10系统盘空间!设置分页文件到其它盘内下图是未设置前的C盘使用情况WIN10系统盘使用情况下图是设置后的C盘使用情况设置后的WIN10系统盘使用情况可以说效果立竿见影,一下清理出来差不多10G左右可用空间,当然空间大小与你安装的软件数量、使用时间有关,不过一般情况下都清理出来几个G...

weixin_39945792的博客 3059

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

计算机d盘给c盘,win10电脑D盘合并分区到c盘的两种方法

电脑安装上win10系统后发现C盘太小了,要把D盘里面的容量给合并到C盘里面去的,扩大系统盘容量。相信很多win10网友们都不会win10电脑D盘合并分区到c盘的操作,我们可以用自带的工具合并到C盘,下文给大家分享win10电脑D盘合并分区到c盘的两种方法。win10电脑D盘合并分区到c盘方法一:使用win10自带磁盘工具1、右键开始菜单,选择【磁盘管理】,查看D盘是否是主分区,是则进行下一步;2...

weixin_30209891的博客 3万+

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

Win10 C盘空间不足清理方法

轻松释放Win10 C盘空间

topfine的博客 3469

Win10 C盘空间释放

前言 最近刷到了一些关于清理C盘解决C盘剩余空间不足问题的文章,虽然文章中提到的方法确实可以对C盘中的一些无用文件进行清理,但终归不会释放出太大的空间。 本文将介绍几个方法,可以很大程度的释放C盘的剩余存储空间。 注:本文中提到的C盘代指Windows10的系统盘 1. 系统文件清理 具体操作步骤为:此电脑 ==> 属性 ==> 磁盘清理 ==> 清理系统文件 选择要清理的...

清欢渡 1215

win10清理c盘_系统C盘磁盘空间不够用的解决办法

最近很多人咨询大叔,C盘用着用着就没了,100G的使用空间啊,怎么就省寥寥无几的三五G了,或者干脆右下角直接提示可用空间不足了呢大叔今天就给大家简单教一下,在我们的系统C盘空间不足的情况下如何腾出有效的大容量的空间出来第一步:更改虚拟内存路径(通用于WIN7和WIN10)按照上图的路径 将自动管理所有驱动器的分页文件大小对号去掉将C设置无将托管设置到其他盘符去,别托管C盘就行了这样 虚拟内存占用的...

weixin_39783633的博客 2635
上一篇: RokectMq的消费模式及消费方式
下一篇: 什么是UV PV DAU MAU
jiaway
博客等级 码龄11年 39粉丝 92原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值