so , it will create a task when i will run it first time
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
each subprocess logs one experiment as task
and it should log it into the same task and same project
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()
Hi AgitatedDove14 , I wanted to ask you something. Is it possible that we can talk over voice somewhere so that I can explain my problem better?
Are you using tensorboard or do you want to log directly to trains ?
but what is happening is it is creating new task under same project with same task name
so I want loss should be my main title and I want two different graphs of train and test loss under that loss
then my combined function create a sub task using Task.create(task_name=exp_name)
i mean all 100 experiments in one project
and that function creates Task and log them
See on line 212 I am calling one function "combined" with some arguments
I will share my script u can see it what I am doing
AgitatedDove14 I want to log directly to trains using logger.report_scalar
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"
No. since you are using Pool. there is no need to call task init again. Just call it once before you create the Pool, then when you want to use it, just do task = Task.current_task()
so, like if validation loss appears then there will be three sub-tags under one main tag loss
okay, Thanks AgitatedDove14 for the help.
like if u see in above image my project name is abcd18 and under that there are experiments Experiment1, Experiment2 etc.
In the side bar you get the title of the graphs, then when you click on them you can see the diff series on the graphs themselves