Reputation
Badges 1
4 × Eureka!In addition, when I report a histogram with many bins (for example, 60) i get the same result of thin bars:
Seems like a problem with the configurations of the UI plots in general
Hi @<1523701070390366208:profile|CostlyOstrich36> ,
Here is the snippet and the original histogram:
for metric in evaluator.metrics:
print(f"reporting plots for metric {metric}")
task.logger.report_single_value("avg_" + metric, float(results[metric].mean()))
plt.figure()
plt.hist(results[metric].dropna(), bins=25)
fig = plt.gcf()
task.logger.report_matplotlib_figure(metric, metric, fig)
![image](https://cle...
@<1523701070390366208:profile|CostlyOstrich36> None
The report_histogram function doesn't make any sense in clearml. The expected values are the heights of the bars. (it assumes that you've already calculated the histogram).
I think that they should rename it to "report_bar" or something like that, and "report_histogram" will calculate the histogram for you (same as matplotlib's plt.hist function. @<1574207105437536256:profile|HungryCat90>
anyway, for histogram I'm using lines plots instead, it is the only way you can compare later on with...
That is more relevant for "clearml-web", right?