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

提取哪一层的特征 #18

Open
Amanda-Barbara opened this issue May 4, 2018 · 1 comment
Open

提取哪一层的特征 #18

Amanda-Barbara opened this issue May 4, 2018 · 1 comment

Comments

@Amanda-Barbara
Copy link

您好,我想请教一下测试的时候是提取"fc7"还是"fc9_1"作为模型特征?谢谢!

@Tushn
Copy link

Tushn commented Jul 25, 2018

I don't understand your question, but if you want extract layer data you can use:
sw.solver.test_nets[0].blobs
If you are trying to execute "train.py", else you can use:
solver.test_nets[0].blobs

To print data you can use, for example:
solver.test_nets[0].blobs['labels'].data

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