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
, This Is A Great Tool For Visualizing All Your Experiments. I Wanted To Know That When I Am Logging Scalar Plots With Title As Train Loss And Test Loss They Are Getting Diplayed As Train Loss And Test Loss In The Scalar Tab. I Wanted That The Title Shoul

AgitatedDove14 , this is a great tool for visualizing all your experiments. I wanted to know that when I am logging scalar plots with title as train loss and test loss they are getting diplayed as train loss and test loss in the scalar tab.
I wanted that the title should be loss and under that I should get these two differnet graphs train loss and test loss. Is this possible?
image

  
  
Posted 4 years ago
Votes Newest

Answers 68


If you one each "main" process as a single experiment, just don't call Task.init in the scheduler

  
  
Posted 4 years ago

Create one experiment (I guess in the scheduler)
task = Task.init('test', 'one big experiment')
Then make sure the the scheduler creates the "main" process as subprocess, basically the default behavior)
Then the sub process can call Task.init and it will get the scheduler Task (i.e. it will not create a new task). Just make sure they all call Task init with the same task name and the same project name.

  
  
Posted 4 years ago

but this gives the results in the same graph

  
  
Posted 4 years ago

so what I have done is rather than reading sequentially I am reading those experiments through multiprocessing and for each experiment I am creating new task with specified project_name and task_name

  
  
Posted 4 years ago

so, if I call Task.init() before that line there is no need of calling Task.init() on line number 92

  
  
Posted 4 years ago

Before this line, call Task.init

  
  
Posted 4 years ago

then if there are 10 experiments then I have to call Task.create() for those 10 experiments

  
  
Posted 4 years ago

Just so I understand,
scheduler executes main every 60sec
main spins X sub-processes
Each subprocess needs to report scalars ?

  
  
Posted 4 years ago

This code gives me the graph that I displayed above

  
  
Posted 4 years ago

I have 100 experiments and I have to log them and update those experiments every 5 minutes

  
  
Posted 4 years ago

no i want all of them in the same experiment

  
  
Posted 4 years ago

This code will give you one graph titled "loss" with two series: (1) trains (2) loss

  
  
Posted 4 years ago

main will initialize parent task and then my multiprocessing occurs which call combined function with parameters as project_name and exp_name

  
  
Posted 4 years ago

You can do:
task = Task.get_task(task_id='uuid_of_experiment')
task.get_logger().report_scalar(...)

Now the only question is who will create the initial Task, so that the others can report to it. Do you have like a "master" process ?

  
  
Posted 4 years ago

It will not create another 100 tasks, they will all use the main Task. Think of it as they "inherit" it from the main process. If the main process never created a task (i.e. no call to Tasl.init) then they will create their own tasks (i.e. each one will create its own task and you will end up with 100 tasks)

  
  
Posted 4 years ago

Like here in the sidebar I am getting three different plots named as loss, train_loss and test_loss

  
  
Posted 4 years ago

I have one more question?

  
  
Posted 4 years ago

then if there are 100 experiments how it will create 100 tasks?

  
  
Posted 4 years ago

I have to create a main task for example named as main

  
  
Posted 4 years ago

Sure

  
  
Posted 4 years ago

make sense ?

  
  
Posted 4 years ago

Can my request be made as new feature so that we can tag same type of graphs under one main tag

Sure, open a Git Issue :)

  
  
Posted 4 years ago

and under that there will be three graphs with title as train test and loss

  
  
Posted 4 years ago

So you want these two on two different graphs ?

  
  
Posted 4 years ago

Can my request be made as new feature so that we can tag same type of graphs under one main tag

  
  
Posted 4 years ago

image

  
  
Posted 4 years ago

And you want all of them to log into the same experiment ? or do you want an experiment per 60sec (i.e. like the scheduler)

  
  
Posted 4 years ago

now after 1st iteration is completed then after 5 minutes my script runs automatically and then again it logs into trains server

  
  
Posted 4 years ago

Just call the Task.init before you create the subprocess, that's it 🙂 they will all automatically log to the same Task. You can also call the Task.init again from within the subprocess task, it will not create a new experiment but use the main process experiment.

  
  
Posted 4 years ago

my scheduler will be running every 60 seconds and calling main function

  
  
Posted 4 years ago
80K Views
68 Answers
4 years ago
one year ago
Tags