If you one each "main" process as a single experiment, just don't call Task.init in the scheduler
See on line 212 I am calling one function "combined" with some arguments
Hi @<1523701205467926528:profile|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?
but what is happening is it is creating new task under same project with same task name
Sure @<1523720500038078464:profile|MotionlessSeagull22> DM me 🙂
I have 100 experiments and I have to log them and update those experiments every 5 minutes
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.
no i want all of them in the same experiment
and it should log it into the same task and same project
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.
I will share my script u can see it what I am doing
@<1523701205467926528:profile|AgitatedDove14> I want to log directly to trains using logger.report_scalar
logger.report_scalar("loss", "train", iteration=0, value=100)
logger.report_scalar("loss", "test", iteration=0, value=200)
Are you using tensorboard or do you want to log directly to trains ?
Like here in the sidebar I am getting three different plots named as loss, train_loss and test_loss
So you want these two on two different graphs ?
so, like if validation loss appears then there will be three sub-tags under one main tag loss
and under that there will be three graphs with title as train test and loss
so, if I call Task.init() before that line there is no need of calling Task.init() on line number 92
I have to create a main task for example named as main
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"
but this gives the results in the same graph
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
so I want loss should be my main title and I want two different graphs of train and test loss under that loss
You can always click on the name of the series and remove it for display.
Why would you need three graphs?