Now I need to figure out how to export that task id
You can always look it up 🙂
How come you do not have it?
You're not missing anything, I'm just super novice at trains 🙂 thank you
No worries 🙂
Is this what you were looking for ?
This is an entirely automated process, I'm just getting familiar with the APIs here, so one process needs to write the task id to a file and the next needs to read it--I am looking through the docs on how to obtain the task id
if you have an automation process, then you should have the Task object, no?
then you have task.id
What am I missing here?
Hi BroadMole98
A bit hacky but doable 🙂task = Task.get_task(task_id='aabbcc') task.get_logger().report_scalar(...)
task = Task.get_task(project_name='project', task_name='best_model_ever')
Okay, I was hoping it would be something easy like that! Now I need to figure out how to export that task id
Great!
BTW: you can take some inspiration from here:
https://github.com/allegroai/trains/blob/master/examples/automation/task_piping_example.py
Or from the full pipeline:
https://github.com/allegroai/trains/blob/master/examples/pipeline/pipeline_controller.py