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

@<1523701205467926528:profile|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 3 years ago
Votes Newest

Answers 68


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

  
  
Posted 3 years ago

and it should log it into the same task and same project

  
  
Posted 3 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 3 years ago

no i want all of them in the same experiment

  
  
Posted 3 years ago

logger.report_scalar("loss-train", "train", iteration=0, value=100)
logger.report_scalar("loss=test", "test", iteration=0, value=200)
notice that the title of the graph is its uniue id, so if you send scalars to with the same "title" they will show on the same graph

  
  
Posted 3 years ago

Sure @<1523720500038078464:profile|MotionlessSeagull22> DM me 🙂

  
  
Posted 3 years ago

Are you using tensorboard or do you want to log directly to trains ?

  
  
Posted 3 years ago

like in the sidebar there should be a title called "loss" and under that two different plots should be there named as "train_loss" and "test_loss"

  
  
Posted 3 years ago

so I want loss should be my main title and I want two different graphs of train and test loss under that loss

  
  
Posted 3 years ago

@<1523701205467926528:profile|AgitatedDove14> I want to log directly to trains using logger.report_scalar

  
  
Posted 3 years ago

logger.report_scalar("loss", "train", iteration=0, value=100)
logger.report_scalar("loss", "test", iteration=0, value=200)

  
  
Posted 3 years ago

but this gives the results in the same graph

  
  
Posted 3 years ago

make sense ?

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago

@<1523720500038078464:profile|MotionlessSeagull22> you cannot have two graphs with the same title, the left side panel presents graph titles. That means that you cannot have a title=loss series=train & title=loss series=test on two diff graphs, they will always be displayed on the same graph.
That said, when comparing experiments, all graph pairs (i.e. title+series) will be displayed as a single graph, where the diff series are the experiments.

  
  
Posted 3 years ago

def combined(path,exp_name,project_name):
temp = Task.create(task_name="exp_name")

logger = temp.current_logger()
logger.report_scalar()

def main():
task=Task.init(project_name="test")
[pool.apply_async(combined, args = (row['Path'], row['exp_name'], row['project_name'])) for index,row in temp_df.iterrows()]

scheduler = BlockingScheduler()
scheduler.add_job(main, 'interval', seconds=60, max_instances=3)
scheduler.start()

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

So you want these two on two different graphs ?

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago

"validate

  
  
Posted 3 years ago

yes But i want two graphs with title as train loss and test loss and they should be under main category "loss"

  
  
Posted 3 years ago

its like main title will be loss

  
  
Posted 3 years ago

Is this u meant?

  
  
Posted 3 years ago

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

  
  
Posted 3 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 3 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 3 years ago

and that function creates Task and log them

  
  
Posted 3 years ago

I have one more question?

  
  
Posted 3 years ago

then my combined function create a sub task using Task.create(task_name=exp_name)

  
  
Posted 3 years ago

Before this line, call Task.init

  
  
Posted 3 years ago
3K Views
68 Answers
3 years ago
one month ago
Tags