我找不到如何在 prototxt 文件中编写注释的方法。

有什么方法可以在prototxt文件中添加注释,怎么办?

谢谢

最佳答案

您可以通过添加# char:来发表评论:此行之后的所有内容均为评论:

layer {
  name: "aLayerWithComments" # I picked this cool name by myself
  type: "ReLU"
  bottom: "someData" # this is the output of the layer below
  top: "someData" # same name means this is an "in-place" layer
}
# and now you can comment the entire line...

关于neural-network - 如何在prototxt文件中写注释?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37418370/

10-12 17:08