在 tensorflow 对象检测管道配置文件中添加注释

Adding comments inside tensorflow object detection pipeline configuration file

如何在 tensorflow object detection API 的管道配置文件(通常命名为 pipeline.conf)中添加注释?

corresponding official documentation 没有提到任何方法。

只需使用 # comment here 即可。 请记住 pipeline.config 被写入 model_dir。所以,如果和你的pipeline.config在同一个目录,就会被覆盖,评论也会被删除。您可以通过以不同方式命名您使用的 pipeline.config 文件来简单地避免这种情况。