![Profile picture](https://clearml-web-assets.s3.amazonaws.com/scoold/avatars/FranticCormorant35.png)
Reputation
Badges 1
23 × Eureka!the data is private..we are taking it privately
should OMPI_COMM_WORLD_NODE_RANK be number or can be some guid?
i mean something like:
https://github.com/mikedh/trimesh/issues/526
each consumer in different container
os.environ['TRAINS_PROC_MASTER_ID'] = args.trains_id os.environ['OMPI_COMM_WORLD_NODE_RANK'] = str(randint(0, sys.maxsize)) trains_task = trains.Task.init(project_name=f'{ALG_NAME}-inference', task_name='inference') print(type(trains_task))
<class 'trains.task.Task.init.<locals>._TaskStub'>
ValueError: Task object can only be updated if created or in_progress
how can I pass to task_init the task_id? should it also be in some env?
hhhhmm..then i can not get master task params
args = parser.parse_args() os.environ['TRAINS_PROC_MASTER_ID'] = f"1:{args.trains_id}" os.environ['OMPI_COMM_WORLD_NODE_RANK'] = str(randint(0, sys.maxsize)) trains_task = trains.Task.init(project_name=f'{ALG_NAME}-inference', task_name='inference')
failes on init
Ok, so it is master node and not consumer producer pattern..
so if i plot image with matplot lib..it would not upload? i need use the logger.
so if i load task and not init it..so it is not the main one?
so how can i make it run with the "auto magic"