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

.TXT 参数文件 #14

Open
Shawn-Chung opened this issue Jan 3, 2018 · 1 comment
Open

.TXT 参数文件 #14

Shawn-Chung opened this issue Jan 3, 2018 · 1 comment

Comments

@Shawn-Chung
Copy link

您好,请问您的.txt 参数文件中 数据是怎么组织的?比如PNet的第一层卷积,权重是331*10,输入单通道图像,代码中使用了矩阵相乘,且将输入特征平面转换成了行向量的形式,那么这里的权重是按什么顺序写到.txt文件中的?多谢!

@AlphaQi
Copy link
Owner

AlphaQi commented Jan 7, 2018

txt的顺序其实就是把整个网络按照顺序排列成列向量,然后写入的。模型中的卷积核是直接reshape的,其实你看我的参数读取函数就能看出来

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