-
Notifications
You must be signed in to change notification settings - Fork 28
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
修改features.34 #42
Comments
你想要修改成features.54,是因为论文中提到的VGG5,4么?features.34其实表示的就是VGG5,4. 从打印出来的结构看到,vgg19features模块组成.我们想要的特征输出是在feature模块下的节点为34特征输出,可以看到features模块下,索引为34的位置对应的为Conv2d 节点.它对应为第五个最大池化前的第四个卷积层的输出。 |
请问应该如何修改features.34为features.54呢?直接修改配置文件会报错。
ValueError: node: 'features.54' is not present in model. Hint: use
get_graph_node_names
to make sure thereturn_nodes
you specified are present. It may even be that you need to specifytrain_return_nodes
andeval_return_nodes
separately.The text was updated successfully, but these errors were encountered: