Reputation
Badges 1
23 × Eureka!the data is private..we are taking it privately
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'>
i mean something like:
https://github.com/mikedh/trimesh/issues/526
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
ValueError: Task object can only be updated if created or in_progress
so if i load task and not init it..so it is not the main one?
should OMPI_COMM_WORLD_NODE_RANK be number or can be some guid?
how can I pass to task_init the task_id? should it also be in some env?
so how can i make it run with the "auto magic"
hhhhmm..then i can not get master task params
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.
each consumer in different container