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
Profile picture
ConvolutedSealion94
Moderator
17 Questions, 90 Answers
  Active since 10 January 2023
  Last activity one year ago

Reputation

0

Badges 1

89 × Eureka!
0 Votes
30 Answers
1K Views
0 Votes 30 Answers 1K Views
What happens if the Task.init doesn't happen in the same py file as the "data science" stuff I have a list of classes that do the coding and I initialise the...
2 years ago
0 Votes
4 Answers
1K Views
0 Votes 4 Answers 1K Views
2 years ago
0 Votes
12 Answers
993 Views
0 Votes 12 Answers 993 Views
I deployed a model with: clearml-serving \ --id 875de894b62144a7949e471532728809 \ model add \ --engine "xgboost" \ --endpoint "best_model" \ --preprocess "t...
2 years ago
0 Votes
4 Answers
995 Views
0 Votes 4 Answers 995 Views
How does the Preprocess class exactly work? I need to pass information to it but it's _ init _ function doesn't have any parameters. How can I load an artifa...
2 years ago
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K Views
(the payload is not the correct form, can that be a problem? I'd rather figure this out before I recreate the rather convoluted data structure that needs to ...
2 years ago
0 Votes
5 Answers
1K Views
0 Votes 5 Answers 1K Views
How do I think about tasks/task_name-s? Do I see right if I run the same task with the same name, it overwrites the previous run? Is it possible to fail if t...
2 years ago
0 Votes
0 Answers
495 Views
0 Votes 0 Answers 495 Views
2 years ago
0 Votes
30 Answers
1K Views
0 Votes 30 Answers 1K Views
2 years ago
0 Votes
0 Answers
1K Views
0 Votes 0 Answers 1K Views
https://github.com/allegroai/clearml/blob/master/examples/frameworks/xgboost/xgboost_metrics.py I ran this code and get these charts
2 years ago
0 Votes
2 Answers
947 Views
0 Votes 2 Answers 947 Views
2 years ago
0 Votes
0 Answers
1K Views
0 Votes 0 Answers 1K Views
Where does clearml pick up these metrics from the code? When I run the same code in a notebook I can't figure out how to extract these numbers from the train...
2 years ago
0 Votes
3 Answers
1K Views
0 Votes 3 Answers 1K Views
I saw that ClearML overrides the random number generator is it possible to control this behaviour?
2 years ago
0 Votes
1 Answers
1K Views
0 Votes 1 Answers 1K Views
Once I have a model successfully saved in ClearML, how can I instantiate it in a notebook? I have this for artifacts: def get_artifact(task_id, artifact_name...
2 years ago
0 Votes
3 Answers
1K Views
0 Votes 3 Answers 1K Views
I am completely stuck with the serving. I did the custom example. I see the endpoint in clearml-serving -id ... model list and it replies {"detail":"Error pr...
2 years ago
0 Votes
12 Answers
1K Views
0 Votes 12 Answers 1K Views
How can I remove a service with clearml-serving?
2 years ago
0 Votes
27 Answers
995 Views
0 Votes 27 Answers 995 Views
Hi, I am new to ClearML: When I run an experiment in a shell (having a single line of Task definition) I am getting this error: clearml.Repository Detection ...
2 years ago
0 Votes
0 Answers
985 Views
0 Votes 0 Answers 985 Views
Ok, but it must be somewhere in the bst class
2 years ago
0 How Can I Remove A Service With Clearml-Serving?

When you spin the model you can tell it any additional packages you might need

What does spin mean in this context?

clearml-serving ... ?

2 years ago
0 How Does The

clearml-serving needs a "Preprocess" class in a file that is added to the endpoint.

2 years ago
0 How Can I Remove A Service With Clearml-Serving?

and immediately complained about a package missing, which apparently I can't specify when I establish the model endpoint but I need to re compose the docker container by passing an env variable to it????

2 years ago
0 How Do I Think About Tasks/Task_Name-S? Do I See Right If I Run The Same Task With The Same Name, It Overwrites The Previous Run? Is It Possible To Fail If The Task Already Exists And Need

I would think having a unique slug is a good idea so the team can communicate purely be that single number. Maybe we will call tasks as slug_yyyymmdd

2 years ago
0 How Can I Remove A Service With Clearml-Serving?

these are the service instances (basically increased visibility into what's going on inside the serving containers

But these have: different task ids, same endpoints (from looking through the tabs)

So I am not sure why they are here and why not somewhere else

2 years ago
0 {"Detail":"Error Processing Request: Error: Failed Loading Preprocess Code For 'Py_Code_Best_Model': [Errno 2] No Such File Or Directory: '/Root/.Clearml/Cache/Storage_Manager/Global/Cd46Dd0091D71B5294Dc6870Ac6D17Dc..._Artifacts_Archive_Py_Code_Best_Model

because we already had these get_artifact(), get_model() functions that the DSes use to get the data into notebooks to further analyse their stuff, I might as well just use those with a custom preprocess and call the predict myself.

2 years ago
0 {"Detail":"Error Processing Request: Error: Failed Loading Preprocess Code For 'Py_Code_Best_Model': [Errno 2] No Such File Or Directory: '/Root/.Clearml/Cache/Storage_Manager/Global/Cd46Dd0091D71B5294Dc6870Ac6D17Dc..._Artifacts_Archive_Py_Code_Best_Model

And then get_model is what I wrote above, just uses the CML API to pick up the right model from the task_id and model_name and the model config contains the class name so get_model has an if/else structure in it to create the right class.

2 years ago
2 years ago
0 {"Detail":"Error Processing Request: Error: Failed Loading Preprocess Code For 'Py_Code_Best_Model': [Errno 2] No Such File Or Directory: '/Root/.Clearml/Cache/Storage_Manager/Global/Cd46Dd0091D71B5294Dc6870Ac6D17Dc..._Artifacts_Archive_Py_Code_Best_Model

Ok, but I need to think with the head of the DS, this way they only need to remember (and me only need to teach them where to find) one id.

I expect the task to be the main entry point for all their work, and the above interface is easy to remember, check etc etc. Also it is the same as getting artifacts so less friction.

` def get_task(task_id):
return Task.get_task(task_id)

def get_artifact(task_id, artifact_name):
task = Task.get_task(task_id)
return task.artifacts[artifact...

2 years ago
0 What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like

I solve the artifact,dataset,table,scalar anything by simply making foo.run()
return a dictionary like
{ 'artifact_X_train': X_train, 'table_confusion_matrix: cf, 'dataset_x': _ ... }And then call the appropriate logger or artifact uploader or dataset uploader. (In case the dataset uploader I use the foo.output_file which every foo has.

2 years ago
0 What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like

task = Task.init(...) for foo in foos: data = foo.run() for key,value in data.items(): if key in 'auc', 'f1', etc: logger.log(key, value) elif key.startswith('model'): savemodel etc

2 years ago
0 What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like

No, pickling is the only thing that will Not trigger clearml (it is just too generic to automagically log)

So what is the mechanism that you "automagically" pick things up (for information, I don't think this is relevant to our usecase)

2 years ago
0 How Do I Think About Tasks/Task_Name-S? Do I See Right If I Run The Same Task With The Same Name, It Overwrites The Previous Run? Is It Possible To Fail If The Task Already Exists And Need

Having human readable ids always help communication but programmatically we definitely going to use the "real" id. But I think we are too early into this and I will report back on how it is going with this.

2 years ago
0 What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like

What I try to do is that DSes have some lightweight baseclass that is independent of clearml they use and a framework have all the clearml specific code. This will allow them to experiment outside of clearml and only switch to it when they are in an OK state. This will also help not to pollute clearml spaces with half backed ideas

2 years ago
0 What Happens If The Task.Init Doesn'T Happen In The Same Py File As The "Data Science" Stuff I Have A List Of Classes That Do The Coding And I Initialise The Task Outside Of Them. Something Like

pickle.dump({ 'model': model, 'X_train': X_train, 'Y_train': Y_train, 'X_test': X_test, 'Y_test': Y_test, 'impute_values': impute_values }, open(self.output_filename, 'wb'))

2 years ago
Show more results compactanswers