├── CNN ├── CNN.sdf ├── CNN.sln ├── CNN.suo ├── CNN │ ├── CNN.vcxproj │ ├── CNN.vcxproj.filters │ ├── CNN.vcxproj.user │ ├── Debug │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── CNN.Build.CppClean.log │ │ ├── CNN.exe.intermediate.manifest │ │ ├── CNN.lastbuildstate │ │ ├── CNN.log │ │ ├── CNN.vcxprojResolveAssemblyReference.cache │ │ ├── CNN.write.1.tlog │ │ ├── cl.command.1.tlog │ │ ├── cnn.obj │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── main.obj │ │ ├── mat.obj │ │ ├── minst.obj │ │ ├── mt.command.1.tlog │ │ ├── mt.read.1.tlog │ │ ├── mt.write.1.tlog │ │ ├── vc100.idb │ │ └── vc100.pdb │ ├── cnn - 副本.cpp │ ├── cnn - 副本.h │ ├── cnn.cpp │ ├── cnn.h │ ├── main.cpp │ ├── mat.cpp │ ├── mat.h │ ├── minst.cnn │ ├── minst.cpp │ └── minst.h ├── Debug │ ├── CNN.exe │ ├── CNN.ilk │ └── CNN.pdb ├── Minst │ └── ReadMe.txt ├── README.md └── ipch │ └── cnn-bfc2a044 │ └── cnn-ca6ddb2b.ipch └── README.md /CNN/CNN.sdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN.sdf -------------------------------------------------------------------------------- /CNN/CNN.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CNN", "CNN\CNN.vcxproj", "{2FAE4334-982D-4C6B-8901-DDBF4138C59A}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {2FAE4334-982D-4C6B-8901-DDBF4138C59A}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {2FAE4334-982D-4C6B-8901-DDBF4138C59A}.Debug|Win32.Build.0 = Debug|Win32 14 | {2FAE4334-982D-4C6B-8901-DDBF4138C59A}.Release|Win32.ActiveCfg = Release|Win32 15 | {2FAE4334-982D-4C6B-8901-DDBF4138C59A}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /CNN/CNN.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN.suo -------------------------------------------------------------------------------- /CNN/CNN/CNN.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {2FAE4334-982D-4C6B-8901-DDBF4138C59A} 15 | CNN 16 | 17 | 18 | 19 | Application 20 | true 21 | MultiByte 22 | 23 | 24 | Application 25 | false 26 | true 27 | MultiByte 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | Level3 43 | Disabled 44 | 45 | 46 | true 47 | 2000 48 | 49 | 50 | 51 | 52 | Level3 53 | MaxSpeed 54 | true 55 | true 56 | 57 | 58 | true 59 | true 60 | true 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /CNN/CNN/CNN.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 32 | 33 | 头文件 34 | 35 | 36 | 头文件 37 | 38 | 39 | 头文件 40 | 41 | 42 | -------------------------------------------------------------------------------- /CNN/CNN/CNN.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /CNN/CNN/Debug/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/CL.read.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/CL.write.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.Build.CppClean.log: -------------------------------------------------------------------------------- 1 | E:\Code\VS2010 code\CNN\CNN\Debug\cl.command.1.tlog 2 | E:\Code\VS2010 code\CNN\CNN\Debug\CL.read.1.tlog 3 | E:\Code\VS2010 code\CNN\CNN\Debug\CL.write.1.tlog 4 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\CNN.EXE.INTERMEDIATE.MANIFEST 5 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\CNN.OBJ 6 | E:\Code\VS2010 code\CNN\CNN\Debug\CNN.vcxprojResolveAssemblyReference.cache 7 | E:\Code\VS2010 code\CNN\CNN\Debug\CNN.write.1.tlog 8 | E:\Code\VS2010 code\CNN\CNN\Debug\link.command.1.tlog 9 | E:\Code\VS2010 code\CNN\CNN\Debug\link.read.1.tlog 10 | E:\Code\VS2010 code\CNN\CNN\Debug\link.write.1.tlog 11 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\MAIN.OBJ 12 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\MAT.OBJ 13 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\MINST.OBJ 14 | E:\Code\VS2010 code\CNN\CNN\Debug\mt.command.1.tlog 15 | E:\Code\VS2010 code\CNN\CNN\Debug\mt.read.1.tlog 16 | E:\Code\VS2010 code\CNN\CNN\Debug\mt.write.1.tlog 17 | E:\Code\VS2010 code\CNN\CNN\Debug\vc100.idb 18 | E:\CODE\VS2010 CODE\CNN\CNN\DEBUG\VC100.PDB 19 | E:\CODE\VS2010 CODE\CNN\DEBUG\CNN.EXE 20 | E:\CODE\VS2010 CODE\CNN\DEBUG\CNN.ILK 21 | E:\CODE\VS2010 CODE\CNN\DEBUG\CNN.PDB 22 | -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.exe.intermediate.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.lastbuildstate: -------------------------------------------------------------------------------- 1 | #v4.0:v100:false 2 | Debug|Win32|E:\Code\VS2010 code\CNN\| 3 | -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.log: -------------------------------------------------------------------------------- 1 | 生成启动时间为 2016/6/30 21:07:01。 2 | 1>项目“E:\Code\VS2010 code\CNN\CNN\CNN.vcxproj”在节点 2 上(build 个目标)。 3 | 1>InitializeBuildStatus: 4 | 正在创建“Debug\CNN.unsuccessfulbuild”,因为已指定“AlwaysCreate”。 5 | ClCompile: 6 | d:\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:prompt cnn.cpp 7 | cnn.cpp 8 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(58): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据 9 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(151): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据 10 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(193): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 11 | d:\microsoft visual studio 10.0\vc\include\stdio.h(234) : 参见“fopen”的声明 12 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(225): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 13 | d:\microsoft visual studio 10.0\vc\include\stdio.h(234) : 参见“fopen”的声明 14 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(291): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据 15 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(537): warning C4244: “参数”: 从“double”转换到“float”,可能丢失数据 16 | 1>e:\code\vs2010 code\cnn\cnn\cnn.cpp(620): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 17 | d:\microsoft visual studio 10.0\vc\include\stdio.h(234) : 参见“fopen”的声明 18 | Link: 19 | d:\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"E:\Code\VS2010 code\CNN\Debug\CNN.exe" /NOLOGO libCbc.lib libCgl.lib libClp.lib libCoinUtils.lib libOsi.lib libOsiClp.lib opencv_calib3d2410d.lib opencv_contrib2410d.lib opencv_core2410d.lib opencv_features2d2410d.lib opencv_flann2410d.lib opencv_gpu2410d.lib opencv_highgui2410d.lib opencv_imgproc2410d.lib opencv_legacy2410d.lib opencv_ml2410d.lib opencv_objdetect2410d.lib opencv_ts2410d.lib opencv_video2410d.lib opencv_nonfree2410d.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\CNN.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"E:\Code\VS2010 code\CNN\Debug\CNN.pdb" /HEAP:"2000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"E:\Code\VS2010 code\CNN\Debug\CNN.lib" /MACHINE:X86 Debug\cnn.obj 20 | Debug\main.obj 21 | Debug\mat.obj 22 | Debug\minst.obj 23 | LINK : 没有找到 E:\Code\VS2010 code\CNN\Debug\CNN.exe 或上一个增量链接没有生成它;正在执行完全链接 24 | CNN.vcxproj -> E:\Code\VS2010 code\CNN\Debug\CNN.exe 25 | Manifest: 26 | c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /outputresource:"E:\Code\VS2010 code\CNN\Debug\CNN.exe;#1" /manifest Debug\CNN.exe.intermediate.manifest 27 | FinalizeBuildStatus: 28 | 正在删除文件“Debug\CNN.unsuccessfulbuild”。 29 | 正在对“Debug\CNN.lastbuildstate”执行 Touch 任务。 30 | 1>已完成生成项目“E:\Code\VS2010 code\CNN\CNN\CNN.vcxproj”(build 个目标)的操作。 31 | 32 | 生成成功。 33 | 34 | 已用时间 00:00:01.36 35 | -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.vcxprojResolveAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/CNN.vcxprojResolveAssemblyReference.cache -------------------------------------------------------------------------------- /CNN/CNN/Debug/CNN.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/CNN.write.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/cl.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/cl.command.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/cnn.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/cnn.obj -------------------------------------------------------------------------------- /CNN/CNN/Debug/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/link.command.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/link.read.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/link.write.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/main.obj -------------------------------------------------------------------------------- /CNN/CNN/Debug/mat.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/mat.obj -------------------------------------------------------------------------------- /CNN/CNN/Debug/minst.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/minst.obj -------------------------------------------------------------------------------- /CNN/CNN/Debug/mt.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/mt.command.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/mt.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/mt.read.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/mt.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/mt.write.1.tlog -------------------------------------------------------------------------------- /CNN/CNN/Debug/vc100.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/vc100.idb -------------------------------------------------------------------------------- /CNN/CNN/Debug/vc100.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/Debug/vc100.pdb -------------------------------------------------------------------------------- /CNN/CNN/cnn - 副本.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/cnn - 副本.cpp -------------------------------------------------------------------------------- /CNN/CNN/cnn - 副本.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/cnn - 副本.h -------------------------------------------------------------------------------- /CNN/CNN/cnn.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/cnn.cpp -------------------------------------------------------------------------------- /CNN/CNN/cnn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/cnn.h -------------------------------------------------------------------------------- /CNN/CNN/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/main.cpp -------------------------------------------------------------------------------- /CNN/CNN/mat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/mat.cpp -------------------------------------------------------------------------------- /CNN/CNN/mat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/mat.h -------------------------------------------------------------------------------- /CNN/CNN/minst.cnn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/minst.cnn -------------------------------------------------------------------------------- /CNN/CNN/minst.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/minst.cpp -------------------------------------------------------------------------------- /CNN/CNN/minst.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/CNN/minst.h -------------------------------------------------------------------------------- /CNN/Debug/CNN.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/Debug/CNN.exe -------------------------------------------------------------------------------- /CNN/Debug/CNN.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/Debug/CNN.ilk -------------------------------------------------------------------------------- /CNN/Debug/CNN.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/Debug/CNN.pdb -------------------------------------------------------------------------------- /CNN/Minst/ReadMe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/Minst/ReadMe.txt -------------------------------------------------------------------------------- /CNN/README.md: -------------------------------------------------------------------------------- 1 | C语言版本的CNN 2 | 关于项目的具体说明可以参见个人CSDN博客tostq 3 | http://blog.csdn.net/tostq/article/category/6290467 4 | 系列博客:编写C语言版本的卷积神经网络CNN 5 | Tips: 6 | 由于MINST数据库文件太大了,所以没有包含在这个项目内,自行下载,将MINST四个文件分别解压放到Minst文件夹就可以了 7 | -------------------------------------------------------------------------------- /CNN/ipch/cnn-bfc2a044/cnn-ca6ddb2b.ipch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tostq/DeepLearningC/bd22fd4ea78ffba36f15e30c6cd327cab464f830/CNN/ipch/cnn-bfc2a044/cnn-ca6ddb2b.ipch -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | - Simple program to learn CNN in pure C 3 | - Using MS VS2010 to achieve handwriting recognition 4 | - Follow the idea of LeNet-5 5 | 6 | # 中文说明 7 | 请参照个人系列博客【编写C语言版本的卷积神经网络CNN】 8 | 9 | [http://blog.csdn.net/tostq/article/details/51786265](http://blog.csdn.net/tostq/article/details/51786265) 10 | --------------------------------------------------------------------------------