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()
Can my request be made as new feature so that we can tag same type of graphs under one main tag
Sure @<1523720500038078464:profile|MotionlessSeagull22> DM me 🙂
main will initialize parent task and then my multiprocessing occurs which call combined function with parameters as project_name and exp_name
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
I have to create a main task for example named as main
Just so I understand,
scheduler executes main every 60sec
main spins X sub-processes
Each subprocess needs to report scalars ?
logger.report_scalar(title="loss", series="train", iteration=0, value=100)
logger.report_scalar(title="loss", series="test", iteration=0, value=200)
so I want loss should be my main title and I want two different graphs of train and test loss under that loss
@<1523701205467926528:profile|AgitatedDove14> I want to log directly to trains using logger.report_scalar
so, if I call Task.init() before that line there is no need of calling Task.init() on line number 92
@<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.
and under that there will be three graphs with title as train test and loss
logger.report_scalar("loss", "train", iteration=0, value=100)
logger.report_scalar("loss", "test", iteration=0, value=200)
You can always click on the name of the series and remove it for display.
Why would you need three graphs?
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"
This code gives me the graph that I displayed above
then my combined function create a sub task using Task.create(task_name=exp_name)
I will share my script u can see it what I am doing
Are you using tensorboard or do you want to log directly to trains ?
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
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 ?