Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下image文件夹下的图片来自哪里? #2

Open
HurricanGod opened this issue May 18, 2017 · 4 comments
Open

请教一下image文件夹下的图片来自哪里? #2

HurricanGod opened this issue May 18, 2017 · 4 comments

Comments

@HurricanGod
Copy link

请教一下image文件夹下的图片来自哪里?仓库里没有image文件夹,我想知道image文件夹下的样本有哪些。

@sunxfancy
Copy link
Owner

那个是测试数据,把train下面生成的图片移动了部分到image目录下

@HurricanGod
Copy link
Author

我有个问题就是:把图片移动到image目录下后神经网络达到145就收敛了,跟您的博客不太一样。是在后期做了优化吗?

@sunxfancy
Copy link
Owner

这个和你使用的matlab神经网络工具箱的版本有关,有可能是新版本进行了优化调整。

@HurricanGod
Copy link
Author

runbp.m文件
[a, b] = buildtrainset(imgs_sample, imgs_sample_num);
net = bpann(a', b');
你好,博主!有点不太明白的是为什么要对得到的数据集a,b进行转置。我认为a表示的是0-9数字图片相应的矩阵转换而来的行向量,不知道会不会理解错?(即每一行是含有单个数字图片的矩阵转换为了1行n列的矩阵)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants