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 Guys, I Hope This Isn'T A Super Dumb Question But... How Do I Unpublish An Experiment? I Tried To Archive It And Then Restore It, But No Luck.

Hi guys, I hope this isn't a super dumb question but... how do I unpublish an experiment? I tried to archive it and then restore it, but no luck.

  
  
Posted 3 years ago
Votes Newest

Answers 7


CostlyOstrich36 You're definitely not stupid! Thanks for all your help around here !!

  
  
Posted 3 years ago

and I think stopped state allows me to keep my artifacts!

  
  
Posted 3 years ago

CluelessElephant89 you're absolutely right! Now I feel stupid for not thinking about it ^^

  
  
Posted 3 years ago

CostlyOstrich36 okay gotcha, actually, I found a workaround! I just use a_task.mark_stopped(force=True) or even
a_task.mark_started(force=True) works too!

  
  
Posted 3 years ago

CluelessElephant89 , well that looks like a bug

I'll sort it out on our end 🙂

You could try using the API reference:
https://clear.ml/docs/latest/docs/references/api/tasks#post-tasksreset

Already tested that it works. However please notice that it will reset the task removing ALL outputs

  
  
Posted 3 years ago

CluelessElephant89 , Hi 🙂

An experiment cannot be 'unpublished' through the UI since it's a 'finalizing' action that the UI also gives a popup regarding. I think you can reset the task with Task.reset(force=True) through the SDK. This however will remove all logs/metrics.

https://clear.ml/docs/latest/docs/references/sdk/task#reset

What is the reason you would like to 'un-publish' and what would you want the new state to be, completed?

  
  
Posted 3 years ago

CostlyOstrich36 Oh, im just thinking if it was super late at night and I'm at near 0% brain power and accidentally published the wrong experiment (even though maybe I told myself not to publish until I'm not so tired) haha. It would be nice to undo it without having to delete it completely.

And just curious, I tried out the reset code, but I get an error.

Here's my code:

from clearml import Task a_task = Task.get_task(task_id='7dae94daf28144b09011e0582bcd130e') a_task.reset(force=True)
Error output:

clearml.backend_interface.session.SendError: Action failed <400/110: tasks.reset/v1.0 (Invalid task status: task_id=7dae94daf28144b09011e0582bcd130e, status=published)> (force=False, clear_all=False, task=7dae94daf28144b09011e0582bcd130e)

  
  
Posted 3 years ago
984 Views
7 Answers
3 years ago
one year ago
Tags