python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 3382174 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['3594396'] with mtr_portfolio_ids : ['26218840'] and first list_photo_ids : [] new path : /proc/3382174/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 23 ; length of list_pids : 23 ; length of list_args : 23 time to download the photos : 3.3744261264801025 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Aug 26 00:30:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10386 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-26 00:30:34.567319: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-26 00:30:34.592560: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-26 00:30:34.594458: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f96f4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-26 00:30:34.594499: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-26 00:30:34.598587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-26 00:30:34.776877: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x337cc6c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-26 00:30:34.776955: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-26 00:30:34.778324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-26 00:30:34.778884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 00:30:34.782576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 00:30:34.786427: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 00:30:34.786973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 00:30:34.790746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 00:30:34.792787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 00:30:34.799912: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 00:30:34.801922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 00:30:34.802073: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 00:30:34.803079: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-26 00:30:34.803100: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-26 00:30:34.803114: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-26 00:30:34.804868: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-26 00:30:35.176081: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-26 00:30:35.176170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 00:30:35.176190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 00:30:35.176210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 00:30:35.176229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 00:30:35.176249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 00:30:35.176271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 00:30:35.176292: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 00:30:35.177657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 00:30:35.179033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-26 00:30:35.179072: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-26 00:30:35.179088: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 00:30:35.179107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-26 00:30:35.179136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-26 00:30:35.179160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-26 00:30:35.179181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-26 00:30:35.179200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-26 00:30:35.180609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-26 00:30:35.180649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-26 00:30:35.180661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-26 00:30:35.180671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-26 00:30:35.182095: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-26 00:30:44.408324: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-26 00:30:44.613064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 23 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 5.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3382866 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 127 tf kernel not reseted sub process len(results) : 23 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 23 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5416 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0005795955657958984 nb_pixel_total : 19214 time to create 1 rle with old method : 0.024691343307495117 length of segment : 119 time for calcul the mask position with numpy : 0.0003161430358886719 nb_pixel_total : 9050 time to create 1 rle with old method : 0.01035308837890625 length of segment : 126 time for calcul the mask position with numpy : 0.00030422210693359375 nb_pixel_total : 11837 time to create 1 rle with old method : 0.013764142990112305 length of segment : 150 time for calcul the mask position with numpy : 0.0022735595703125 nb_pixel_total : 91112 time to create 1 rle with old method : 0.10179734230041504 length of segment : 507 time for calcul the mask position with numpy : 0.0006024837493896484 nb_pixel_total : 21251 time to create 1 rle with old method : 0.024329185485839844 length of segment : 203 time for calcul the mask position with numpy : 0.016909360885620117 nb_pixel_total : 628128 time to create 1 rle with new method : 0.1429750919342041 length of segment : 851 time for calcul the mask position with numpy : 0.0007424354553222656 nb_pixel_total : 33470 time to create 1 rle with old method : 0.03798246383666992 length of segment : 296 time for calcul the mask position with numpy : 0.0005090236663818359 nb_pixel_total : 9777 time to create 1 rle with old method : 0.011631488800048828 length of segment : 215 time for calcul the mask position with numpy : 0.0004668235778808594 nb_pixel_total : 15964 time to create 1 rle with old method : 0.01825714111328125 length of segment : 182 time for calcul the mask position with numpy : 0.014052629470825195 nb_pixel_total : 773588 time to create 1 rle with new method : 0.02783656120300293 length of segment : 1000 time for calcul the mask position with numpy : 0.0021543502807617188 nb_pixel_total : 107857 time to create 1 rle with old method : 0.11823129653930664 length of segment : 515 time for calcul the mask position with numpy : 0.0002884864807128906 nb_pixel_total : 9580 time to create 1 rle with old method : 0.011278152465820312 length of segment : 73 time for calcul the mask position with numpy : 0.00011038780212402344 nb_pixel_total : 1845 time to create 1 rle with old method : 0.0023593902587890625 length of segment : 36 time for calcul the mask position with numpy : 0.0021774768829345703 nb_pixel_total : 107781 time to create 1 rle with old method : 0.12261319160461426 length of segment : 508 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 11774 time to create 1 rle with old method : 0.013484477996826172 length of segment : 191 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 7447 time to create 1 rle with old method : 0.009036540985107422 length of segment : 84 time for calcul the mask position with numpy : 0.164717435836792 nb_pixel_total : 1209304 time to create 1 rle with new method : 0.07171154022216797 length of segment : 1543 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 3716 time to create 1 rle with old method : 0.004381418228149414 length of segment : 75 time for calcul the mask position with numpy : 0.01959705352783203 nb_pixel_total : 1527011 time to create 1 rle with new method : 0.08526444435119629 length of segment : 1331 time for calcul the mask position with numpy : 0.0019001960754394531 nb_pixel_total : 113621 time to create 1 rle with old method : 0.13249850273132324 length of segment : 565 time for calcul the mask position with numpy : 0.0004775524139404297 nb_pixel_total : 11034 time to create 1 rle with old method : 0.012601375579833984 length of segment : 178 time for calcul the mask position with numpy : 0.012957572937011719 nb_pixel_total : 722946 time to create 1 rle with new method : 0.047745704650878906 length of segment : 954 time for calcul the mask position with numpy : 0.0005173683166503906 nb_pixel_total : 11730 time to create 1 rle with old method : 0.013463258743286133 length of segment : 182 time for calcul the mask position with numpy : 0.01263427734375 nb_pixel_total : 783477 time to create 1 rle with new method : 0.15652060508728027 length of segment : 995 time for calcul the mask position with numpy : 0.002721071243286133 nb_pixel_total : 116877 time to create 1 rle with old method : 0.13329076766967773 length of segment : 553 time for calcul the mask position with numpy : 0.00042557716369628906 nb_pixel_total : 16068 time to create 1 rle with old method : 0.01869797706604004 length of segment : 176 time for calcul the mask position with numpy : 0.08468914031982422 nb_pixel_total : 1107060 time to create 1 rle with new method : 0.06442856788635254 length of segment : 1577 time for calcul the mask position with numpy : 0.00045371055603027344 nb_pixel_total : 14444 time to create 1 rle with old method : 0.016420841217041016 length of segment : 166 time for calcul the mask position with numpy : 0.00036025047302246094 nb_pixel_total : 10626 time to create 1 rle with old method : 0.012716293334960938 length of segment : 137 time for calcul the mask position with numpy : 0.000453948974609375 nb_pixel_total : 11068 time to create 1 rle with old method : 0.012629985809326172 length of segment : 170 time for calcul the mask position with numpy : 0.010380744934082031 nb_pixel_total : 722229 time to create 1 rle with new method : 0.2114250659942627 length of segment : 921 time for calcul the mask position with numpy : 0.002104520797729492 nb_pixel_total : 82665 time to create 1 rle with old method : 0.09110236167907715 length of segment : 456 time for calcul the mask position with numpy : 0.0003345012664794922 nb_pixel_total : 11118 time to create 1 rle with old method : 0.013209104537963867 length of segment : 88 time for calcul the mask position with numpy : 0.014709949493408203 nb_pixel_total : 942285 time to create 1 rle with new method : 0.048491477966308594 length of segment : 1426 time for calcul the mask position with numpy : 0.0001628398895263672 nb_pixel_total : 6021 time to create 1 rle with old method : 0.007080793380737305 length of segment : 104 time for calcul the mask position with numpy : 0.0022106170654296875 nb_pixel_total : 111692 time to create 1 rle with old method : 0.1251814365386963 length of segment : 514 time for calcul the mask position with numpy : 0.06740093231201172 nb_pixel_total : 1432510 time to create 1 rle with new method : 0.06287097930908203 length of segment : 1176 time for calcul the mask position with numpy : 0.0027701854705810547 nb_pixel_total : 116909 time to create 1 rle with old method : 0.13004350662231445 length of segment : 560 time for calcul the mask position with numpy : 0.0002853870391845703 nb_pixel_total : 4420 time to create 1 rle with old method : 0.005283832550048828 length of segment : 66 time for calcul the mask position with numpy : 0.02516007423400879 nb_pixel_total : 1249542 time to create 1 rle with new method : 0.07105255126953125 length of segment : 1589 time for calcul the mask position with numpy : 0.000537872314453125 nb_pixel_total : 28028 time to create 1 rle with old method : 0.0319821834564209 length of segment : 140 time for calcul the mask position with numpy : 0.0026693344116210938 nb_pixel_total : 110248 time to create 1 rle with old method : 0.12580418586730957 length of segment : 524 time for calcul the mask position with numpy : 0.18839311599731445 nb_pixel_total : 1451423 time to create 1 rle with new method : 0.0904090404510498 length of segment : 1373 time for calcul the mask position with numpy : 0.0006411075592041016 nb_pixel_total : 11596 time to create 1 rle with old method : 0.016808271408081055 length of segment : 168 time for calcul the mask position with numpy : 0.0178220272064209 nb_pixel_total : 744553 time to create 1 rle with new method : 0.2689182758331299 length of segment : 962 time for calcul the mask position with numpy : 0.00039267539978027344 nb_pixel_total : 9334 time to create 1 rle with old method : 0.010845184326171875 length of segment : 132 time for calcul the mask position with numpy : 0.003634214401245117 nb_pixel_total : 133685 time to create 1 rle with old method : 0.15044808387756348 length of segment : 675 time for calcul the mask position with numpy : 0.0001971721649169922 nb_pixel_total : 4715 time to create 1 rle with old method : 0.005563974380493164 length of segment : 61 time spent for convertir_results : 7.623876333236694 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 48 chid ids of type : 3594 Number RLEs to save : 24593 save missing photos in datou_result : time spend for datou_step_exec : 34.82784080505371 time spend to save output : 1.9297597408294678 total time spend for step 1 : 36.75760054588318 step2:crop_condition Tue Aug 26 00:31:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 23 ! batch 1 Loaded 48 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756161069_3382174 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6626241207122803 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756161075_3382174 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9734616279602051 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 37 About to insert : list_path_to_insert length 37 new photo from crops ! About to upload 37 photos upload in portfolio : 3736932 init cache_photo without model_param we have 37 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756161131_3382174 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 37 photos in the portfolio 3736932 time of upload the photos Elapsed time : 10.27773118019104 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 48 /1379348115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379348221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 167 time used for this insertion : 0.5614988803863525 save_final save missing photos in datou_result : time spend for datou_step_exec : 73.28956174850464 time spend to save output : 0.56378173828125 total time spend for step 2 : 73.85334348678589 step3:rle_unique_nms_with_priority Tue Aug 26 00:32:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 48 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5932371616363525 time for calcul the mask position with numpy : 0.20739459991455078 nb_pixel_total : 1942387 time to create 1 rle with new method : 0.2961311340332031 time for calcul the mask position with numpy : 0.007587909698486328 nb_pixel_total : 91112 time to create 1 rle with old method : 0.12440228462219238 time for calcul the mask position with numpy : 0.006984233856201172 nb_pixel_total : 11837 time to create 1 rle with old method : 0.013190507888793945 time for calcul the mask position with numpy : 0.006321907043457031 nb_pixel_total : 9050 time to create 1 rle with old method : 0.010576009750366211 time for calcul the mask position with numpy : 0.006850719451904297 nb_pixel_total : 19214 time to create 1 rle with old method : 0.02152538299560547 create new chi : 0.7112383842468262 time to delete rle : 0.03321719169616699 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2884 TO DO : save crop sub photo not yet done ! save time : 0.43445396423339844 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05818653106689453 time for calcul the mask position with numpy : 0.01698470115661621 nb_pixel_total : 1424221 time to create 1 rle with new method : 0.0838003158569336 time for calcul the mask position with numpy : 0.011014223098754883 nb_pixel_total : 628128 time to create 1 rle with new method : 0.02953314781188965 time for calcul the mask position with numpy : 0.006354093551635742 nb_pixel_total : 21251 time to create 1 rle with old method : 0.023878097534179688 create new chi : 0.1720435619354248 time to delete rle : 0.0005061626434326172 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3188 TO DO : save crop sub photo not yet done ! save time : 0.3106255531311035 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.11457324028015137 time for calcul the mask position with numpy : 0.1492002010345459 nb_pixel_total : 1262744 time to create 1 rle with new method : 0.9807877540588379 time for calcul the mask position with numpy : 0.01723313331604004 nb_pixel_total : 751645 time to create 1 rle with new method : 0.08407998085021973 time for calcul the mask position with numpy : 0.0064716339111328125 nb_pixel_total : 15964 time to create 1 rle with old method : 0.017966508865356445 time for calcul the mask position with numpy : 0.006676435470581055 nb_pixel_total : 9777 time to create 1 rle with old method : 0.013478279113769531 time for calcul the mask position with numpy : 0.007758378982543945 nb_pixel_total : 33470 time to create 1 rle with old method : 0.047591447830200195 create new chi : 1.3440067768096924 time to delete rle : 0.0008943080902099609 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 4258 TO DO : save crop sub photo not yet done ! save time : 0.3031132221221924 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.051195383071899414 time for calcul the mask position with numpy : 0.020571231842041016 nb_pixel_total : 1954318 time to create 1 rle with new method : 0.10016417503356934 time for calcul the mask position with numpy : 0.006226301193237305 nb_pixel_total : 1845 time to create 1 rle with old method : 0.0021295547485351562 time for calcul the mask position with numpy : 0.0063097476959228516 nb_pixel_total : 9580 time to create 1 rle with old method : 0.010823488235473633 time for calcul the mask position with numpy : 0.006688117980957031 nb_pixel_total : 107857 time to create 1 rle with old method : 0.1194770336151123 create new chi : 0.2810521125793457 time to delete rle : 0.00037741661071777344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2328 TO DO : save crop sub photo not yet done ! save time : 0.2557966709136963 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06602811813354492 time for calcul the mask position with numpy : 0.011487007141113281 nb_pixel_total : 737294 time to create 1 rle with new method : 0.08621811866760254 time for calcul the mask position with numpy : 0.08133554458618164 nb_pixel_total : 1209304 time to create 1 rle with new method : 0.09468841552734375 time for calcul the mask position with numpy : 0.006520748138427734 nb_pixel_total : 7447 time to create 1 rle with old method : 0.008402585983276367 time for calcul the mask position with numpy : 0.006303071975708008 nb_pixel_total : 11774 time to create 1 rle with old method : 0.013214349746704102 time for calcul the mask position with numpy : 0.006857872009277344 nb_pixel_total : 107781 time to create 1 rle with old method : 0.1202397346496582 create new chi : 0.4516575336456299 time to delete rle : 0.0008640289306640625 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 5732 TO DO : save crop sub photo not yet done ! save time : 0.6441001892089844 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07497501373291016 time for calcul the mask position with numpy : 0.009899616241455078 nb_pixel_total : 433117 time to create 1 rle with new method : 0.08237862586975098 time for calcul the mask position with numpy : 0.0077626705169677734 nb_pixel_total : 113472 time to create 1 rle with old method : 0.21941471099853516 time for calcul the mask position with numpy : 0.3089606761932373 nb_pixel_total : 1523295 time to create 1 rle with new method : 0.13299918174743652 time for calcul the mask position with numpy : 0.006943464279174805 nb_pixel_total : 3716 time to create 1 rle with old method : 0.004282474517822266 create new chi : 0.7909989356994629 time to delete rle : 0.0008740425109863281 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 4973 TO DO : save crop sub photo not yet done ! save time : 0.34367871284484863 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.047522544860839844 time for calcul the mask position with numpy : 0.023101091384887695 nb_pixel_total : 1339731 time to create 1 rle with new method : 0.16962933540344238 time for calcul the mask position with numpy : 0.011986732482910156 nb_pixel_total : 722835 time to create 1 rle with new method : 0.197739839553833 time for calcul the mask position with numpy : 0.006461143493652344 nb_pixel_total : 11034 time to create 1 rle with old method : 0.012285709381103516 create new chi : 0.4329226016998291 time to delete rle : 0.0005447864532470703 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3303 TO DO : save crop sub photo not yet done ! save time : 0.45038795471191406 No data in photo_id : 1379267846 No data in photo_id : 1379267842 No data in photo_id : 1379267839 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.09002995491027832 time for calcul the mask position with numpy : 0.0429840087890625 nb_pixel_total : 1278946 time to create 1 rle with new method : 0.08093094825744629 time for calcul the mask position with numpy : 0.011333465576171875 nb_pixel_total : 782924 time to create 1 rle with new method : 0.18643999099731445 time for calcul the mask position with numpy : 0.007836580276489258 nb_pixel_total : 11730 time to create 1 rle with old method : 0.013057231903076172 create new chi : 0.352297306060791 time to delete rle : 0.0005254745483398438 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3368 TO DO : save crop sub photo not yet done ! save time : 0.2480177879333496 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.09695291519165039 time for calcul the mask position with numpy : 0.012561321258544922 nb_pixel_total : 844247 time to create 1 rle with new method : 0.16314911842346191 time for calcul the mask position with numpy : 0.014302968978881836 nb_pixel_total : 1096408 time to create 1 rle with new method : 0.16475677490234375 time for calcul the mask position with numpy : 0.006262540817260742 nb_pixel_total : 16068 time to create 1 rle with old method : 0.018155574798583984 time for calcul the mask position with numpy : 0.006888389587402344 nb_pixel_total : 116877 time to create 1 rle with old method : 0.15454912185668945 create new chi : 0.5549509525299072 time to delete rle : 0.0008237361907958984 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 5682 TO DO : save crop sub photo not yet done ! save time : 0.6588079929351807 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03217601776123047 time for calcul the mask position with numpy : 0.01884150505065918 nb_pixel_total : 2059156 time to create 1 rle with new method : 0.07576823234558105 time for calcul the mask position with numpy : 0.006062984466552734 nb_pixel_total : 14444 time to create 1 rle with old method : 0.016163110733032227 create new chi : 0.12407636642456055 time to delete rle : 0.0002562999725341797 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1412 TO DO : save crop sub photo not yet done ! save time : 0.13574862480163574 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.040992021560668945 time for calcul the mask position with numpy : 0.18261384963989258 nb_pixel_total : 2051906 time to create 1 rle with new method : 0.15920090675354004 time for calcul the mask position with numpy : 0.0064525604248046875 nb_pixel_total : 11068 time to create 1 rle with old method : 0.012470245361328125 time for calcul the mask position with numpy : 0.006567716598510742 nb_pixel_total : 10626 time to create 1 rle with old method : 0.012137174606323242 create new chi : 0.3907279968261719 time to delete rle : 0.0003132820129394531 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1694 TO DO : save crop sub photo not yet done ! save time : 0.15575766563415527 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.036513328552246094 time for calcul the mask position with numpy : 0.022629737854003906 nb_pixel_total : 1351371 time to create 1 rle with new method : 0.1697854995727539 time for calcul the mask position with numpy : 0.011113405227661133 nb_pixel_total : 722229 time to create 1 rle with new method : 0.07845592498779297 create new chi : 0.29750990867614746 time to delete rle : 0.0005085468292236328 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2922 TO DO : save crop sub photo not yet done ! save time : 0.400860071182251 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.20788860321044922 time for calcul the mask position with numpy : 0.11716651916503906 nb_pixel_total : 1035265 time to create 1 rle with new method : 0.07744908332824707 time for calcul the mask position with numpy : 0.005986928939819336 nb_pixel_total : 3393 time to create 1 rle with old method : 0.0037453174591064453 time for calcul the mask position with numpy : 0.01235198974609375 nb_pixel_total : 941159 time to create 1 rle with new method : 0.15678739547729492 time for calcul the mask position with numpy : 0.006619453430175781 nb_pixel_total : 11118 time to create 1 rle with old method : 0.012598276138305664 time for calcul the mask position with numpy : 0.006865262985229492 nb_pixel_total : 82665 time to create 1 rle with old method : 0.09226703643798828 create new chi : 0.510648250579834 time to delete rle : 0.0008223056793212891 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 5083 TO DO : save crop sub photo not yet done ! save time : 0.36583805084228516 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.056633949279785156 time for calcul the mask position with numpy : 0.012139558792114258 nb_pixel_total : 529398 time to create 1 rle with new method : 0.11566019058227539 time for calcul the mask position with numpy : 0.04823112487792969 nb_pixel_total : 1432510 time to create 1 rle with new method : 0.10197615623474121 time for calcul the mask position with numpy : 0.006719112396240234 nb_pixel_total : 111692 time to create 1 rle with old method : 0.1202843189239502 create new chi : 0.4234426021575928 time to delete rle : 0.0006780624389648438 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4460 TO DO : save crop sub photo not yet done ! save time : 0.6322650909423828 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.21538734436035156 time for calcul the mask position with numpy : 0.010961532592773438 nb_pixel_total : 675224 time to create 1 rle with new method : 0.07959246635437012 time for calcul the mask position with numpy : 0.006287574768066406 nb_pixel_total : 28028 time to create 1 rle with old method : 0.03252100944519043 time for calcul the mask position with numpy : 0.10565400123596191 nb_pixel_total : 1249019 time to create 1 rle with new method : 0.06862735748291016 time for calcul the mask position with numpy : 0.0062558650970458984 nb_pixel_total : 4420 time to create 1 rle with old method : 0.004715681076049805 time for calcul the mask position with numpy : 0.006688356399536133 nb_pixel_total : 116909 time to create 1 rle with old method : 0.13303399085998535 create new chi : 0.46934080123901367 time to delete rle : 0.0008847713470458984 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 5788 TO DO : save crop sub photo not yet done ! save time : 0.3882589340209961 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05646371841430664 time for calcul the mask position with numpy : 0.011716127395629883 nb_pixel_total : 512297 time to create 1 rle with new method : 0.07502412796020508 time for calcul the mask position with numpy : 0.01660919189453125 nb_pixel_total : 1451055 time to create 1 rle with new method : 0.1596543788909912 time for calcul the mask position with numpy : 0.006806135177612305 nb_pixel_total : 110248 time to create 1 rle with old method : 0.13541889190673828 create new chi : 0.41257429122924805 time to delete rle : 0.0009779930114746094 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4805 TO DO : save crop sub photo not yet done ! save time : 0.5313999652862549 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08039093017578125 time for calcul the mask position with numpy : 0.14256691932678223 nb_pixel_total : 2062004 time to create 1 rle with new method : 0.17798137664794922 time for calcul the mask position with numpy : 0.006260395050048828 nb_pixel_total : 11596 time to create 1 rle with old method : 0.012896537780761719 create new chi : 0.34981656074523926 time to delete rle : 0.0002605915069580078 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1416 TO DO : save crop sub photo not yet done ! save time : 0.17072534561157227 No data in photo_id : 1379267541 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.1689767837524414 time for calcul the mask position with numpy : 0.04563450813293457 nb_pixel_total : 1319713 time to create 1 rle with new method : 0.19678044319152832 time for calcul the mask position with numpy : 0.00656437873840332 nb_pixel_total : 9334 time to create 1 rle with old method : 0.010609149932861328 time for calcul the mask position with numpy : 0.011906147003173828 nb_pixel_total : 744553 time to create 1 rle with new method : 0.0827629566192627 create new chi : 0.364025354385376 time to delete rle : 0.0003676414489746094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3268 TO DO : save crop sub photo not yet done ! save time : 0.5500335693359375 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05426430702209473 time for calcul the mask position with numpy : 0.15071606636047363 nb_pixel_total : 1935200 time to create 1 rle with new method : 0.2152574062347412 time for calcul the mask position with numpy : 0.012039661407470703 nb_pixel_total : 4715 time to create 1 rle with old method : 0.005410194396972656 time for calcul the mask position with numpy : 0.013214111328125 nb_pixel_total : 133685 time to create 1 rle with old method : 0.14467477798461914 create new chi : 0.5534377098083496 time to delete rle : 0.0006682872772216797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2552 TO DO : save crop sub photo not yet done ! save time : 0.22044610977172852 map_output_result : {1379268194: (0.0, 'Should be the crop_list due to order', 0), 1379268176: (0.0, 'Should be the crop_list due to order', 0), 1379268123: (0.0, 'Should be the crop_list due to order', 0), 1379268016: (0.0, 'Should be the crop_list due to order', 0), 1379267865: (0.0, 'Should be the crop_list due to order', 0), 1379267862: (0.0, 'Should be the crop_list due to order', 0), 1379267858: (0.0, 'Should be the crop_list due to order', 0), 1379267846: (0.0, 'Should be the crop_list due to order', 0.0), 1379267842: (0.0, 'Should be the crop_list due to order', 0.0), 1379267839: (0.0, 'Should be the crop_list due to order', 0.0), 1379267777: (0.0, 'Should be the crop_list due to order', 0), 1379267773: (0.0, 'Should be the crop_list due to order', 0), 1379267763: (0.0, 'Should be the crop_list due to order', 0), 1379267748: (0.0, 'Should be the crop_list due to order', 0), 1379267743: (0.0, 'Should be the crop_list due to order', 0), 1379267742: (0.0, 'Should be the crop_list due to order', 0), 1379267649: (0.0, 'Should be the crop_list due to order', 0), 1379267616: (0.0, 'Should be the crop_list due to order', 0), 1379267593: (0.0, 'Should be the crop_list due to order', 0), 1379267567: (0.0, 'Should be the crop_list due to order', 0), 1379267541: (0.0, 'Should be the crop_list due to order', 0.0), 1379267512: (0.0, 'Should be the crop_list due to order', 0), 1379267251: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 23 /1379268194.Didn't retrieve data . /1379268176.Didn't retrieve data . /1379268123.Didn't retrieve data . /1379268016.Didn't retrieve data . /1379267865.Didn't retrieve data . /1379267862.Didn't retrieve data . /1379267858.Didn't retrieve data . /1379267846.Didn't retrieve data . /1379267842.Didn't retrieve data . /1379267839.Didn't retrieve data . /1379267777.Didn't retrieve data . /1379267773.Didn't retrieve data . /1379267763.Didn't retrieve data . /1379267748.Didn't retrieve data . /1379267743.Didn't retrieve data . /1379267742.Didn't retrieve data . /1379267649.Didn't retrieve data . /1379267616.Didn't retrieve data . /1379267593.Didn't retrieve data . /1379267567.Didn't retrieve data . /1379267541.Didn't retrieve data . /1379267512.Didn't retrieve data . /1379267251.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 time used for this insertion : 0.020431041717529297 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.09223461151123 time spend to save output : 0.021224498748779297 total time spend for step 3 : 19.11345911026001 step4:ventilate_hashtags_in_portfolio Tue Aug 26 00:32:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26218840 get user id for portfolio 26218840 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26218840 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','background','pehd','pet_fonce','papier','autre','metal','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26218840 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','background','pehd','pet_fonce','papier','autre','metal','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26218840 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','pet_clair','environnement','background','pehd','pet_fonce','papier','autre','metal','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26219162,26219163,26219164,26219165,26219166,26219167,26219168,26219169,26219170,26219171,26219172?tags=flou,pet_clair,environnement,background,pehd,pet_fonce,papier,autre,metal,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 1 /26218840. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.14958786964416504 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7247657775878906 time spend to save output : 0.14998412132263184 total time spend for step 4 : 1.8747498989105225 step5:final Tue Aug 26 00:32:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1379268194: ('0.30717133403784214',), 1379268176: ('0.30717133403784214',), 1379268123: ('0.30717133403784214',), 1379268016: ('0.30717133403784214',), 1379267865: ('0.30717133403784214',), 1379267862: ('0.30717133403784214',), 1379267858: ('0.30717133403784214',), 1379267846: ('0.30717133403784214',), 1379267842: ('0.30717133403784214',), 1379267839: ('0.30717133403784214',), 1379267777: ('0.30717133403784214',), 1379267773: ('0.30717133403784214',), 1379267763: ('0.30717133403784214',), 1379267748: ('0.30717133403784214',), 1379267743: ('0.30717133403784214',), 1379267742: ('0.30717133403784214',), 1379267649: ('0.30717133403784214',), 1379267616: ('0.30717133403784214',), 1379267593: ('0.30717133403784214',), 1379267567: ('0.30717133403784214',), 1379267541: ('0.30717133403784214',), 1379267512: ('0.30717133403784214',), 1379267251: ('0.30717133403784214',)} new output for save of step final : {1379268194: ('0.30717133403784214',), 1379268176: ('0.30717133403784214',), 1379268123: ('0.30717133403784214',), 1379268016: ('0.30717133403784214',), 1379267865: ('0.30717133403784214',), 1379267862: ('0.30717133403784214',), 1379267858: ('0.30717133403784214',), 1379267846: ('0.30717133403784214',), 1379267842: ('0.30717133403784214',), 1379267839: ('0.30717133403784214',), 1379267777: ('0.30717133403784214',), 1379267773: ('0.30717133403784214',), 1379267763: ('0.30717133403784214',), 1379267748: ('0.30717133403784214',), 1379267743: ('0.30717133403784214',), 1379267742: ('0.30717133403784214',), 1379267649: ('0.30717133403784214',), 1379267616: ('0.30717133403784214',), 1379267593: ('0.30717133403784214',), 1379267567: ('0.30717133403784214',), 1379267541: ('0.30717133403784214',), 1379267512: ('0.30717133403784214',), 1379267251: ('0.30717133403784214',)} [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 23 /1379268194.Didn't retrieve data . /1379268176.Didn't retrieve data . /1379268123.Didn't retrieve data . /1379268016.Didn't retrieve data . /1379267865.Didn't retrieve data . /1379267862.Didn't retrieve data . /1379267858.Didn't retrieve data . /1379267846.Didn't retrieve data . /1379267842.Didn't retrieve data . /1379267839.Didn't retrieve data . /1379267777.Didn't retrieve data . /1379267773.Didn't retrieve data . /1379267763.Didn't retrieve data . /1379267748.Didn't retrieve data . /1379267743.Didn't retrieve data . /1379267742.Didn't retrieve data . /1379267649.Didn't retrieve data . /1379267616.Didn't retrieve data . /1379267593.Didn't retrieve data . /1379267567.Didn't retrieve data . /1379267541.Didn't retrieve data . /1379267512.Didn't retrieve data . /1379267251.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 time used for this insertion : 0.020015239715576172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12219023704528809 time spend to save output : 0.021069765090942383 total time spend for step 5 : 0.14326000213623047 step6:blur_detection Tue Aug 26 00:32:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb.jpg resize: (1080, 1920) 1379268194 -1.9667967053767101 treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2.jpg resize: (1080, 1920) 1379268176 0.03662425992735442 treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86.jpg resize: (1080, 1920) 1379268123 -2.4286340416410135 treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725.jpg resize: (1080, 1920) 1379268016 -4.750984267906234 treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09.jpg resize: (1080, 1920) 1379267865 -2.943574373941464 treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26.jpg resize: (1080, 1920) 1379267862 -1.6265340030084117 treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c.jpg resize: (1080, 1920) 1379267858 -2.276271121239494 treat image : temp/1756161028_3382174_1379267846_1254705c707e0813bf2d3b0bbf0911db.jpg resize: (1080, 1920) 1379267846 -1.8515940498635322 treat image : temp/1756161028_3382174_1379267842_4c1b6b3e98b729f6ebe8e291aa5fc9d2.jpg resize: (1080, 1920) 1379267842 -1.020480927648817 treat image : temp/1756161028_3382174_1379267839_1780e6f152aff6ad4b3dcc00610a142c.jpg resize: (1080, 1920) 1379267839 -1.8444127579356415 treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af.jpg resize: (1080, 1920) 1379267777 -2.8765152304072568 treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327.jpg resize: (1080, 1920) 1379267773 -4.6917329289252105 treat image : temp/1756161028_3382174_1379267763_56495d684f0b962a3adc506463ede39d.jpg resize: (1080, 1920) 1379267763 -2.778886452178884 treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2.jpg resize: (1080, 1920) 1379267748 -3.0743644600031446 treat image : temp/1756161028_3382174_1379267743_6c80f1f27feaaae9b177df54f1d38275.jpg resize: (1080, 1920) 1379267743 0.5482394791088548 treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830.jpg resize: (1080, 1920) 1379267742 -2.1832372397994755 treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864.jpg resize: (1080, 1920) 1379267649 -2.32113034152218 treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c.jpg resize: (1080, 1920) 1379267616 -1.7775412200468717 treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514.jpg resize: (1080, 1920) 1379267593 -1.652314463166522 treat image : temp/1756161028_3382174_1379267567_c1332fdc4fafa9422e5e3fee93276bec.jpg resize: (1080, 1920) 1379267567 -2.588633350339766 treat image : temp/1756161028_3382174_1379267541_bb93c7caecab15bc7c61ff2c612c1ddf.jpg resize: (1080, 1920) 1379267541 -1.6491938445572316 treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87.jpg resize: (1080, 1920) 1379267512 -1.8209108591716388 treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382.jpg resize: (1080, 1920) 1379267251 -2.1791853471940037 treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498611_0.png resize: (125, 102) 1379348115 -0.9580585803255144 treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498617_0.png resize: (215, 144) 1379348116 -1.8745908918584318 treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498622_0.png resize: (33, 73) 1379348117 -3.1368768550878774 treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498624_0.png resize: (191, 119) 1379348118 -0.6423874040699519 treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498627_0.png resize: (75, 71) 1379348119 -1.8284925519446305 treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c_rle_crop_3930498630_0.png resize: (178, 119) 1379348120 -0.6020392214700069 treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af_rle_crop_3930498632_0.png resize: (182, 128) 1379348121 -0.6221163141223423 treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2_rle_crop_3930498639_0.png resize: (170, 114) 1379348122 -0.8594072296788919 treat image : temp/1756161028_3382174_1379267567_c1332fdc4fafa9422e5e3fee93276bec_rle_crop_3930498653_0.png resize: (167, 129) 1379348123 -1.6152940256468598 treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2_rle_crop_3930498615_0.png resize: (851, 1043) 1379348124 0.8498506811254988 treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87_rle_crop_3930498655_0.png resize: (129, 94) 1379348125 -0.5701734568571241 treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498610_0.png resize: (117, 206) 1379348184 -4.158068383581354 treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498612_0.png resize: (146, 108) 1379348185 -2.270820363489318 treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498613_0.png resize: (502, 344) 1379348186 -0.5675329804736613 treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2_rle_crop_3930498614_0.png resize: (179, 144) 1379348187 -1.5361817280219463 treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498616_0.png resize: (217, 211) 1379348188 -2.1982903747420246 treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498618_0.png resize: (182, 116) 1379348189 -1.6340274159579822 treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498619_0.png resize: (995, 1117) 1379348190 -0.21248295721623162 treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498620_0.png resize: (515, 351) 1379348191 0.22858383600556473 treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498621_0.png resize: (72, 169) 1379348192 -4.596901030254082 treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498623_0.png resize: (505, 356) 1379348193 0.16301680078317027 treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498625_0.png resize: (84, 115) 1379348194 -0.022378051335004676 treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498626_0.png resize: (944, 1511) 1379348195 -1.9975644622673743 treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498628_0.png resize: (965, 1759) 1379348196 -2.063293054041154 treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498629_0.png resize: (557, 363) 1379348197 0.0723271485426943 treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c_rle_crop_3930498631_0.png resize: (952, 997) 1379348198 0.7481833250371903 treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af_rle_crop_3930498633_0.png resize: (984, 1169) 1379348200 -0.15358837133194256 treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498634_0.png resize: (549, 352) 1379348201 -0.2092221247297718 treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498635_0.png resize: (150, 132) 1379348202 -3.8826153492393494 treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498636_0.png resize: (967, 1671) 1379348203 -2.3129925612635245 treat image : temp/1756161028_3382174_1379267763_56495d684f0b962a3adc506463ede39d_rle_crop_3930498637_0.png resize: (165, 118) 1379348204 -1.8161655334984166 treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2_rle_crop_3930498638_0.png resize: (136, 106) 1379348205 -3.860293049831078 treat image : temp/1756161028_3382174_1379267743_6c80f1f27feaaae9b177df54f1d38275_rle_crop_3930498640_0.png resize: (918, 1037) 1379348206 1.5285749226692666 treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498641_0.png resize: (456, 302) 1379348207 0.050643713562232476 treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498642_0.png resize: (88, 166) 1379348208 -2.564365041477606 treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498643_0.png resize: (985, 1210) 1379348209 -2.85104776880515 treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498644_0.png resize: (104, 86) 1379348210 -3.0372634240520817 treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864_rle_crop_3930498645_0.png resize: (514, 363) 1379348211 0.3878143409443959 treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864_rle_crop_3930498646_0.png resize: (959, 1583) 1379348212 -2.4549967770454644 treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498647_0.png resize: (551, 355) 1379348213 0.25906805641601804 treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498648_0.png resize: (66, 84) 1379348214 -0.05915297283117223 treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498649_0.png resize: (993, 1554) 1379348215 -1.8111280844695745 treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498650_0.png resize: (125, 268) 1379348216 -3.0377796180285306 treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514_rle_crop_3930498651_0.png resize: (521, 330) 1379348217 0.3004464119812998 treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514_rle_crop_3930498652_0.png resize: (1004, 1669) 1379348218 -1.9544688206158531 treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87_rle_crop_3930498654_0.png resize: (960, 1065) 1379348219 0.15346751965549296 treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382_rle_crop_3930498656_0.png resize: (670, 360) 1379348220 -0.17922768690945765 treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382_rle_crop_3930498657_0.png resize: (61, 112) 1379348221 -2.3536035003223805 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 71 time used for this insertion : 0.014124393463134766 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 71 time used for this insertion : 0.1138298511505127 save missing photos in datou_result : time spend for datou_step_exec : 25.94053602218628 time spend to save output : 0.13225197792053223 total time spend for step 6 : 26.07278800010681 step7:brightness Tue Aug 26 00:33:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb.jpg treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2.jpg treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86.jpg treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725.jpg treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09.jpg treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26.jpg treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c.jpg treat image : temp/1756161028_3382174_1379267846_1254705c707e0813bf2d3b0bbf0911db.jpg treat image : temp/1756161028_3382174_1379267842_4c1b6b3e98b729f6ebe8e291aa5fc9d2.jpg treat image : temp/1756161028_3382174_1379267839_1780e6f152aff6ad4b3dcc00610a142c.jpg treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af.jpg treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327.jpg treat image : temp/1756161028_3382174_1379267763_56495d684f0b962a3adc506463ede39d.jpg treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2.jpg treat image : temp/1756161028_3382174_1379267743_6c80f1f27feaaae9b177df54f1d38275.jpg treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830.jpg treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864.jpg treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c.jpg treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514.jpg treat image : temp/1756161028_3382174_1379267567_c1332fdc4fafa9422e5e3fee93276bec.jpg treat image : temp/1756161028_3382174_1379267541_bb93c7caecab15bc7c61ff2c612c1ddf.jpg treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87.jpg treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382.jpg treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498611_0.png treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498617_0.png treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498622_0.png treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498624_0.png treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498627_0.png treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c_rle_crop_3930498630_0.png treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af_rle_crop_3930498632_0.png treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2_rle_crop_3930498639_0.png treat image : temp/1756161028_3382174_1379267567_c1332fdc4fafa9422e5e3fee93276bec_rle_crop_3930498653_0.png treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2_rle_crop_3930498615_0.png treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87_rle_crop_3930498655_0.png treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498610_0.png treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498612_0.png treat image : temp/1756161028_3382174_1379268194_697ee1e7820c12607c708facbb858aeb_rle_crop_3930498613_0.png treat image : temp/1756161028_3382174_1379268176_fbb86277a0a3037a495dd50abba1ede2_rle_crop_3930498614_0.png treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498616_0.png treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498618_0.png treat image : temp/1756161028_3382174_1379268123_46e807b7bbda047aac78bcde2e251c86_rle_crop_3930498619_0.png treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498620_0.png treat image : temp/1756161028_3382174_1379268016_e5365ffa0edd20648449a41db6705725_rle_crop_3930498621_0.png treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498623_0.png treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498625_0.png treat image : temp/1756161028_3382174_1379267865_59e869e6ac2467261b568c9350557d09_rle_crop_3930498626_0.png treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498628_0.png treat image : temp/1756161028_3382174_1379267862_acb3835ab597e2ed887a1ab90ae84e26_rle_crop_3930498629_0.png treat image : temp/1756161028_3382174_1379267858_4539a1de52882746469c85554c72405c_rle_crop_3930498631_0.png treat image : temp/1756161028_3382174_1379267777_233ffb3665143ee872376c3920d5f5af_rle_crop_3930498633_0.png treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498634_0.png treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498635_0.png treat image : temp/1756161028_3382174_1379267773_4770a0c841d8ce1b9629c19bea88d327_rle_crop_3930498636_0.png treat image : temp/1756161028_3382174_1379267763_56495d684f0b962a3adc506463ede39d_rle_crop_3930498637_0.png treat image : temp/1756161028_3382174_1379267748_b10615a0935a314bf6dd55fc27b036a2_rle_crop_3930498638_0.png treat image : temp/1756161028_3382174_1379267743_6c80f1f27feaaae9b177df54f1d38275_rle_crop_3930498640_0.png treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498641_0.png treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498642_0.png treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498643_0.png treat image : temp/1756161028_3382174_1379267742_18132e4d48301e624c230da416d1d830_rle_crop_3930498644_0.png treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864_rle_crop_3930498645_0.png treat image : temp/1756161028_3382174_1379267649_7c29ca69cc0833b46f92e7ebbc5e7864_rle_crop_3930498646_0.png treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498647_0.png treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498648_0.png treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498649_0.png treat image : temp/1756161028_3382174_1379267616_197ffc65dc7d81d0650018b1dda1385c_rle_crop_3930498650_0.png treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514_rle_crop_3930498651_0.png treat image : temp/1756161028_3382174_1379267593_70cacb28c7d1bd57a3fb5f85a610f514_rle_crop_3930498652_0.png treat image : temp/1756161028_3382174_1379267512_9fa433ae1635f1341a094ddb02586d87_rle_crop_3930498654_0.png treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382_rle_crop_3930498656_0.png treat image : temp/1756161028_3382174_1379267251_1b7c3d9ba3691e4a5f82203c367e0382_rle_crop_3930498657_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 71 time used for this insertion : 0.027524471282958984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 71 time used for this insertion : 0.7239995002746582 save missing photos in datou_result : time spend for datou_step_exec : 6.95270037651062 time spend to save output : 0.756608247756958 total time spend for step 7 : 7.709308624267578 step8:velours_tree Tue Aug 26 00:33:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.12795329093933105 time spend to save output : 3.886222839355469e-05 total time spend for step 8 : 0.1279921531677246 step9:send_mail_cod Tue Aug 26 00:33:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26218840_26-08-2025_00_33_17.pdf 26219162 imagette262191621756161197 26219163 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette262191631756161197 26219165 imagette262191651756161199 26219166 imagette262191661756161199 26219167 imagette262191671756161199 26219168 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette262191681756161199 26219169 imagette262191691756161199 26219170 imagette262191701756161199 26219171 change filename to text .change filename to text .imagette262191711756161199 26219172 imagette262191721756161199 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26218840 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26219162,26219163,26219164,26219165,26219166,26219167,26219168,26219169,26219170,26219171,26219172?tags=flou,pet_clair,environnement,background,pehd,pet_fonce,papier,autre,metal,carton,mal_croppe args[1379268194] : ((1379268194, -1.9667967053767101, 492688767), (1379268194, 0.6196368712556173, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379268176] : ((1379268176, 0.03662425992735442, 492688767), (1379268176, 0.4972102130436099, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379268123] : ((1379268123, -2.4286340416410135, 492609224), (1379268123, 0.45134850097009405, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379268016] : ((1379268016, -4.750984267906234, 492609224), (1379268016, 0.430349064950639, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267865] : ((1379267865, -2.943574373941464, 492609224), (1379267865, 0.3149504508037067, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267862] : ((1379267862, -1.6265340030084117, 492688767), (1379267862, 0.26539665667479045, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267858] : ((1379267858, -2.276271121239494, 492609224), (1379267858, 0.8043090021983467, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267846] : ((1379267846, -1.8515940498635322, 492688767), (1379267846, 0.8222318440651825, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267842] : ((1379267842, -1.020480927648817, 492688767), (1379267842, 0.6826721645364773, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267839] : ((1379267839, -1.8444127579356415, 492688767), (1379267839, 0.6977232754516722, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267777] : ((1379267777, -2.8765152304072568, 492609224), (1379267777, 0.6252792350326386, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267773] : ((1379267773, -4.6917329289252105, 492609224), (1379267773, 0.28687289564589685, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267763] : ((1379267763, -2.778886452178884, 492609224), (1379267763, 0.7351931874628749, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267748] : ((1379267748, -3.0743644600031446, 492609224), (1379267748, 0.625814195403025, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267743] : ((1379267743, 0.5482394791088548, 492688767), (1379267743, 0.4560650579331132, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267742] : ((1379267742, -2.1832372397994755, 492609224), (1379267742, 0.39778619952664523, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267649] : ((1379267649, -2.32113034152218, 492609224), (1379267649, 0.4548688733713403, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267616] : ((1379267616, -1.7775412200468717, 492688767), (1379267616, 0.4782455228506993, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267593] : ((1379267593, -1.652314463166522, 492688767), (1379267593, 0.4584860389399533, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267567] : ((1379267567, -2.588633350339766, 492609224), (1379267567, 0.6204819341853713, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267541] : ((1379267541, -1.6491938445572316, 492688767), (1379267541, 0.6821195208696497, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267512] : ((1379267512, -1.8209108591716388, 492688767), (1379267512, 0.6269449653280759, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com args[1379267251] : ((1379267251, -2.1791853471940037, 492609224), (1379267251, 0.4223708386345936, 2107752395), '0.30717133403784214') We are sending mail with results at report@fotonower.com refus_total : 0.30717133403784214 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26218840 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218840_26-08-2025_00_33_17.pdf results_Auto_P26218840_26-08-2025_00_33_17.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218840_26-08-2025_00_33_17.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','26218840','results_Auto_P26218840_26-08-2025_00_33_17.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218840_26-08-2025_00_33_17.pdf','pdf','','1.05','0.30717133403784214') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26218840

https://www.fotonower.com/image?json=false&list_photos_id=1379268194
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379268176
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379268123
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379268016
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267865
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267862
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267858
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267846
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267842
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267839
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267777
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267773
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267763
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267748
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267743
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267742
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267649
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267616
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267593
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267567
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267541
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267512
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379267251
Bravo, la photo est bien prise.

Dans ces conditions,le taux de refus est: 30.72%
Veuillez trouver les photos des contaminants.

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26219163?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26219168?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26219171?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218840_26-08-2025_00_33_17.pdf.

Lien vers velours :https://www.fotonower.com/velours/26219162,26219163,26219164,26219165,26219166,26219167,26219168,26219169,26219170,26219171,26219172?tags=flou,pet_clair,environnement,background,pehd,pet_fonce,papier,autre,metal,carton,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 25 Aug 2025 22:33:22 GMT Content-Length: 0 Connection: close X-Message-Id: KNi3wuhQRvWaxEBBw3Z8nA Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.17768192291259766 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.307591676712036 time spend to save output : 0.177992582321167 total time spend for step 9 : 5.485584259033203 step10:split_time_score Tue Aug 26 00:33:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 23),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25082025 26218840 Nombre de photos uploadées : 23 / 23040 (0%) 25082025 26218840 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 25082025 26218840 Nombre de photos taguées (volume) : 0 / 23 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010986328125 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21962380409240723 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.1956718898385565 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196500_25-08-2025_11_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196500 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26196500 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218736 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218739 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218741 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218742 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218744 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218745 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218748 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218754 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218755 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218757 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218778 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218787 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218819 order by id desc limit 1 Qualite : 0.30717133403784214 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218840_26-08-2025_00_33_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218840 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26218840 AND mptpi.`type`=3594 To do Qualite : 0.14214023919753085 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26218845_26-08-2025_00_21_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26218845 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26218845 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25082025': {'nb_upload': 23, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379268194, 1379268176, 1379268123, 1379268016, 1379267865, 1379267862, 1379267858, 1379267846, 1379267842, 1379267839, 1379267777, 1379267773, 1379267763, 1379267748, 1379267743, 1379267742, 1379267649, 1379267616, 1379267593, 1379267567, 1379267541, 1379267512, 1379267251] Looping around the photos to save general results len do output : 1 /26218840Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268194', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268176', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268123', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379268016', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267865', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267862', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267858', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267846', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267842', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267839', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267777', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267773', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267763', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267748', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267743', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267742', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267649', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267616', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267593', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267567', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267541', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267512', None, None, None, None, None, '3594396') ('3318', None, None, None, None, None, None, None, '3594396') ('3318', '26218840', '1379267251', None, None, None, None, None, '3594396') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.367342472076416 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.9319486618042 time spend to save output : 0.3676435947418213 total time spend for step 10 : 13.29959225654602 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 23 set_done_treatment 123.04user 30.15system 3:11.80elapsed 79%CPU (0avgtext+0avgdata 2976216maxresident)k 35344inputs+96864outputs (379major+2372477minor)pagefaults 0swaps