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 : 961413 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 : ['3422024'] with mtr_portfolio_ids : ['25582621'] and first list_photo_ids : [] new path : /proc/961413/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.049304962158203 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 Fri Aug 1 12:10:29 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-01 12:10:32.384783: 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-01 12:10:32.392958: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-01 12:10:32.394608: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5798000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-01 12:10:32.394662: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-01 12:10:32.397310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-01 12:10:32.515512: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7991700 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-01 12:10:32.515567: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-01 12:10:32.516876: 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-01 12:10:32.517330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:10:32.520401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:10:32.522848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:10:32.523260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:10:32.525800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:10:32.527051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:10:32.532147: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:10:32.533603: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:10:32.533673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:10:32.534408: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 12:10:32.534423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 12:10:32.534432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 12:10:32.535813: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-01 12:10:32.788171: 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-01 12:10:32.788281: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:10:32.788297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:10:32.788311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:10:32.788325: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:10:32.788338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:10:32.788351: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:10:32.788365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:10:32.789538: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:10:32.790658: 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-01 12:10:32.790690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:10:32.790705: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:10:32.790720: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:10:32.790734: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:10:32.790748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:10:32.790762: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:10:32.790776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:10:32.791967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:10:32.792001: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 12:10:32.792010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 12:10:32.792017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 12:10:32.793224: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-01 12:10:42.070162: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:10:42.285441: 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 : 18 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 : 4 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 : 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: 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 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.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: 22.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: 11.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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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 : 9 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.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: 20.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 : 11 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 : 4 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.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: 24.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 Detection mask done ! Trying to reset tf kernel 961941 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1888 tf kernel not reseted sub process len(results) : 18 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 18 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 : 7177 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.0019354820251464844 nb_pixel_total : 102864 time to create 1 rle with old method : 0.10930514335632324 length of segment : 519 time for calcul the mask position with numpy : 0.0005967617034912109 nb_pixel_total : 32879 time to create 1 rle with old method : 0.03494691848754883 length of segment : 233 time for calcul the mask position with numpy : 0.000843048095703125 nb_pixel_total : 53092 time to create 1 rle with old method : 0.05692887306213379 length of segment : 309 time for calcul the mask position with numpy : 0.00014090538024902344 nb_pixel_total : 7125 time to create 1 rle with old method : 0.007703304290771484 length of segment : 127 time for calcul the mask position with numpy : 0.0003018379211425781 nb_pixel_total : 19613 time to create 1 rle with old method : 0.020846843719482422 length of segment : 229 time for calcul the mask position with numpy : 0.01401972770690918 nb_pixel_total : 740265 time to create 1 rle with new method : 0.027417421340942383 length of segment : 892 time for calcul the mask position with numpy : 0.00015926361083984375 nb_pixel_total : 5849 time to create 1 rle with old method : 0.006567478179931641 length of segment : 87 time for calcul the mask position with numpy : 0.0014886856079101562 nb_pixel_total : 79609 time to create 1 rle with old method : 0.0863637924194336 length of segment : 590 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 7504 time to create 1 rle with old method : 0.008371114730834961 length of segment : 127 time for calcul the mask position with numpy : 0.01261591911315918 nb_pixel_total : 766856 time to create 1 rle with new method : 0.024318695068359375 length of segment : 999 time for calcul the mask position with numpy : 0.00028634071350097656 nb_pixel_total : 16463 time to create 1 rle with old method : 0.01741647720336914 length of segment : 169 time for calcul the mask position with numpy : 0.0002110004425048828 nb_pixel_total : 13293 time to create 1 rle with old method : 0.014632940292358398 length of segment : 105 time for calcul the mask position with numpy : 0.01183629035949707 nb_pixel_total : 727294 time to create 1 rle with new method : 0.02047443389892578 length of segment : 956 time for calcul the mask position with numpy : 0.00027751922607421875 nb_pixel_total : 7434 time to create 1 rle with old method : 0.008086204528808594 length of segment : 77 time for calcul the mask position with numpy : 0.0003924369812011719 nb_pixel_total : 12359 time to create 1 rle with old method : 0.01371312141418457 length of segment : 109 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 3093 time to create 1 rle with old method : 0.003662109375 length of segment : 61 time for calcul the mask position with numpy : 7.724761962890625e-05 nb_pixel_total : 1259 time to create 1 rle with old method : 0.0015082359313964844 length of segment : 74 time for calcul the mask position with numpy : 0.00012421607971191406 nb_pixel_total : 3271 time to create 1 rle with old method : 0.0037713050842285156 length of segment : 78 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 6366 time to create 1 rle with old method : 0.007086515426635742 length of segment : 111 time for calcul the mask position with numpy : 0.000255584716796875 nb_pixel_total : 11019 time to create 1 rle with old method : 0.012397527694702148 length of segment : 95 time for calcul the mask position with numpy : 0.00015306472778320312 nb_pixel_total : 5598 time to create 1 rle with old method : 0.006303310394287109 length of segment : 127 time for calcul the mask position with numpy : 0.00020456314086914062 nb_pixel_total : 10010 time to create 1 rle with old method : 0.010764122009277344 length of segment : 123 time for calcul the mask position with numpy : 0.002328157424926758 nb_pixel_total : 104352 time to create 1 rle with old method : 0.10890316963195801 length of segment : 550 time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 1163 time to create 1 rle with old method : 0.0014276504516601562 length of segment : 38 time for calcul the mask position with numpy : 0.00012230873107910156 nb_pixel_total : 5416 time to create 1 rle with old method : 0.005932807922363281 length of segment : 104 time for calcul the mask position with numpy : 0.00040078163146972656 nb_pixel_total : 12231 time to create 1 rle with old method : 0.013756990432739258 length of segment : 103 time for calcul the mask position with numpy : 0.0023903846740722656 nb_pixel_total : 105624 time to create 1 rle with old method : 0.10916996002197266 length of segment : 528 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 3431 time to create 1 rle with old method : 0.003913164138793945 length of segment : 89 time for calcul the mask position with numpy : 0.0016548633575439453 nb_pixel_total : 108670 time to create 1 rle with old method : 0.11347842216491699 length of segment : 570 time for calcul the mask position with numpy : 0.002421855926513672 nb_pixel_total : 93223 time to create 1 rle with old method : 0.09664559364318848 length of segment : 524 time for calcul the mask position with numpy : 0.0008120536804199219 nb_pixel_total : 29179 time to create 1 rle with old method : 0.03315091133117676 length of segment : 232 time for calcul the mask position with numpy : 0.0033082962036132812 nb_pixel_total : 114494 time to create 1 rle with old method : 0.1294536590576172 length of segment : 572 time for calcul the mask position with numpy : 0.00039076805114746094 nb_pixel_total : 6128 time to create 1 rle with old method : 0.006920814514160156 length of segment : 127 time for calcul the mask position with numpy : 0.00039196014404296875 nb_pixel_total : 8044 time to create 1 rle with old method : 0.009491443634033203 length of segment : 144 time for calcul the mask position with numpy : 0.0002777576446533203 nb_pixel_total : 4590 time to create 1 rle with old method : 0.005577802658081055 length of segment : 87 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 6955 time to create 1 rle with old method : 0.007970094680786133 length of segment : 116 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 3500 time to create 1 rle with old method : 0.004107475280761719 length of segment : 76 time for calcul the mask position with numpy : 0.0003800392150878906 nb_pixel_total : 8636 time to create 1 rle with old method : 0.009639263153076172 length of segment : 106 time for calcul the mask position with numpy : 0.0003135204315185547 nb_pixel_total : 6473 time to create 1 rle with old method : 0.0073778629302978516 length of segment : 164 time for calcul the mask position with numpy : 0.002333402633666992 nb_pixel_total : 90087 time to create 1 rle with old method : 0.11612272262573242 length of segment : 476 time for calcul the mask position with numpy : 0.0005784034729003906 nb_pixel_total : 8638 time to create 1 rle with old method : 0.016314268112182617 length of segment : 146 time for calcul the mask position with numpy : 0.0002079010009765625 nb_pixel_total : 6758 time to create 1 rle with old method : 0.007449626922607422 length of segment : 82 time for calcul the mask position with numpy : 0.015784025192260742 nb_pixel_total : 810178 time to create 1 rle with new method : 0.026231765747070312 length of segment : 1136 time for calcul the mask position with numpy : 0.0001671314239501953 nb_pixel_total : 4040 time to create 1 rle with old method : 0.0045909881591796875 length of segment : 51 time for calcul the mask position with numpy : 9.131431579589844e-05 nb_pixel_total : 1985 time to create 1 rle with old method : 0.0023467540740966797 length of segment : 49 time for calcul the mask position with numpy : 0.0005764961242675781 nb_pixel_total : 26222 time to create 1 rle with old method : 0.02985382080078125 length of segment : 199 time for calcul the mask position with numpy : 0.0021936893463134766 nb_pixel_total : 102341 time to create 1 rle with old method : 0.10842561721801758 length of segment : 509 time for calcul the mask position with numpy : 0.0021550655364990234 nb_pixel_total : 98350 time to create 1 rle with old method : 0.10490918159484863 length of segment : 666 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 8127 time to create 1 rle with old method : 0.009102344512939453 length of segment : 116 time for calcul the mask position with numpy : 0.00031065940856933594 nb_pixel_total : 7787 time to create 1 rle with old method : 0.008736610412597656 length of segment : 168 time spent for convertir_results : 3.684809446334839 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 50 chid ids of type : 3594 Number RLEs to save : 13925 save missing photos in datou_result : time spend for datou_step_exec : 33.45356059074402 time spend to save output : 1.095240592956543 total time spend for step 1 : 34.54880118370056 step2:crop_condition Fri Aug 1 12:11:04 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 : 18 ! batch 1 Loaded 50 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 ! 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 : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754043065_961413 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 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.617313385009766 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 ! 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754043073_961413 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 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6733191013336182 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 ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754043091_961413 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 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.147670269012451 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 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 : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754043097_961413 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.356337547302246 we have finished the crop for the class : autre 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] Looping around the photos to save general results len do output : 50 /1374767506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374767621Didn'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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 168 time used for this insertion : 0.038015127182006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.03558373451233 time spend to save output : 0.0404047966003418 total time spend for step 2 : 34.07598853111267 step3:rle_unique_nms_with_priority Fri Aug 1 12:11:38 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 50 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.7199680805206299 time for calcul the mask position with numpy : 0.24196195602416992 nb_pixel_total : 1937857 time to create 1 rle with new method : 0.09629225730895996 time for calcul the mask position with numpy : 0.0061855316162109375 nb_pixel_total : 32879 time to create 1 rle with old method : 0.05396270751953125 time for calcul the mask position with numpy : 0.007376909255981445 nb_pixel_total : 102864 time to create 1 rle with old method : 0.11790752410888672 create new chi : 0.5345792770385742 time to delete rle : 0.025023221969604492 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2584 TO DO : save crop sub photo not yet done ! save time : 0.20209646224975586 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06531071662902832 time for calcul the mask position with numpy : 0.35521459579467773 nb_pixel_total : 2020508 time to create 1 rle with new method : 0.3485734462738037 time for calcul the mask position with numpy : 0.01099395751953125 nb_pixel_total : 53092 time to create 1 rle with old method : 0.05875992774963379 create new chi : 0.7738533020019531 time to delete rle : 0.00033092498779296875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1698 TO DO : save crop sub photo not yet done ! save time : 0.1463608741760254 No data in photo_id : 1374762487 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.19199419021606445 time for calcul the mask position with numpy : 0.2970755100250244 nb_pixel_total : 1312994 time to create 1 rle with new method : 0.10827064514160156 time for calcul the mask position with numpy : 0.014180421829223633 nb_pixel_total : 733868 time to create 1 rle with new method : 0.3917219638824463 time for calcul the mask position with numpy : 0.010978221893310547 nb_pixel_total : 19613 time to create 1 rle with old method : 0.022058486938476562 time for calcul the mask position with numpy : 0.010381460189819336 nb_pixel_total : 7125 time to create 1 rle with old method : 0.008099794387817383 create new chi : 0.8723740577697754 time to delete rle : 0.0005764961242675781 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3482 TO DO : save crop sub photo not yet done ! save time : 0.24307489395141602 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.27202701568603516 time for calcul the mask position with numpy : 0.04643130302429199 nb_pixel_total : 1213782 time to create 1 rle with new method : 0.20855236053466797 time for calcul the mask position with numpy : 0.012778759002685547 nb_pixel_total : 766856 time to create 1 rle with new method : 0.09421706199645996 time for calcul the mask position with numpy : 0.006036520004272461 nb_pixel_total : 7504 time to create 1 rle with old method : 0.008297920227050781 time for calcul the mask position with numpy : 0.006596565246582031 nb_pixel_total : 79609 time to create 1 rle with old method : 0.08729052543640137 time for calcul the mask position with numpy : 0.006312131881713867 nb_pixel_total : 5849 time to create 1 rle with old method : 0.0065228939056396484 create new chi : 0.4944608211517334 time to delete rle : 0.0007078647613525391 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 4686 TO DO : save crop sub photo not yet done ! save time : 0.3141305446624756 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05080747604370117 time for calcul the mask position with numpy : 0.03079962730407715 nb_pixel_total : 2057137 time to create 1 rle with new method : 0.2603335380554199 time for calcul the mask position with numpy : 0.0067827701568603516 nb_pixel_total : 16463 time to create 1 rle with old method : 0.018553733825683594 create new chi : 0.32363247871398926 time to delete rle : 0.0002429485321044922 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1418 TO DO : save crop sub photo not yet done ! save time : 0.13543701171875 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.12458539009094238 time for calcul the mask position with numpy : 0.21877551078796387 nb_pixel_total : 1325579 time to create 1 rle with new method : 0.10076618194580078 time for calcul the mask position with numpy : 0.006379842758178711 nb_pixel_total : 7434 time to create 1 rle with old method : 0.008301734924316406 time for calcul the mask position with numpy : 0.012006521224975586 nb_pixel_total : 727294 time to create 1 rle with new method : 0.3667140007019043 time for calcul the mask position with numpy : 0.01073598861694336 nb_pixel_total : 13293 time to create 1 rle with old method : 0.01538705825805664 create new chi : 0.7555770874023438 time to delete rle : 0.0007121562957763672 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3356 TO DO : save crop sub photo not yet done ! save time : 0.24106264114379883 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.044205427169799805 time for calcul the mask position with numpy : 0.020580053329467773 nb_pixel_total : 2061241 time to create 1 rle with new method : 0.41420698165893555 time for calcul the mask position with numpy : 0.006160259246826172 nb_pixel_total : 12359 time to create 1 rle with old method : 0.01384878158569336 create new chi : 0.4550306797027588 time to delete rle : 0.00021409988403320312 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1298 TO DO : save crop sub photo not yet done ! save time : 0.13919615745544434 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 0.7546262741088867 time for calcul the mask position with numpy : 0.19876623153686523 nb_pixel_total : 1922053 time to create 1 rle with new method : 0.202681303024292 time for calcul the mask position with numpy : 0.006417036056518555 nb_pixel_total : 5416 time to create 1 rle with old method : 0.006461143493652344 time for calcul the mask position with numpy : 0.006191253662109375 nb_pixel_total : 1163 time to create 1 rle with old method : 0.0013325214385986328 time for calcul the mask position with numpy : 0.007293224334716797 nb_pixel_total : 104352 time to create 1 rle with old method : 0.12391090393066406 time for calcul the mask position with numpy : 0.007421016693115234 nb_pixel_total : 10010 time to create 1 rle with old method : 0.01141214370727539 time for calcul the mask position with numpy : 0.0066339969635009766 nb_pixel_total : 5598 time to create 1 rle with old method : 0.006216764450073242 time for calcul the mask position with numpy : 0.006543159484863281 nb_pixel_total : 11019 time to create 1 rle with old method : 0.012239217758178711 time for calcul the mask position with numpy : 0.006494283676147461 nb_pixel_total : 6366 time to create 1 rle with old method : 0.0074079036712646484 time for calcul the mask position with numpy : 0.006646871566772461 nb_pixel_total : 3271 time to create 1 rle with old method : 0.0037682056427001953 time for calcul the mask position with numpy : 0.006584644317626953 nb_pixel_total : 1259 time to create 1 rle with old method : 0.001477956771850586 time for calcul the mask position with numpy : 0.0067901611328125 nb_pixel_total : 3093 time to create 1 rle with old method : 0.003412961959838867 create new chi : 0.6573195457458496 time to delete rle : 0.0006847381591796875 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3802 TO DO : save crop sub photo not yet done ! save time : 0.2668466567993164 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.10901570320129395 time for calcul the mask position with numpy : 0.020392656326293945 nb_pixel_total : 1943390 time to create 1 rle with new method : 0.03397774696350098 time for calcul the mask position with numpy : 0.007159709930419922 nb_pixel_total : 8924 time to create 1 rle with old method : 0.015056610107421875 time for calcul the mask position with numpy : 0.007016181945800781 nb_pixel_total : 3431 time to create 1 rle with old method : 0.005721330642700195 time for calcul the mask position with numpy : 0.007422685623168945 nb_pixel_total : 105624 time to create 1 rle with old method : 0.11788058280944824 time for calcul the mask position with numpy : 0.006110191345214844 nb_pixel_total : 12231 time to create 1 rle with old method : 0.013309001922607422 create new chi : 0.24865484237670898 time to delete rle : 0.00048542022705078125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3103 TO DO : save crop sub photo not yet done ! save time : 0.27621030807495117 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03406834602355957 time for calcul the mask position with numpy : 0.01818537712097168 nb_pixel_total : 1980377 time to create 1 rle with new method : 0.05930590629577637 time for calcul the mask position with numpy : 0.007048606872558594 nb_pixel_total : 93223 time to create 1 rle with old method : 0.10448551177978516 create new chi : 0.18935370445251465 time to delete rle : 0.0003170967102050781 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 2128 TO DO : save crop sub photo not yet done ! save time : 0.21012330055236816 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04696965217590332 time for calcul the mask position with numpy : 0.020517826080322266 nb_pixel_total : 1929927 time to create 1 rle with new method : 0.04267549514770508 time for calcul the mask position with numpy : 0.007058620452880859 nb_pixel_total : 114494 time to create 1 rle with old method : 0.12857723236083984 time for calcul the mask position with numpy : 0.006513118743896484 nb_pixel_total : 29179 time to create 1 rle with old method : 0.033109426498413086 create new chi : 0.2457106113433838 time to delete rle : 0.00045228004455566406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2688 TO DO : save crop sub photo not yet done ! save time : 0.20477867126464844 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 1.2467539310455322 time for calcul the mask position with numpy : 0.2586395740509033 nb_pixel_total : 2035747 time to create 1 rle with new method : 0.17565226554870605 time for calcul the mask position with numpy : 0.00934147834777832 nb_pixel_total : 8636 time to create 1 rle with old method : 0.013714790344238281 time for calcul the mask position with numpy : 0.016582727432250977 nb_pixel_total : 3500 time to create 1 rle with old method : 0.005628347396850586 time for calcul the mask position with numpy : 0.014992713928222656 nb_pixel_total : 6955 time to create 1 rle with old method : 0.011211872100830078 time for calcul the mask position with numpy : 0.015697717666625977 nb_pixel_total : 4590 time to create 1 rle with old method : 0.007062435150146484 time for calcul the mask position with numpy : 0.017198562622070312 nb_pixel_total : 8044 time to create 1 rle with old method : 0.010292768478393555 time for calcul the mask position with numpy : 0.006723165512084961 nb_pixel_total : 6128 time to create 1 rle with old method : 0.007892370223999023 create new chi : 0.5938761234283447 time to delete rle : 0.0008313655853271484 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2392 TO DO : save crop sub photo not yet done ! save time : 0.17763924598693848 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05016136169433594 time for calcul the mask position with numpy : 0.021823406219482422 nb_pixel_total : 1977040 time to create 1 rle with new method : 0.08475255966186523 time for calcul the mask position with numpy : 0.006617546081542969 nb_pixel_total : 90087 time to create 1 rle with old method : 0.10492324829101562 time for calcul the mask position with numpy : 0.006812334060668945 nb_pixel_total : 6473 time to create 1 rle with old method : 0.008378267288208008 create new chi : 0.23367691040039062 time to delete rle : 0.00046181678771972656 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2360 TO DO : save crop sub photo not yet done ! save time : 0.21558690071105957 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05829453468322754 time for calcul the mask position with numpy : 0.017166614532470703 nb_pixel_total : 1255463 time to create 1 rle with new method : 0.05324506759643555 time for calcul the mask position with numpy : 0.012143135070800781 nb_pixel_total : 802741 time to create 1 rle with new method : 0.02882218360900879 time for calcul the mask position with numpy : 0.006870269775390625 nb_pixel_total : 6758 time to create 1 rle with old method : 0.008243560791015625 time for calcul the mask position with numpy : 0.0071065425872802734 nb_pixel_total : 8638 time to create 1 rle with old method : 0.010573625564575195 create new chi : 0.14470648765563965 time to delete rle : 0.0006399154663085938 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 3722 TO DO : save crop sub photo not yet done ! save time : 0.24470233917236328 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5934185981750488 time for calcul the mask position with numpy : 0.10770630836486816 nb_pixel_total : 2041353 time to create 1 rle with new method : 0.19567561149597168 time for calcul the mask position with numpy : 0.00646519660949707 nb_pixel_total : 26222 time to create 1 rle with old method : 0.029161930084228516 time for calcul the mask position with numpy : 0.006345033645629883 nb_pixel_total : 1985 time to create 1 rle with old method : 0.0021965503692626953 time for calcul the mask position with numpy : 0.006256580352783203 nb_pixel_total : 4040 time to create 1 rle with old method : 0.00447535514831543 create new chi : 0.3686373233795166 time to delete rle : 0.0002951622009277344 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1678 TO DO : save crop sub photo not yet done ! save time : 0.15191245079040527 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03705596923828125 time for calcul the mask position with numpy : 0.01994800567626953 nb_pixel_total : 1971259 time to create 1 rle with new method : 0.13260269165039062 time for calcul the mask position with numpy : 0.0069599151611328125 nb_pixel_total : 102341 time to create 1 rle with old method : 0.11376118659973145 create new chi : 0.28098607063293457 time to delete rle : 0.0003063678741455078 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2098 TO DO : save crop sub photo not yet done ! save time : 0.18226027488708496 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.12796354293823242 time for calcul the mask position with numpy : 0.37217044830322266 nb_pixel_total : 1959336 time to create 1 rle with new method : 0.8451576232910156 time for calcul the mask position with numpy : 0.011322259902954102 nb_pixel_total : 7787 time to create 1 rle with old method : 0.008900880813598633 time for calcul the mask position with numpy : 0.006373405456542969 nb_pixel_total : 8127 time to create 1 rle with old method : 0.009291648864746094 time for calcul the mask position with numpy : 0.0073451995849609375 nb_pixel_total : 98350 time to create 1 rle with old method : 0.11201119422912598 create new chi : 1.3861656188964844 time to delete rle : 0.0005578994750976562 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 2980 TO DO : save crop sub photo not yet done ! save time : 0.6302874088287354 map_output_result : {1374762490: (0.0, 'Should be the crop_list due to order', 0), 1374762489: (0.0, 'Should be the crop_list due to order', 0), 1374762487: (0.0, 'Should be the crop_list due to order', 0.0), 1374762484: (0.0, 'Should be the crop_list due to order', 0), 1374762481: (0.0, 'Should be the crop_list due to order', 0), 1374762453: (0.0, 'Should be the crop_list due to order', 0), 1374762449: (0.0, 'Should be the crop_list due to order', 0), 1374762448: (0.0, 'Should be the crop_list due to order', 0), 1374762446: (0.0, 'Should be the crop_list due to order', 0), 1374762442: (0.0, 'Should be the crop_list due to order', 0), 1374762426: (0.0, 'Should be the crop_list due to order', 0), 1374762422: (0.0, 'Should be the crop_list due to order', 0), 1374762417: (0.0, 'Should be the crop_list due to order', 0), 1374762415: (0.0, 'Should be the crop_list due to order', 0), 1374762412: (0.0, 'Should be the crop_list due to order', 0), 1374762410: (0.0, 'Should be the crop_list due to order', 0), 1374762326: (0.0, 'Should be the crop_list due to order', 0), 1374762325: (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 [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] Looping around the photos to save general results len do output : 18 /1374762490.Didn't retrieve data . /1374762489.Didn't retrieve data . /1374762487.Didn't retrieve data . /1374762484.Didn't retrieve data . /1374762481.Didn't retrieve data . /1374762453.Didn't retrieve data . /1374762449.Didn't retrieve data . /1374762448.Didn't retrieve data . /1374762446.Didn't retrieve data . /1374762442.Didn't retrieve data . /1374762426.Didn't retrieve data . /1374762422.Didn't retrieve data . /1374762417.Didn't retrieve data . /1374762415.Didn't retrieve data . /1374762412.Didn't retrieve data . /1374762410.Didn't retrieve data . /1374762326.Didn't retrieve data . /1374762325.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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.019125938415527344 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.693381547927856 time spend to save output : 0.019733905792236328 total time spend for step 3 : 17.713115453720093 step4:ventilate_hashtags_in_portfolio Fri Aug 1 12:11:56 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 : 25582621 get user id for portfolio 25582621 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`=25582621 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','pet_clair','environnement','metal','pehd','carton','mal_croppe','flou','pet_fonce')) 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`=25582621 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','pet_clair','environnement','metal','pehd','carton','mal_croppe','flou','pet_fonce')) 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`=25582621 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','pet_clair','environnement','metal','pehd','carton','mal_croppe','flou','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25582714,25582715,25582716,25582717,25582718,25582719,25582720,25582721,25582722,25582723,25582724?tags=papier,autre,background,pet_clair,environnement,metal,pehd,carton,mal_croppe,flou,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] Looping around the photos to save general results len do output : 1 /25582621. 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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.2105388641357422 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.676760196685791 time spend to save output : 0.21085286140441895 total time spend for step 4 : 1.88761305809021 step5:final Fri Aug 1 12:11:57 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 : {1374762490: ('0.11536986132544579',), 1374762489: ('0.11536986132544579',), 1374762487: ('0.11536986132544579',), 1374762484: ('0.11536986132544579',), 1374762481: ('0.11536986132544579',), 1374762453: ('0.11536986132544579',), 1374762449: ('0.11536986132544579',), 1374762448: ('0.11536986132544579',), 1374762446: ('0.11536986132544579',), 1374762442: ('0.11536986132544579',), 1374762426: ('0.11536986132544579',), 1374762422: ('0.11536986132544579',), 1374762417: ('0.11536986132544579',), 1374762415: ('0.11536986132544579',), 1374762412: ('0.11536986132544579',), 1374762410: ('0.11536986132544579',), 1374762326: ('0.11536986132544579',), 1374762325: ('0.11536986132544579',)} new output for save of step final : {1374762490: ('0.11536986132544579',), 1374762489: ('0.11536986132544579',), 1374762487: ('0.11536986132544579',), 1374762484: ('0.11536986132544579',), 1374762481: ('0.11536986132544579',), 1374762453: ('0.11536986132544579',), 1374762449: ('0.11536986132544579',), 1374762448: ('0.11536986132544579',), 1374762446: ('0.11536986132544579',), 1374762442: ('0.11536986132544579',), 1374762426: ('0.11536986132544579',), 1374762422: ('0.11536986132544579',), 1374762417: ('0.11536986132544579',), 1374762415: ('0.11536986132544579',), 1374762412: ('0.11536986132544579',), 1374762410: ('0.11536986132544579',), 1374762326: ('0.11536986132544579',), 1374762325: ('0.11536986132544579',)} [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] Looping around the photos to save general results len do output : 18 /1374762490.Didn't retrieve data . /1374762489.Didn't retrieve data . /1374762487.Didn't retrieve data . /1374762484.Didn't retrieve data . /1374762481.Didn't retrieve data . /1374762453.Didn't retrieve data . /1374762449.Didn't retrieve data . /1374762448.Didn't retrieve data . /1374762446.Didn't retrieve data . /1374762442.Didn't retrieve data . /1374762426.Didn't retrieve data . /1374762422.Didn't retrieve data . /1374762417.Didn't retrieve data . /1374762415.Didn't retrieve data . /1374762412.Didn't retrieve data . /1374762410.Didn't retrieve data . /1374762326.Didn't retrieve data . /1374762325.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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.01764535903930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11292672157287598 time spend to save output : 0.01840662956237793 total time spend for step 5 : 0.1313333511352539 step6:blur_detection Fri Aug 1 12:11:58 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/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777.jpg resize: (1080, 1920) 1374762490 -2.7493839895714762 treat image : temp/1754043027_961413_1374762489_b008bb4222ad528f03f0c9b0739d9de0.jpg resize: (1080, 1920) 1374762489 -2.3611551853779633 treat image : temp/1754043027_961413_1374762487_092a91539ed996c2da9d37247e3464fa.jpg resize: (1080, 1920) 1374762487 -2.2604458956661464 treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953.jpg resize: (1080, 1920) 1374762484 -2.447483711040122 treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79.jpg resize: (1080, 1920) 1374762481 -2.3742741650685066 treat image : temp/1754043027_961413_1374762453_4b3178cca114a0f085e11341b0874c26.jpg resize: (1080, 1920) 1374762453 -1.70633145890674 treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10.jpg resize: (1080, 1920) 1374762449 -1.538434750450914 treat image : temp/1754043027_961413_1374762448_02691d96bb276ef7449e395ca3b92085.jpg resize: (1080, 1920) 1374762448 -2.0978655596455527 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902.jpg resize: (1080, 1920) 1374762446 -4.272455934850798 treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c.jpg resize: (1080, 1920) 1374762442 -1.4415393877056224 treat image : temp/1754043027_961413_1374762426_678a52126f0fca3d2e351638f6a571ec.jpg resize: (1080, 1920) 1374762426 -0.029132029731436224 treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23.jpg resize: (1080, 1920) 1374762422 -2.6690383346620257 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509.jpg resize: (1080, 1920) 1374762417 -0.29129456777386215 treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772.jpg resize: (1080, 1920) 1374762415 -2.592289117988725 treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a.jpg resize: (1080, 1920) 1374762412 -1.711338308950694 treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b.jpg resize: (1080, 1920) 1374762410 -2.210662460016501 treat image : temp/1754043027_961413_1374762326_d04b4068a7f405f10e0b315c8aa300a6.jpg resize: (1080, 1920) 1374762326 -2.32792173871742 treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2.jpg resize: (1080, 1920) 1374762325 -2.2637555108573806 treat image : temp/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777_rle_crop_3900386625_0.png resize: (198, 283) 1374767506 -2.198380869379752 treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386627_0.png resize: (127, 81) 1374767507 -1.674793865291008 treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386630_0.png resize: (87, 97) 1374767508 -0.5736074224587876 treat image : temp/1754043027_961413_1374762453_4b3178cca114a0f085e11341b0874c26_rle_crop_3900386634_0.png resize: (169, 152) 1374767509 -1.3613222411151857 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386639_0.png resize: (56, 89) 1374767510 -3.2055687173521497 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386640_0.png resize: (61, 47) 1374767511 -2.4332056668005184 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386641_0.png resize: (78, 82) 1374767512 -3.874164191460029 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386642_0.png resize: (104, 136) 1374767513 -2.448408263100203 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386643_0.png resize: (95, 163) 1374767514 -1.6451164161859049 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386644_0.png resize: (91, 104) 1374767515 -1.8209290317103317 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386648_0.png resize: (104, 74) 1374767516 0.30177291229663167 treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386649_0.png resize: (103, 176) 1374767517 -1.868130121495 treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386651_0.png resize: (89, 84) 1374767518 -3.0613548843616716 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386656_0.png resize: (124, 86) 1374767519 -1.538776491270287 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386659_0.png resize: (116, 79) 1374767520 0.4337411126468876 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386660_0.png resize: (72, 69) 1374767521 2.119489584247301 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386661_0.png resize: (106, 111) 1374767522 1.0805901877000865 treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772_rle_crop_3900386662_0.png resize: (104, 92) 1374767523 -2.5282810946997554 treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386667_0.png resize: (50, 104) 1374767524 2.1831510561791814 treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386668_0.png resize: (48, 52) 1374767525 0.2356481623546643 treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386672_0.png resize: (111, 110) 1374767526 -1.2874024632624128 treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386673_0.png resize: (159, 78) 1374767527 -2.110592009102334 treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386635_0.png resize: (105, 172) 1374767528 -1.2703673420377022 treat image : temp/1754043027_961413_1374762448_02691d96bb276ef7449e395ca3b92085_rle_crop_3900386638_0.png resize: (103, 170) 1374767529 -1.547191678780073 treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386652_0.png resize: (526, 375) 1374767530 -0.20826897140016093 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386658_0.png resize: (87, 79) 1374767531 -1.184464419685789 treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386664_0.png resize: (146, 120) 1374767532 -2.2643352931653036 treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386665_0.png resize: (82, 132) 1374767533 -1.0422299073145684 treat image : temp/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777_rle_crop_3900386624_0.png resize: (514, 354) 1374767582 -0.5137173931266962 treat image : temp/1754043027_961413_1374762489_b008bb4222ad528f03f0c9b0739d9de0_rle_crop_3900386626_0.png resize: (309, 267) 1374767583 -1.525157345187067 treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386628_0.png resize: (151, 195) 1374767584 -2.6002040371912285 treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386629_0.png resize: (891, 1070) 1374767586 -0.4995374568438198 treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386631_0.png resize: (507, 343) 1374767587 -1.3891297168353347 treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386632_0.png resize: (126, 74) 1374767588 -2.012108249638989 treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386633_0.png resize: (996, 1050) 1374767590 -0.38647061809024 treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386636_0.png resize: (949, 995) 1374767591 0.37833306999793387 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386646_0.png resize: (539, 343) 1374767592 -0.14727519917683424 treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386650_0.png resize: (526, 345) 1374767594 0.40545910253449985 treat image : temp/1754043027_961413_1374762426_678a52126f0fca3d2e351638f6a571ec_rle_crop_3900386653_0.png resize: (496, 364) 1374767595 -0.4406145876828644 treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23_rle_crop_3900386654_0.png resize: (205, 204) 1374767596 -3.0341140838015597 treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23_rle_crop_3900386655_0.png resize: (531, 393) 1374767598 -0.2493052791003927 treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386657_0.png resize: (135, 86) 1374767599 -2.0525613324984926 treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772_rle_crop_3900386663_0.png resize: (467, 337) 1374767600 -0.6100233094555516 treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386666_0.png resize: (984, 1176) 1374767602 -0.5532717684987176 treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386669_0.png resize: (170, 206) 1374767603 -1.9755351280714715 treat image : temp/1754043027_961413_1374762326_d04b4068a7f405f10e0b315c8aa300a6_rle_crop_3900386670_0.png resize: (504, 341) 1374767604 -0.4353638490652708 treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386671_0.png resize: (517, 343) 1374767606 -1.1349300378811085 treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386637_0.png resize: (73, 114) 1374767618 -3.410923681289687 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386645_0.png resize: (123, 114) 1374767620 -2.7728902947169916 treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386647_0.png resize: (38, 38) 1374767621 -5.065766531846195 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 : 68 time used for this insertion : 0.01618647575378418 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 68 time used for this insertion : 0.045847415924072266 save missing photos in datou_result : time spend for datou_step_exec : 15.870573043823242 time spend to save output : 0.06666207313537598 total time spend for step 6 : 15.937235116958618 step7:brightness Fri Aug 1 12:12:13 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/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777.jpg treat image : temp/1754043027_961413_1374762489_b008bb4222ad528f03f0c9b0739d9de0.jpg treat image : temp/1754043027_961413_1374762487_092a91539ed996c2da9d37247e3464fa.jpg treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953.jpg treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79.jpg treat image : temp/1754043027_961413_1374762453_4b3178cca114a0f085e11341b0874c26.jpg treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10.jpg treat image : temp/1754043027_961413_1374762448_02691d96bb276ef7449e395ca3b92085.jpg treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902.jpg treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c.jpg treat image : temp/1754043027_961413_1374762426_678a52126f0fca3d2e351638f6a571ec.jpg treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23.jpg treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509.jpg treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772.jpg treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a.jpg treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b.jpg treat image : temp/1754043027_961413_1374762326_d04b4068a7f405f10e0b315c8aa300a6.jpg treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2.jpg treat image : temp/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777_rle_crop_3900386625_0.png treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386627_0.png treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386630_0.png treat image : temp/1754043027_961413_1374762453_4b3178cca114a0f085e11341b0874c26_rle_crop_3900386634_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386639_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386640_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386641_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386642_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386643_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386644_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386648_0.png treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386649_0.png treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386651_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386656_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386659_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386660_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386661_0.png treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772_rle_crop_3900386662_0.png treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386667_0.png treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386668_0.png treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386672_0.png treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386673_0.png treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386635_0.png treat image : temp/1754043027_961413_1374762448_02691d96bb276ef7449e395ca3b92085_rle_crop_3900386638_0.png treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386652_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386658_0.png treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386664_0.png treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386665_0.png treat image : temp/1754043027_961413_1374762490_76b27b94fe078eec5bd497658c84c777_rle_crop_3900386624_0.png treat image : temp/1754043027_961413_1374762489_b008bb4222ad528f03f0c9b0739d9de0_rle_crop_3900386626_0.png treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386628_0.png treat image : temp/1754043027_961413_1374762484_0008e3a20578fe670375b3f458b19953_rle_crop_3900386629_0.png treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386631_0.png treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386632_0.png treat image : temp/1754043027_961413_1374762481_cac53651a97bd2784a4ac1a454129b79_rle_crop_3900386633_0.png treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386636_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386646_0.png treat image : temp/1754043027_961413_1374762442_20fbaefc486df786662fe83dba428e7c_rle_crop_3900386650_0.png treat image : temp/1754043027_961413_1374762426_678a52126f0fca3d2e351638f6a571ec_rle_crop_3900386653_0.png treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23_rle_crop_3900386654_0.png treat image : temp/1754043027_961413_1374762422_568dd27dbae6989f7de6b8e1623d1c23_rle_crop_3900386655_0.png treat image : temp/1754043027_961413_1374762417_47327cd9397c949d7c756011ad2a9509_rle_crop_3900386657_0.png treat image : temp/1754043027_961413_1374762415_af4149061250ed054b240762edc41772_rle_crop_3900386663_0.png treat image : temp/1754043027_961413_1374762412_bb47a8530599aa73f7d91573f0d57b3a_rle_crop_3900386666_0.png treat image : temp/1754043027_961413_1374762410_95da273ec6f794f14c4c4a02f52ee31b_rle_crop_3900386669_0.png treat image : temp/1754043027_961413_1374762326_d04b4068a7f405f10e0b315c8aa300a6_rle_crop_3900386670_0.png treat image : temp/1754043027_961413_1374762325_91d798ff9ba23f943c4a9354e5f44cb2_rle_crop_3900386671_0.png treat image : temp/1754043027_961413_1374762449_f3e3012a67e570939555d49c90dfcb10_rle_crop_3900386637_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386645_0.png treat image : temp/1754043027_961413_1374762446_b24fffa305b25198d6e6cb7bb4501902_rle_crop_3900386647_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 : 68 time used for this insertion : 0.016863107681274414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 68 time used for this insertion : 0.7609999179840088 save missing photos in datou_result : time spend for datou_step_exec : 4.449190139770508 time spend to save output : 0.7827169895172119 total time spend for step 7 : 5.23190712928772 step8:velours_tree Fri Aug 1 12:12:19 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.10426926612854004 time spend to save output : 5.7220458984375e-05 total time spend for step 8 : 0.10432648658752441 step9:send_mail_cod Fri Aug 1 12:12:19 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_P25582621_01-08-2025_12_12_19.pdf 25582714 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 .imagette255827141754043139 25582715 change filename to text .change filename to text .change filename to text .imagette255827151754043140 25582716 imagette255827161754043140 25582717 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 .imagette255827171754043140 25582719 imagette255827191754043142 25582720 imagette255827201754043142 25582721 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette255827211754043142 25582722 imagette255827221754043142 25582723 imagette255827231754043142 25582724 imagette255827241754043142 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25582621 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25582714,25582715,25582716,25582717,25582718,25582719,25582720,25582721,25582722,25582723,25582724?tags=papier,autre,background,pet_clair,environnement,metal,pehd,carton,mal_croppe,flou,pet_fonce args[1374762490] : ((1374762490, -2.7493839895714762, 492609224), (1374762490, 0.35843446851171606, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762489] : ((1374762489, -2.3611551853779633, 492609224), (1374762489, 0.5482846672499523, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762487] : ((1374762487, -2.2604458956661464, 492609224), (1374762487, 0.31942858895420273, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762484] : ((1374762484, -2.447483711040122, 492609224), (1374762484, 0.49425022475072716, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762481] : ((1374762481, -2.3742741650685066, 492609224), (1374762481, 0.4319189604281895, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762453] : ((1374762453, -1.70633145890674, 492688767), (1374762453, 0.4497890055477093, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762449] : ((1374762449, -1.538434750450914, 492688767), (1374762449, 0.32567036956568823, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762448] : ((1374762448, -2.0978655596455527, 492609224), (1374762448, 0.26938789209893, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762446] : ((1374762446, -4.272455934850798, 492609224), (1374762446, 0.3674700376954058, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762442] : ((1374762442, -1.4415393877056224, 492688767), (1374762442, 0.39448303644768656, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762426] : ((1374762426, -0.029132029731436224, 492688767), (1374762426, 0.4769895234703521, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762422] : ((1374762422, -2.6690383346620257, 492609224), (1374762422, 0.43952896303745426, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762417] : ((1374762417, -0.29129456777386215, 492688767), (1374762417, 0.2802281984540194, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762415] : ((1374762415, -2.592289117988725, 492609224), (1374762415, 0.4763236103572356, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762412] : ((1374762412, -1.711338308950694, 492688767), (1374762412, 0.5021786280466494, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762410] : ((1374762410, -2.210662460016501, 492609224), (1374762410, 0.43967601543467827, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762326] : ((1374762326, -2.32792173871742, 492609224), (1374762326, 0.5025520578602791, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com args[1374762325] : ((1374762325, -2.2637555108573806, 492609224), (1374762325, 0.3073571770664253, 2107752395), '0.11536986132544579') We are sending mail with results at report@fotonower.com refus_total : 0.11536986132544579 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=25582621 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_P25582621_01-08-2025_12_12_19.pdf results_Auto_P25582621_01-08-2025_12_12_19.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582621_01-08-2025_12_12_19.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','25582621','results_Auto_P25582621_01-08-2025_12_12_19.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582621_01-08-2025_12_12_19.pdf','pdf','','0.58','0.11536986132544579') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25582621

https://www.fotonower.com/image?json=false&list_photos_id=1374762490
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762489
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762487
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762484
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762481
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762453
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762449
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762448
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762446
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762442
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762426
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762422
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762417
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762415
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762412
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762410
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762326
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374762325
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25582714?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25582715?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25582717?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25582721?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582621_01-08-2025_12_12_19.pdf.

Lien vers velours :https://www.fotonower.com/velours/25582714,25582715,25582716,25582717,25582718,25582719,25582720,25582721,25582722,25582723,25582724?tags=papier,autre,background,pet_clair,environnement,metal,pehd,carton,mal_croppe,flou,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 01 Aug 2025 10:12:24 GMT Content-Length: 0 Connection: close X-Message-Id: lJUT5IgpSaylz_y4R0edYw 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 [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] 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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.316648006439209 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.590246677398682 time spend to save output : 0.3169856071472168 total time spend for step 9 : 5.907232284545898 step10:split_time_score Fri Aug 1 12:12:25 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'}] (('11', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01082025 25582621 Nombre de photos uploadées : 18 / 23040 (0%) 01082025 25582621 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 01082025 25582621 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008847713470458984 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20344758033752441 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.129726261091821 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581210_01-08-2025_11_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581210 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`=25581210 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582614 order by id desc limit 1 Qualite : 0.20749459187610225 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581212 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`=25581212 AND mptpi.`type`=3594 To do Qualite : 0.24190254870756175 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581213_01-08-2025_10_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581213 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`=25581213 AND mptpi.`type`=3594 To do Qualite : 0.05313503689236112 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581215_01-08-2025_10_42_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581215 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`=25581215 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582617 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582619 order by id desc limit 1 Qualite : 0.11536986132544579 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582621_01-08-2025_12_12_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582621 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`=25582621 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01082025': {'nb_upload': 18, '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 [1374762490, 1374762489, 1374762487, 1374762484, 1374762481, 1374762453, 1374762449, 1374762448, 1374762446, 1374762442, 1374762426, 1374762422, 1374762417, 1374762415, 1374762412, 1374762410, 1374762326, 1374762325] Looping around the photos to save general results len do output : 1 /25582621Didn'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, '3422024') ('3318', '25582621', '1374762490', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762489', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762487', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762484', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762481', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762453', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762449', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762448', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762446', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762442', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762426', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762422', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762417', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762415', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762412', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762410', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762326', None, None, None, None, None, '3422024') ('3318', None, None, None, None, None, None, None, '3422024') ('3318', '25582621', '1374762325', None, None, None, None, None, '3422024') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.10675692558288574 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6055808067321777 time spend to save output : 0.10704708099365234 total time spend for step 10 : 3.71262788772583 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 65.01user 31.83system 2:04.46elapsed 77%CPU (0avgtext+0avgdata 2983392maxresident)k 508608inputs+39256outputs (88major+2123138minor)pagefaults 0swaps