Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Hi Everyone! I'M Trying To Upload Roc Figure From Matplotlib To Clearml. Unfortunately Clearml Adds Invalid Legend Item To The Plot As You Can See On The Attached Image. Is There Any Way To Hide This Junk?

Hi everyone! I'm trying to upload ROC figure from matplotlib to ClearML. Unfortunately ClearML adds invalid legend item to the plot as you can see on the attached image. Is there any way to hide this junk?

Posted one year ago
Votes Newest

Answers 5

Hmm I see your point.
Any chance you can open a github issue with a small code snippet to make sure we can reproduce and fix it?

Posted one year ago

Hi SpicyOtter88 , how are you adding the plots?

Posted one year ago

Below is the figure which I can get if just call plt.savefig('figure.png') . And I expect the similar behavior from ClearML. As you can see there is no any legend for red line. It looks like a framework limitation if user must set legend caption for each series plot. Sure there is a workaround and we can save all figures as images but in this case we can't easily compare our series.

Posted one year ago

Here is a source code example:
` plt.plot(val_fpr, val_tpr, 'b', label='Val AUC = %0.2f' % val_roc_auc)
plt.plot(test_fpr, test_tpr, 'g', label='Test AUC = %0.2f' % test_roc_auc)
plt.legend(loc='lower right')
plt.plot([0, 1], [0, 1], 'r--', label='')
plt.xlim([0, 1])
plt.ylim([0, 1])
plt.ylabel('True Positive Rate')
plt.xlabel('False Positive Rate')

task_logger.report_matplotlib_figure("Model ROC", "Validation/Test ROC AUC curve", figure=plt) `

Posted one year ago

Hi SpicyOtter88
plt.plot([0, 1], [0, 1], 'r--', label='')ti cannot have a legend without a label, so it gives it "anonymous" label, I think it should just get "unlabeled 0" wdyt?

Posted one year ago
5 Answers
one year ago
one year ago