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
Answered
Hi All, I Have Deployed A Clearml Server On Linux Vm And I Am Having An Issue With Logging Plots. Specifically, A Plot Is Logged, But In The Ui It Does Not Load. The Developer Tools Provide The Following Error: “Failed To Load Resource: The Server Respon

Hi all,

I have deployed a ClearML server on Linux VM and I am having an issue with logging plots. Specifically, a plot is logged, but in the UI it does not load. The developer tools provide the following error:
“Failed to load resource: the server responded with a status of 401 (UNAUTHORIZED)”
I have checked the config file and it seems to be fine. Any ideas of what could be the issue?

  
  
Posted 3 months ago
Votes Newest

Answers 3


Hi BrightDog7 did you see this explanation?
None

  
  
Posted 3 months ago

All plots. This is how they’re logged:

from clearml import Task, Logger
import matplotlib.pyplot as plt
import numpy as np

# Initialize a ClearML task
task = Task.init(project_name="Demo Project", task_name="Plotting Example")

# Generate some dummy data
x = np.linspace(0, 10, 100)
y = np.sin(x)

# Create a plot
fig, ax = plt.subplots()
ax.plot(x, y, label='Sine Wave')
ax.set_title('Sine Wave Plot')
ax.set_xlabel('x')
ax.set_ylabel('sin(x)')
ax.legend()

# Use the logger to report the Matplotlib figure
logger = task.get_logger()
logger.report_matplotlib_figure(
    title='Sine Wave Plot',
    series='Sine Wave',
    figure=fig,
    iteration=0,
    report_interactive=False
)

# Optionally, show the plot
plt.show()
  
  
Posted 3 months ago

Hi BrightDog7 , do you have a code snippet that reproduces this? Is it for all plots or only specifics?

  
  
Posted 3 months ago