简体   繁体   English

如何配置comet(comet.ml)来记录Tensorflow?

[英]How to configure comet (comet.ml) to log Tensorflow?

Im trying to set comet ( https://www.comet.ml ) to track my Tensorflow experiment, after I create an Experiment and log the data set i dont get the accuracy in my report. 我试图设置彗星( https://www.comet.ml )跟踪我的Tensorflow实验,在我创建实验并记录数据集后,我的报告中没有得到准确性。

my code: 我的代码:

mnist = get_data()
train_step, cross_entropy, accuracy, x, y, y_ = build_model_graph(hyper_params)

experiment = Experiment(api_key="XXXX", log_code=True)
experiment.log_multiple_params(hyper_params)
experiment.log_dataset_hash(mnist)

in the example account : https://www.comet.ml/view/Jon-Snow I see that accuracy is reported 在示例帐户中: https//www.comet.ml/view/Jon-Snow我看到报告的准确性

you can report accuracy using this method: 您可以使用此方法报告准确性:

  • experiment.log_accuracy(train_accuracy)

take a look at the full Tensorflow example in our guide: 看一下我们指南中的完整Tensorflow示例:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM