How to log to one run (same id) from 2 different python code at the same time?

Hello,

I want to log different values from 2 different scripts but to a same run at the same time (not exactly same but concurrently both of the scripts will be running and logging values to the same run)
I want to know how to achieve that? Should I just give same id to both of the script’s wandb.init() ?
And also, do resume or reinit plays any part in it?
Currently both of those values are set to True for my runs.

Just to give some more context, mainly my train and evaluation are 2 different process, but I want to log the metrics to the same run.

it is answered to my github post

Thank you @dipta007 . Please feel free to reach out to us again if you need further assistance.

Best Regards,
Paulo