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 : 2769032 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 : ['3636058'] with mtr_portfolio_ids : ['26325174'] and first list_photo_ids : [] new path : /proc/2769032/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.6539478302001953 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 29 12:10:28 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 : 6823 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 12:10:31.177538: 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-29 12:10:31.185472: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 12:10:31.186909: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fda78000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 12:10:31.186959: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 12:10:31.189547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 12:10:31.336494: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x63d7840 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 12:10:31.336560: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 12:10:31.338064: 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-29 12:10:31.338557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:10:31.342317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:10:31.345235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:10:31.345685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:10:31.348231: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:10:31.349565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:10:31.354994: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:10:31.356565: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:10:31.356654: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:10:31.357487: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 12:10:31.357506: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 12:10:31.357517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 12:10:31.358949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6271 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-29 12:10:31.692261: 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-29 12:10:31.692404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:10:31.692425: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:10:31.692447: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:10:31.692466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:10:31.692487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:10:31.692506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:10:31.692530: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:10:31.693573: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:10:31.694899: 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-29 12:10:31.694937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 12:10:31.694954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:10:31.694970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 12:10:31.694986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 12:10:31.695002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 12:10:31.695018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 12:10:31.695034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 12:10:31.696018: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 12:10:31.696059: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 12:10:31.696068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 12:10:31.696076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 12:10:31.697191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6271 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-29 12:10:39.583610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 12:10:39.764631: 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 34.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 : 6 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 45.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: 32.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 : 5 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 : 13 Detection mask done ! Trying to reset tf kernel 2769575 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1534 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 6823 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.0008835792541503906 nb_pixel_total : 33803 time to create 1 rle with old method : 0.0374751091003418 length of segment : 225 time for calcul the mask position with numpy : 0.00029754638671875 nb_pixel_total : 16026 time to create 1 rle with old method : 0.017351627349853516 length of segment : 160 time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 5425 time to create 1 rle with old method : 0.005822658538818359 length of segment : 183 time for calcul the mask position with numpy : 0.00037169456481933594 nb_pixel_total : 21253 time to create 1 rle with old method : 0.02289867401123047 length of segment : 158 time for calcul the mask position with numpy : 0.01321101188659668 nb_pixel_total : 683874 time to create 1 rle with new method : 0.024100780487060547 length of segment : 868 time for calcul the mask position with numpy : 0.0016040802001953125 nb_pixel_total : 113512 time to create 1 rle with old method : 0.11709165573120117 length of segment : 518 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 8894 time to create 1 rle with old method : 0.010049581527709961 length of segment : 53 time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 3569 time to create 1 rle with old method : 0.0040128231048583984 length of segment : 88 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 5391 time to create 1 rle with old method : 0.006064176559448242 length of segment : 117 time for calcul the mask position with numpy : 0.00024366378784179688 nb_pixel_total : 10928 time to create 1 rle with old method : 0.012143611907958984 length of segment : 224 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 4330 time to create 1 rle with old method : 0.004933595657348633 length of segment : 55 time for calcul the mask position with numpy : 0.0003693103790283203 nb_pixel_total : 20728 time to create 1 rle with old method : 0.02265453338623047 length of segment : 187 time for calcul the mask position with numpy : 0.0020570755004882812 nb_pixel_total : 127905 time to create 1 rle with old method : 0.1428675651550293 length of segment : 562 time for calcul the mask position with numpy : 0.0004551410675048828 nb_pixel_total : 21045 time to create 1 rle with old method : 0.024029970169067383 length of segment : 186 time for calcul the mask position with numpy : 9.989738464355469e-05 nb_pixel_total : 3165 time to create 1 rle with old method : 0.0036072731018066406 length of segment : 112 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 7855 time to create 1 rle with old method : 0.008652448654174805 length of segment : 148 time for calcul the mask position with numpy : 0.00012063980102539062 nb_pixel_total : 5745 time to create 1 rle with old method : 0.006373167037963867 length of segment : 97 time for calcul the mask position with numpy : 0.00027489662170410156 nb_pixel_total : 13017 time to create 1 rle with old method : 0.01421976089477539 length of segment : 183 time for calcul the mask position with numpy : 0.0014503002166748047 nb_pixel_total : 102111 time to create 1 rle with old method : 0.10708260536193848 length of segment : 507 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 31266 time to create 1 rle with old method : 0.034578561782836914 length of segment : 226 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 3224 time to create 1 rle with old method : 0.0037488937377929688 length of segment : 56 time for calcul the mask position with numpy : 0.0025103092193603516 nb_pixel_total : 165538 time to create 1 rle with new method : 0.0067446231842041016 length of segment : 693 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 9499 time to create 1 rle with old method : 0.01025390625 length of segment : 133 time for calcul the mask position with numpy : 0.0002696514129638672 nb_pixel_total : 18063 time to create 1 rle with old method : 0.019275426864624023 length of segment : 201 time for calcul the mask position with numpy : 0.002931833267211914 nb_pixel_total : 107737 time to create 1 rle with old method : 0.11214828491210938 length of segment : 524 time for calcul the mask position with numpy : 0.00012993812561035156 nb_pixel_total : 2748 time to create 1 rle with old method : 0.0031359195709228516 length of segment : 40 time for calcul the mask position with numpy : 0.0007381439208984375 nb_pixel_total : 18936 time to create 1 rle with old method : 0.020425796508789062 length of segment : 293 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 13509 time to create 1 rle with old method : 0.014338254928588867 length of segment : 154 time for calcul the mask position with numpy : 0.0005624294281005859 nb_pixel_total : 15800 time to create 1 rle with old method : 0.017059326171875 length of segment : 175 time for calcul the mask position with numpy : 0.00038814544677734375 nb_pixel_total : 9252 time to create 1 rle with old method : 0.010150909423828125 length of segment : 130 time for calcul the mask position with numpy : 0.0021610260009765625 nb_pixel_total : 99415 time to create 1 rle with old method : 0.1028282642364502 length of segment : 514 time for calcul the mask position with numpy : 0.0007562637329101562 nb_pixel_total : 38811 time to create 1 rle with old method : 0.04166436195373535 length of segment : 170 time for calcul the mask position with numpy : 0.012781620025634766 nb_pixel_total : 569509 time to create 1 rle with new method : 0.025898218154907227 length of segment : 1407 time for calcul the mask position with numpy : 0.00022745132446289062 nb_pixel_total : 6046 time to create 1 rle with old method : 0.00655674934387207 length of segment : 79 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 5701 time to create 1 rle with old method : 0.006851673126220703 length of segment : 53 time for calcul the mask position with numpy : 0.0012581348419189453 nb_pixel_total : 37890 time to create 1 rle with old method : 0.03965044021606445 length of segment : 464 time for calcul the mask position with numpy : 0.0008463859558105469 nb_pixel_total : 39050 time to create 1 rle with old method : 0.04184985160827637 length of segment : 175 time for calcul the mask position with numpy : 0.00042319297790527344 nb_pixel_total : 11262 time to create 1 rle with old method : 0.012400627136230469 length of segment : 141 time for calcul the mask position with numpy : 0.00052642822265625 nb_pixel_total : 35962 time to create 1 rle with old method : 0.0484161376953125 length of segment : 157 time for calcul the mask position with numpy : 0.002512216567993164 nb_pixel_total : 103762 time to create 1 rle with old method : 0.11583542823791504 length of segment : 258 time for calcul the mask position with numpy : 0.0002911090850830078 nb_pixel_total : 5423 time to create 1 rle with old method : 0.00634312629699707 length of segment : 97 time for calcul the mask position with numpy : 0.0005860328674316406 nb_pixel_total : 8746 time to create 1 rle with old method : 0.00993037223815918 length of segment : 219 time for calcul the mask position with numpy : 0.0006134510040283203 nb_pixel_total : 16542 time to create 1 rle with old method : 0.018587112426757812 length of segment : 226 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 9304 time to create 1 rle with old method : 0.011013031005859375 length of segment : 176 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 3863 time to create 1 rle with old method : 0.0046291351318359375 length of segment : 133 time for calcul the mask position with numpy : 0.0008697509765625 nb_pixel_total : 22019 time to create 1 rle with old method : 0.025191068649291992 length of segment : 432 time spent for convertir_results : 3.1534006595611572 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 46 chid ids of type : 3594 Number RLEs to save : 11957 save missing photos in datou_result : time spend for datou_step_exec : 24.004918336868286 time spend to save output : 111.44236826896667 total time spend for step 1 : 135.44728660583496 step2:crop_condition Fri Aug 29 12:12:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 12 ! batch 1 Loaded 46 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/1756462366_2769032 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 : 5.4706079959869385 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462373_2769032 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.797828197479248 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/1756462382_2769032 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.525580644607544 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462388_2769032 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8085191249847412 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756462389_2769032 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7072768211364746 we have finished the crop for the class : pet_fonce 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] Looping around the photos to save general results len do output : 46 /1380084194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084202Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084207Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084213Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380084256Didn'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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 150 time used for this insertion : 0.383638858795166 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.425405979156494 time spend to save output : 0.3855702877044678 total time spend for step 2 : 26.810976266860962 step3:rle_unique_nms_with_priority Fri Aug 29 12:13:10 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 46 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.5881602764129639 time for calcul the mask position with numpy : 0.05734133720397949 nb_pixel_total : 1190813 time to create 1 rle with new method : 0.16587424278259277 time for calcul the mask position with numpy : 0.005971193313598633 nb_pixel_total : 8894 time to create 1 rle with old method : 0.009746313095092773 time for calcul the mask position with numpy : 0.006153583526611328 nb_pixel_total : 113512 time to create 1 rle with old method : 0.1282052993774414 time for calcul the mask position with numpy : 0.010877132415771484 nb_pixel_total : 683874 time to create 1 rle with new method : 0.0981893539428711 time for calcul the mask position with numpy : 0.0059435367584228516 nb_pixel_total : 21253 time to create 1 rle with old method : 0.024287700653076172 time for calcul the mask position with numpy : 0.005753517150878906 nb_pixel_total : 5425 time to create 1 rle with old method : 0.00619816780090332 time for calcul the mask position with numpy : 0.005849361419677734 nb_pixel_total : 16026 time to create 1 rle with old method : 0.017749547958374023 time for calcul the mask position with numpy : 0.0057680606842041016 nb_pixel_total : 33803 time to create 1 rle with old method : 0.03854060173034668 create new chi : 0.6084303855895996 time to delete rle : 0.020833969116210938 batch 1 Loaded 15 chid ids of type : 3594 +++++++++Number RLEs to save : 5410 TO DO : save crop sub photo not yet done ! save time : 46.5013382434845 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.36017441749572754 time for calcul the mask position with numpy : 0.1634676456451416 nb_pixel_total : 1897123 time to create 1 rle with new method : 0.08574104309082031 time for calcul the mask position with numpy : 0.006547451019287109 nb_pixel_total : 3165 time to create 1 rle with old method : 0.003564596176147461 time for calcul the mask position with numpy : 0.006415128707885742 nb_pixel_total : 461 time to create 1 rle with old method : 0.0008924007415771484 time for calcul the mask position with numpy : 0.0071582794189453125 nb_pixel_total : 127905 time to create 1 rle with old method : 0.15349459648132324 time for calcul the mask position with numpy : 0.006048917770385742 nb_pixel_total : 20728 time to create 1 rle with old method : 0.022239208221435547 time for calcul the mask position with numpy : 0.006058692932128906 nb_pixel_total : 4330 time to create 1 rle with old method : 0.005560398101806641 time for calcul the mask position with numpy : 0.010621309280395508 nb_pixel_total : 10928 time to create 1 rle with old method : 0.011912107467651367 time for calcul the mask position with numpy : 0.005827903747558594 nb_pixel_total : 5391 time to create 1 rle with old method : 0.005735635757446289 time for calcul the mask position with numpy : 0.00626826286315918 nb_pixel_total : 3569 time to create 1 rle with old method : 0.0036973953247070312 create new chi : 0.5220251083374023 time to delete rle : 0.0005667209625244141 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3953 TO DO : save crop sub photo not yet done ! save time : 2.491990804672241 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08315825462341309 time for calcul the mask position with numpy : 0.02615189552307129 nb_pixel_total : 1944872 time to create 1 rle with new method : 0.4932858943939209 time for calcul the mask position with numpy : 0.008137941360473633 nb_pixel_total : 102111 time to create 1 rle with old method : 0.11348628997802734 time for calcul the mask position with numpy : 0.006747007369995117 nb_pixel_total : 13017 time to create 1 rle with old method : 0.014906644821166992 time for calcul the mask position with numpy : 0.006801605224609375 nb_pixel_total : 5745 time to create 1 rle with old method : 0.006583452224731445 time for calcul the mask position with numpy : 0.006737232208251953 nb_pixel_total : 7855 time to create 1 rle with old method : 0.008844375610351562 create new chi : 0.6923925876617432 time to delete rle : 0.0005629062652587891 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2950 TO DO : save crop sub photo not yet done ! save time : 1.1409928798675537 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07558321952819824 time for calcul the mask position with numpy : 0.03434944152832031 nb_pixel_total : 2039110 time to create 1 rle with new method : 0.07668137550354004 time for calcul the mask position with numpy : 0.006592750549316406 nb_pixel_total : 3224 time to create 1 rle with old method : 0.003646373748779297 time for calcul the mask position with numpy : 0.0070154666900634766 nb_pixel_total : 31266 time to create 1 rle with old method : 0.03478288650512695 create new chi : 0.16344141960144043 time to delete rle : 0.0003044605255126953 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1644 TO DO : save crop sub photo not yet done ! save time : 0.23050165176391602 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.1464684009552002 time for calcul the mask position with numpy : 0.09922933578491211 nb_pixel_total : 1880500 time to create 1 rle with new method : 0.19010090827941895 time for calcul the mask position with numpy : 0.006712913513183594 nb_pixel_total : 18063 time to create 1 rle with old method : 0.020240306854248047 time for calcul the mask position with numpy : 0.0075681209564208984 nb_pixel_total : 9499 time to create 1 rle with old method : 0.010774850845336914 time for calcul the mask position with numpy : 0.008574485778808594 nb_pixel_total : 165538 time to create 1 rle with new method : 0.09410691261291504 create new chi : 0.447312593460083 time to delete rle : 0.0004038810729980469 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3134 TO DO : save crop sub photo not yet done ! save time : 0.38802599906921387 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07145833969116211 time for calcul the mask position with numpy : 0.07694554328918457 nb_pixel_total : 1944179 time to create 1 rle with new method : 0.09822273254394531 time for calcul the mask position with numpy : 0.00673675537109375 nb_pixel_total : 18936 time to create 1 rle with old method : 0.021515607833862305 time for calcul the mask position with numpy : 0.008167028427124023 nb_pixel_total : 2748 time to create 1 rle with old method : 0.003368854522705078 time for calcul the mask position with numpy : 0.008854150772094727 nb_pixel_total : 107737 time to create 1 rle with old method : 0.12459731101989746 create new chi : 0.3588879108428955 time to delete rle : 0.0008678436279296875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2794 TO DO : save crop sub photo not yet done ! save time : 0.3195643424987793 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.052869319915771484 time for calcul the mask position with numpy : 0.09810304641723633 nb_pixel_total : 2044291 time to create 1 rle with new method : 0.11500287055969238 time for calcul the mask position with numpy : 0.0069692134857177734 nb_pixel_total : 15800 time to create 1 rle with old method : 0.01821756362915039 time for calcul the mask position with numpy : 0.007440328598022461 nb_pixel_total : 13509 time to create 1 rle with old method : 0.015424013137817383 create new chi : 0.27204132080078125 time to delete rle : 0.00039196014404296875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1738 TO DO : save crop sub photo not yet done ! save time : 0.5247714519500732 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.15007519721984863 time for calcul the mask position with numpy : 0.054624080657958984 nb_pixel_total : 1356613 time to create 1 rle with new method : 0.14795470237731934 time for calcul the mask position with numpy : 0.016519546508789062 nb_pixel_total : 569509 time to create 1 rle with new method : 0.11209750175476074 time for calcul the mask position with numpy : 0.006559848785400391 nb_pixel_total : 38811 time to create 1 rle with old method : 0.04331612586975098 time for calcul the mask position with numpy : 0.007443428039550781 nb_pixel_total : 99415 time to create 1 rle with old method : 0.10896635055541992 time for calcul the mask position with numpy : 0.007082223892211914 nb_pixel_total : 9252 time to create 1 rle with old method : 0.010394811630249023 create new chi : 0.5301809310913086 time to delete rle : 0.0008127689361572266 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 5522 TO DO : save crop sub photo not yet done ! save time : 0.6110641956329346 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.060564279556274414 time for calcul the mask position with numpy : 0.03465700149536133 nb_pixel_total : 2061853 time to create 1 rle with new method : 0.10055208206176758 time for calcul the mask position with numpy : 0.00733637809753418 nb_pixel_total : 5701 time to create 1 rle with old method : 0.006560325622558594 time for calcul the mask position with numpy : 0.006542682647705078 nb_pixel_total : 6046 time to create 1 rle with old method : 0.006837606430053711 create new chi : 0.17155861854553223 time to delete rle : 0.00026226043701171875 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1344 TO DO : save crop sub photo not yet done ! save time : 0.5718228816986084 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04029369354248047 time for calcul the mask position with numpy : 0.0226743221282959 nb_pixel_total : 1996660 time to create 1 rle with new method : 0.09742236137390137 time for calcul the mask position with numpy : 0.006735086441040039 nb_pixel_total : 39050 time to create 1 rle with old method : 0.042389869689941406 time for calcul the mask position with numpy : 0.0061686038970947266 nb_pixel_total : 37890 time to create 1 rle with old method : 0.04149627685546875 create new chi : 0.22760009765625 time to delete rle : 0.00038504600524902344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2358 TO DO : save crop sub photo not yet done ! save time : 0.608222484588623 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04092764854431152 time for calcul the mask position with numpy : 0.07665634155273438 nb_pixel_total : 2062338 time to create 1 rle with new method : 0.2844376564025879 time for calcul the mask position with numpy : 0.0063762664794921875 nb_pixel_total : 11262 time to create 1 rle with old method : 0.014721155166625977 create new chi : 0.38594841957092285 time to delete rle : 0.0002918243408203125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1362 TO DO : save crop sub photo not yet done ! save time : 0.5464568138122559 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.6148350238800049 time for calcul the mask position with numpy : 0.07113075256347656 nb_pixel_total : 1867979 time to create 1 rle with new method : 0.0979013442993164 time for calcul the mask position with numpy : 0.00654911994934082 nb_pixel_total : 22019 time to create 1 rle with old method : 0.02518296241760254 time for calcul the mask position with numpy : 0.0064885616302490234 nb_pixel_total : 3863 time to create 1 rle with old method : 0.004195451736450195 time for calcul the mask position with numpy : 0.006287097930908203 nb_pixel_total : 9304 time to create 1 rle with old method : 0.010447502136230469 time for calcul the mask position with numpy : 0.007953405380249023 nb_pixel_total : 16542 time to create 1 rle with old method : 0.018266677856445312 time for calcul the mask position with numpy : 0.006460428237915039 nb_pixel_total : 8746 time to create 1 rle with old method : 0.00999593734741211 time for calcul the mask position with numpy : 0.007660865783691406 nb_pixel_total : 5423 time to create 1 rle with old method : 0.0061914920806884766 time for calcul the mask position with numpy : 0.006424903869628906 nb_pixel_total : 103762 time to create 1 rle with old method : 0.11391496658325195 time for calcul the mask position with numpy : 0.007669687271118164 nb_pixel_total : 35962 time to create 1 rle with old method : 0.04022693634033203 create new chi : 0.46298861503601074 time to delete rle : 0.0012133121490478516 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 4476 TO DO : save crop sub photo not yet done ! save time : 0.9214718341827393 map_output_result : {1380076718: (0.0, 'Should be the crop_list due to order', 0), 1380076715: (0.0, 'Should be the crop_list due to order', 0), 1380076713: (0.0, 'Should be the crop_list due to order', 0), 1380076706: (0.0, 'Should be the crop_list due to order', 0), 1380076687: (0.0, 'Should be the crop_list due to order', 0), 1380076686: (0.0, 'Should be the crop_list due to order', 0), 1380076657: (0.0, 'Should be the crop_list due to order', 0), 1380076645: (0.0, 'Should be the crop_list due to order', 0), 1380076481: (0.0, 'Should be the crop_list due to order', 0), 1380076453: (0.0, 'Should be the crop_list due to order', 0), 1380076426: (0.0, 'Should be the crop_list due to order', 0), 1380076398: (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 [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] Looping around the photos to save general results len do output : 12 /1380076718.Didn't retrieve data . /1380076715.Didn't retrieve data . /1380076713.Didn't retrieve data . /1380076706.Didn't retrieve data . /1380076687.Didn't retrieve data . /1380076686.Didn't retrieve data . /1380076657.Didn't retrieve data . /1380076645.Didn't retrieve data . /1380076481.Didn't retrieve data . /1380076453.Didn't retrieve data . /1380076426.Didn't retrieve data . /1380076398.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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01767587661743164 save_final save missing photos in datou_result : time spend for datou_step_exec : 62.577375173568726 time spend to save output : 0.018085956573486328 total time spend for step 3 : 62.59546113014221 step4:ventilate_hashtags_in_portfolio Fri Aug 29 12:14: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 beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26325174 get user id for portfolio 26325174 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`=26325174 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','carton','metal','pet_clair','pehd','background','pet_fonce','mal_croppe','papier','autre')) 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`=26325174 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','carton','metal','pet_clair','pehd','background','pet_fonce','mal_croppe','papier','autre')) 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`=26325174 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','carton','metal','pet_clair','pehd','background','pet_fonce','mal_croppe','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26325486,26325487,26325488,26325489,26325490,26325491,26325492,26325493,26325494,26325495,26325496?tags=environnement,flou,carton,metal,pet_clair,pehd,background,pet_fonce,mal_croppe,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] Looping around the photos to save general results len do output : 1 /26325174. 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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.017449140548706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7956993579864502 time spend to save output : 0.01782393455505371 total time spend for step 4 : 1.813523292541504 step5:final Fri Aug 29 12:14:14 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 : {1380076718: ('0.10436234085648151',), 1380076715: ('0.10436234085648151',), 1380076713: ('0.10436234085648151',), 1380076706: ('0.10436234085648151',), 1380076687: ('0.10436234085648151',), 1380076686: ('0.10436234085648151',), 1380076657: ('0.10436234085648151',), 1380076645: ('0.10436234085648151',), 1380076481: ('0.10436234085648151',), 1380076453: ('0.10436234085648151',), 1380076426: ('0.10436234085648151',), 1380076398: ('0.10436234085648151',)} new output for save of step final : {1380076718: ('0.10436234085648151',), 1380076715: ('0.10436234085648151',), 1380076713: ('0.10436234085648151',), 1380076706: ('0.10436234085648151',), 1380076687: ('0.10436234085648151',), 1380076686: ('0.10436234085648151',), 1380076657: ('0.10436234085648151',), 1380076645: ('0.10436234085648151',), 1380076481: ('0.10436234085648151',), 1380076453: ('0.10436234085648151',), 1380076426: ('0.10436234085648151',), 1380076398: ('0.10436234085648151',)} [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] Looping around the photos to save general results len do output : 12 /1380076718.Didn't retrieve data . /1380076715.Didn't retrieve data . /1380076713.Didn't retrieve data . /1380076706.Didn't retrieve data . /1380076687.Didn't retrieve data . /1380076686.Didn't retrieve data . /1380076657.Didn't retrieve data . /1380076645.Didn't retrieve data . /1380076481.Didn't retrieve data . /1380076453.Didn't retrieve data . /1380076426.Didn't retrieve data . /1380076398.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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.018277883529663086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1346728801727295 time spend to save output : 0.018926382064819336 total time spend for step 5 : 0.15359926223754883 step6:blur_detection Fri Aug 29 12:14:15 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/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a.jpg resize: (1080, 1920) 1380076718 -3.3805136463972927 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52.jpg resize: (1080, 1920) 1380076715 -2.0689504797848555 treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff.jpg resize: (1080, 1920) 1380076713 -0.21998109419108805 treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa.jpg resize: (1080, 1920) 1380076706 0.08917817303402449 treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949.jpg resize: (1080, 1920) 1380076687 0.7631416697119142 treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5.jpg resize: (1080, 1920) 1380076686 -3.8016859083624457 treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d.jpg resize: (1080, 1920) 1380076657 -0.7457889339946556 treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f.jpg resize: (1080, 1920) 1380076645 -0.06089063913181083 treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265.jpg resize: (1080, 1920) 1380076481 -0.26661136981938277 treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f.jpg resize: (1080, 1920) 1380076453 -2.6693153171766677 treat image : temp/1756462226_2769032_1380076426_385e6e6bea5e9b9da570fd883f4fad0a.jpg resize: (1080, 1920) 1380076426 1.9674583760131665 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726.jpg resize: (1080, 1920) 1380076398 -2.382925417284786 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294855_0.png resize: (160, 165) 1380084194 -1.7612204439569212 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294854_0.png resize: (225, 207) 1380084195 -0.13150010019448347 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294857_0.png resize: (157, 229) 1380084196 -4.788117497160214 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294860_0.png resize: (51, 225) 1380084197 -2.2053214482546757 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294864_0.png resize: (50, 107) 1380084198 20.0 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294868_0.png resize: (112, 48) 1380084199 -2.6000352908682447 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294862_0.png resize: (115, 114) 1380084200 -0.7072266876543363 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294865_0.png resize: (187, 185) 1380084201 -0.48862795901549017 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294861_0.png resize: (88, 52) 1380084202 1.4884556029521836 treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294871_0.png resize: (183, 130) 1380084203 -0.4081746537997395 treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294869_0.png resize: (148, 90) 1380084204 -1.38020560516382 treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294876_0.png resize: (127, 108) 1380084205 -0.5433702074491991 treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294880_0.png resize: (247, 209) 1380084206 -2.161659002532843 treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d_rle_crop_3935294882_0.png resize: (174, 157) 1380084207 -1.3363162138846079 treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294883_0.png resize: (139, 137) 1380084208 -2.013601542017662 treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f_rle_crop_3935294889_0.png resize: (464, 176) 1380084209 -2.0575749345504586 treat image : temp/1756462226_2769032_1380076426_385e6e6bea5e9b9da570fd883f4fad0a_rle_crop_3935294891_0.png resize: (138, 140) 1380084210 0.4253997121944703 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294898_0.png resize: (131, 64) 1380084211 -2.652606668368563 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294897_0.png resize: (160, 175) 1380084212 -2.1665773402271045 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294895_0.png resize: (205, 72) 1380084213 -2.3228229355900796 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294896_0.png resize: (222, 106) 1380084214 -1.269171419051914 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294894_0.png resize: (97, 95) 1380084215 -1.5149868442865422 treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294875_0.png resize: (604, 391) 1380084216 -1.0436423755999515 treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265_rle_crop_3935294887_0.png resize: (79, 130) 1380084217 -1.1015353362436529 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294858_0.png resize: (857, 1017) 1380084227 -0.5430953734920567 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294856_0.png resize: (155, 63) 1380084229 -3.5549236332301994 treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294859_0.png resize: (517, 350) 1380084230 -0.041095390928749496 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294863_0.png resize: (224, 91) 1380084231 -1.932974892672953 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294867_0.png resize: (186, 184) 1380084233 -0.5408025785073994 treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294866_0.png resize: (557, 367) 1380084234 0.17791849542667362 treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294872_0.png resize: (503, 337) 1380084235 0.512566482279238 treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294870_0.png resize: (97, 81) 1380084237 -3.0365690777921044 treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa_rle_crop_3935294873_0.png resize: (210, 217) 1380084238 -2.329152450518875 treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa_rle_crop_3935294874_0.png resize: (53, 73) 1380084239 -1.0124974836918703 treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294877_0.png resize: (201, 129) 1380084241 -2.521888225357479 treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294879_0.png resize: (40, 79) 1380084242 2.190878496605757 treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294878_0.png resize: (522, 340) 1380084243 -0.3400209304389788 treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294886_0.png resize: (940, 907) 1380084244 -0.663192911362574 treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294884_0.png resize: (514, 334) 1380084245 -0.1721885367273143 treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265_rle_crop_3935294888_0.png resize: (38, 249) 1380084246 -0.9628145987469077 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294893_0.png resize: (247, 619) 1380084247 -1.899767856230588 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294899_0.png resize: (404, 155) 1380084248 -2.544069329680182 treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294892_0.png resize: (157, 263) 1380084249 0.498222304447418 treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d_rle_crop_3935294881_0.png resize: (154, 118) 1380084253 -0.2372898168082177 treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294885_0.png resize: (164, 285) 1380084254 0.3811230449186042 treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f_rle_crop_3935294890_0.png resize: (173, 307) 1380084256 -1.1550500700502702 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 : 58 time used for this insertion : 0.016707420349121094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 58 time used for this insertion : 0.20110821723937988 save missing photos in datou_result : time spend for datou_step_exec : 11.364613056182861 time spend to save output : 0.22231078147888184 total time spend for step 6 : 11.586923837661743 step7:brightness Fri Aug 29 12:14:26 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/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a.jpg treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52.jpg treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff.jpg treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa.jpg treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949.jpg treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5.jpg treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d.jpg treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f.jpg treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265.jpg treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f.jpg treat image : temp/1756462226_2769032_1380076426_385e6e6bea5e9b9da570fd883f4fad0a.jpg treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726.jpg treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294855_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294854_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294857_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294860_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294864_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294868_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294862_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294865_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294861_0.png treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294871_0.png treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294869_0.png treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294876_0.png treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294880_0.png treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d_rle_crop_3935294882_0.png treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294883_0.png treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f_rle_crop_3935294889_0.png treat image : temp/1756462226_2769032_1380076426_385e6e6bea5e9b9da570fd883f4fad0a_rle_crop_3935294891_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294898_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294897_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294895_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294896_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294894_0.png treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294875_0.png treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265_rle_crop_3935294887_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294858_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294856_0.png treat image : temp/1756462226_2769032_1380076718_da552e70a866fd91180851faf63acd2a_rle_crop_3935294859_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294863_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294867_0.png treat image : temp/1756462226_2769032_1380076715_756c99eb2b400ba099d86054340fbb52_rle_crop_3935294866_0.png treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294872_0.png treat image : temp/1756462226_2769032_1380076713_564867ab752491b56f478efa5a0ff6ff_rle_crop_3935294870_0.png treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa_rle_crop_3935294873_0.png treat image : temp/1756462226_2769032_1380076706_0f24cb32957b8108c6722fd880b92baa_rle_crop_3935294874_0.png treat image : temp/1756462226_2769032_1380076687_5599ff2db2619fc5591cfe14c9c3c949_rle_crop_3935294877_0.png treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294879_0.png treat image : temp/1756462226_2769032_1380076686_e90421d679c60aff030b4b255ce2cce5_rle_crop_3935294878_0.png treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294886_0.png treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294884_0.png treat image : temp/1756462226_2769032_1380076481_97a031fb161cf3b1c70c6fc717603265_rle_crop_3935294888_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294893_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294899_0.png treat image : temp/1756462226_2769032_1380076398_10debaf1a98e981bd74d2f4c7accd726_rle_crop_3935294892_0.png treat image : temp/1756462226_2769032_1380076657_7586c98167d58a503fab7d9e36836a4d_rle_crop_3935294881_0.png treat image : temp/1756462226_2769032_1380076645_84d24f81359042dd1d4d4142d3ac0f0f_rle_crop_3935294885_0.png treat image : temp/1756462226_2769032_1380076453_fe622975e9b15da84f5b23193bb3ab4f_rle_crop_3935294890_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 : 58 time used for this insertion : 0.01607513427734375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 58 time used for this insertion : 0.018653392791748047 save missing photos in datou_result : time spend for datou_step_exec : 3.1890058517456055 time spend to save output : 0.03921103477478027 total time spend for step 7 : 3.2282168865203857 step8:velours_tree Fri Aug 29 12:14: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 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.1401817798614502 time spend to save output : 4.2438507080078125e-05 total time spend for step 8 : 0.14022421836853027 step9:send_mail_cod Fri Aug 29 12:14:30 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_P26325174_29-08-2025_12_14_30.pdf 26325487 imagette263254871756462470 26325488 change filename to text .change filename to text .imagette263254881756462470 26325489 imagette263254891756462470 26325490 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 .imagette263254901756462470 26325491 imagette263254911756462471 26325492 imagette263254921756462471 26325493 change filename to text .imagette263254931756462471 26325494 imagette263254941756462472 26325495 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 .imagette263254951756462472 26325496 change filename to text .change filename to text .imagette263254961756462473 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26325174 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26325486,26325487,26325488,26325489,26325490,26325491,26325492,26325493,26325494,26325495,26325496?tags=environnement,flou,carton,metal,pet_clair,pehd,background,pet_fonce,mal_croppe,papier,autre args[1380076718] : ((1380076718, -3.3805136463972927, 492609224), (1380076718, 0.3289255534546752, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076715] : ((1380076715, -2.0689504797848555, 492609224), (1380076715, 0.6497204511522734, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076713] : ((1380076713, -0.21998109419108805, 492688767), (1380076713, 0.6410464241110451, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076706] : ((1380076706, 0.08917817303402449, 492688767), (1380076706, 0.48379423696194196, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076687] : ((1380076687, 0.7631416697119142, 492688767), (1380076687, 0.46217600311603346, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076686] : ((1380076686, -3.8016859083624457, 492609224), (1380076686, 0.37386041795658026, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076657] : ((1380076657, -0.7457889339946556, 492688767), (1380076657, 0.2860182200207922, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076645] : ((1380076645, -0.06089063913181083, 492688767), (1380076645, 0.5585192975856044, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076481] : ((1380076481, -0.26661136981938277, 492688767), (1380076481, 0.3850443934725923, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076453] : ((1380076453, -2.6693153171766677, 492609224), (1380076453, 0.3815758830189018, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076426] : ((1380076426, 1.9674583760131665, 492688767), (1380076426, 0.15620648024743858, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com args[1380076398] : ((1380076398, -2.382925417284786, 492609224), (1380076398, 0.4619688166617609, 2107752395), '0.10436234085648151') We are sending mail with results at report@fotonower.com refus_total : 0.10436234085648151 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=26325174 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_P26325174_29-08-2025_12_14_30.pdf results_Auto_P26325174_29-08-2025_12_14_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.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','26325174','results_Auto_P26325174_29-08-2025_12_14_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.pdf','pdf','','0.38','0.10436234085648151') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26325174

https://www.fotonower.com/image?json=false&list_photos_id=1380076718
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076715
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076713
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076706
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076687
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076686
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076657
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076645
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076481
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076453
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380076426
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.9674583760131665)
https://www.fotonower.com/image?json=false&list_photos_id=1380076398
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26325488?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26325490?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26325493?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26325495?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26325496?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26325486,26325487,26325488,26325489,26325490,26325491,26325492,26325493,26325494,26325495,26325496?tags=environnement,flou,carton,metal,pet_clair,pehd,background,pet_fonce,mal_croppe,papier,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 29 Aug 2025 10:14:35 GMT Content-Length: 0 Connection: close X-Message-Id: DIF1DzLQSoadd-wDX2CdKw 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 [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] 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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.018917560577392578 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.220059633255005 time spend to save output : 0.01921224594116211 total time spend for step 9 : 5.239271879196167 step10:split_time_score Fri Aug 29 12:14:35 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', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26325174 Nombre de photos uploadées : 12 / 23040 (0%) 29082025 26325174 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 29082025 26325174 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 6.67572021484375e-06 elapsed_time : order_list_meta_photo_and_scores 1.9311904907226562e-05 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009157657623291016 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.27339720726013184 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.03507802854938272 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319809 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`=26319809 AND mptpi.`type`=3594 To do Qualite : 0.0911907732928241 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26320612_29-08-2025_09_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26320612 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`=26320612 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325172 order by id desc limit 1 Qualite : 0.10436234085648151 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325174 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`=26325174 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 12, '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 [1380076718, 1380076715, 1380076713, 1380076706, 1380076687, 1380076686, 1380076657, 1380076645, 1380076481, 1380076453, 1380076426, 1380076398] Looping around the photos to save general results len do output : 1 /26325174Didn'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, '3636058') ('3318', '26325174', '1380076718', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076715', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076713', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076706', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076687', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076686', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076657', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076645', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076481', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076453', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076426', None, None, None, None, None, '3636058') ('3318', None, None, None, None, None, None, None, '3636058') ('3318', '26325174', '1380076398', None, None, None, None, None, '3636058') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.023937463760375977 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6830480098724365 time spend to save output : 0.024283170700073242 total time spend for step 10 : 1.7073311805725098 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 48.19user 18.67system 4:12.35elapsed 26%CPU (0avgtext+0avgdata 2788180maxresident)k 554680inputs+26336outputs (203major+1602288minor)pagefaults 0swaps