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
Hello Everyone, I’M Running Clearml Using Sagemaker And Its Strange I See No Plots Show Up When I Create A Matplotlib Plot After Initializing My Task, Wondering If Theres A Solution To This?

Hello everyone, I’m running ClearML using SageMaker and its strange i see no plots show up when i create a matplotlib plot after initializing my task, wondering if theres a solution to this?

  
  
Posted one year ago
Votes Newest

Answers 16


going to double check that rn

  
  
Posted one year ago

the task is stil running

  
  
Posted one year ago

Hi @<1523701717097517056:profile|ScantMoth28> , what version of ClearML are you using? Are you using a self hosted server or the community one?

  
  
Posted one year ago

@<1523701070390366208:profile|CostlyOstrich36> yes it indeed shows up when running it locally

  
  
Posted one year ago

^ it works if i do that and use the jupyter credentials from my work space settings.

  
  
Posted one year ago

The only difference that i notice is that when i run it locally the task is completed

  
  
Posted one year ago

%env CLEARML_WEB_HOST={-----}
%env CLEARML_API_HOST={-----}
%env CLEARML_FILES_HOST=undefined
%env CLEARML_API_ACCESS_KEY={-----}
%env CLEARML_API_SECRET_KEY={-----}

  
  
Posted one year ago

@<1523701070390366208:profile|CostlyOstrich36> maybe cause sagemaker is running in headless mode

  
  
Posted one year ago

And if you run the same code locally everything is reported correctly?

  
  
Posted one year ago

but none the less I’ll continue with this work around thanks!

  
  
Posted one year ago

import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
from clearml import Task

# Connecting ClearML with the current process,
# from here on everything is logged automatically
# Create a new task, disable automatic matplotlib connect
task = Task.init(project_name='Something', task_name='Something')

# Create plot and explicitly report as figure
N = 50
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = (30 * np.random.rand(N))**2  # 0 to 15 point radii
plt.scatter(x, y, s=area, c=colors, alpha=0.5)
plt.show()
  
  
Posted one year ago

although i wish it would use the credentials in my clearml.conf file automatically

  
  
Posted one year ago

^ self hosted @<1523701070390366208:profile|CostlyOstrich36>

  
  
Posted one year ago

still*

  
  
Posted one year ago

and when i’m running it in sagemaker

  
  
Posted one year ago

Name: clearml
Version: 1.9.1
  
  
Posted one year ago
1K Views
16 Answers
one year ago
one year ago
Tags