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 : 344669 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 : ['3520781'] with mtr_portfolio_ids : ['25942158'] and first list_photo_ids : [] new path : /proc/344669/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.2993853092193604 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 Wed Aug 13 18:20: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 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 : 10619 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-13 18:20:33.307815: 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-13 18:20:33.332746: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-13 18:20:33.334285: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0cec000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-13 18:20:33.334330: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-13 18:20:33.336841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-13 18:20:33.483420: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3f101790 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-13 18:20:33.483471: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-13 18:20:33.484405: 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-13 18:20:33.484700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 18:20:33.486622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 18:20:33.488615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 18:20:33.488936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 18:20:33.491006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 18:20:33.491980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 18:20:33.496167: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 18:20:33.497698: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 18:20:33.497774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 18:20:33.498548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-13 18:20:33.498563: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-13 18:20:33.498572: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-13 18:20:33.499871: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 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-13 18:20:33.746067: 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-13 18:20:33.746174: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 18:20:33.746191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 18:20:33.746206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 18:20:33.746220: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 18:20:33.746234: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 18:20:33.746248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 18:20:33.746262: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 18:20:33.747443: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 18:20:33.748626: 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-13 18:20:33.748663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 18:20:33.748681: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 18:20:33.748697: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 18:20:33.748713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 18:20:33.748729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 18:20:33.748745: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 18:20:33.748761: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 18:20:33.749987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 18:20:33.750020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-13 18:20:33.750028: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-13 18:20:33.750036: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-13 18:20:33.751255: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 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-13 18:20:40.240155: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 18:20:40.414843: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.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: 16.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 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.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: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.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 Detection mask done ! Trying to reset tf kernel 345164 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5327 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 10073 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.0003001689910888672 nb_pixel_total : 7552 time to create 1 rle with old method : 0.009113073348999023 length of segment : 129 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 8325 time to create 1 rle with old method : 0.010006427764892578 length of segment : 100 time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 8501 time to create 1 rle with old method : 0.01024174690246582 length of segment : 131 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 7632 time to create 1 rle with old method : 0.009364128112792969 length of segment : 98 time for calcul the mask position with numpy : 0.00014972686767578125 nb_pixel_total : 8167 time to create 1 rle with old method : 0.009932994842529297 length of segment : 99 time for calcul the mask position with numpy : 0.0002052783966064453 nb_pixel_total : 12611 time to create 1 rle with old method : 0.015092849731445312 length of segment : 123 time for calcul the mask position with numpy : 0.0020227432250976562 nb_pixel_total : 113060 time to create 1 rle with old method : 0.13519716262817383 length of segment : 561 time for calcul the mask position with numpy : 0.0002760887145996094 nb_pixel_total : 11930 time to create 1 rle with old method : 0.014453411102294922 length of segment : 147 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 10904 time to create 1 rle with old method : 0.013533592224121094 length of segment : 85 time for calcul the mask position with numpy : 0.0015649795532226562 nb_pixel_total : 105823 time to create 1 rle with old method : 0.12368059158325195 length of segment : 532 time for calcul the mask position with numpy : 0.0001633167266845703 nb_pixel_total : 7122 time to create 1 rle with old method : 0.008724212646484375 length of segment : 105 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 8326 time to create 1 rle with old method : 0.00999307632446289 length of segment : 129 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 20257 time to create 1 rle with old method : 0.024284839630126953 length of segment : 95 time for calcul the mask position with numpy : 0.0001857280731201172 nb_pixel_total : 11367 time to create 1 rle with old method : 0.013345956802368164 length of segment : 126 time for calcul the mask position with numpy : 0.00021338462829589844 nb_pixel_total : 14329 time to create 1 rle with old method : 0.016638517379760742 length of segment : 153 time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 7336 time to create 1 rle with old method : 0.008877038955688477 length of segment : 94 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 6032 time to create 1 rle with old method : 0.0070874691009521484 length of segment : 148 time for calcul the mask position with numpy : 0.0013861656188964844 nb_pixel_total : 106038 time to create 1 rle with old method : 0.12133216857910156 length of segment : 499 time for calcul the mask position with numpy : 0.00021958351135253906 nb_pixel_total : 12137 time to create 1 rle with old method : 0.014040470123291016 length of segment : 163 time for calcul the mask position with numpy : 0.00013566017150878906 nb_pixel_total : 4202 time to create 1 rle with old method : 0.005250453948974609 length of segment : 88 time for calcul the mask position with numpy : 9.036064147949219e-05 nb_pixel_total : 4192 time to create 1 rle with old method : 0.005063056945800781 length of segment : 83 time for calcul the mask position with numpy : 0.00042748451232910156 nb_pixel_total : 25850 time to create 1 rle with old method : 0.030376434326171875 length of segment : 247 time for calcul the mask position with numpy : 0.00015878677368164062 nb_pixel_total : 9001 time to create 1 rle with old method : 0.010474920272827148 length of segment : 117 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 1234 time to create 1 rle with old method : 0.0015709400177001953 length of segment : 34 time for calcul the mask position with numpy : 0.00011157989501953125 nb_pixel_total : 3764 time to create 1 rle with old method : 0.004693269729614258 length of segment : 118 time for calcul the mask position with numpy : 0.001398324966430664 nb_pixel_total : 93052 time to create 1 rle with old method : 0.10958194732666016 length of segment : 610 time for calcul the mask position with numpy : 0.0004963874816894531 nb_pixel_total : 12490 time to create 1 rle with old method : 0.014461755752563477 length of segment : 176 time for calcul the mask position with numpy : 0.0006244182586669922 nb_pixel_total : 19249 time to create 1 rle with old method : 0.02311849594116211 length of segment : 214 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 1119 time to create 1 rle with old method : 0.0014469623565673828 length of segment : 39 time for calcul the mask position with numpy : 0.00024318695068359375 nb_pixel_total : 3899 time to create 1 rle with old method : 0.004764556884765625 length of segment : 117 time for calcul the mask position with numpy : 0.008654356002807617 nb_pixel_total : 185664 time to create 1 rle with new method : 0.020660877227783203 length of segment : 875 time for calcul the mask position with numpy : 0.0022430419921875 nb_pixel_total : 98086 time to create 1 rle with old method : 0.10971283912658691 length of segment : 526 time for calcul the mask position with numpy : 0.00026106834411621094 nb_pixel_total : 5594 time to create 1 rle with old method : 0.006644248962402344 length of segment : 89 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 1968 time to create 1 rle with old method : 0.0024878978729248047 length of segment : 35 time for calcul the mask position with numpy : 0.0002090930938720703 nb_pixel_total : 4665 time to create 1 rle with old method : 0.005548000335693359 length of segment : 79 time for calcul the mask position with numpy : 0.00033020973205566406 nb_pixel_total : 10337 time to create 1 rle with old method : 0.012110471725463867 length of segment : 112 time for calcul the mask position with numpy : 0.0003886222839355469 nb_pixel_total : 7794 time to create 1 rle with old method : 0.009044647216796875 length of segment : 153 time for calcul the mask position with numpy : 0.00027632713317871094 nb_pixel_total : 7881 time to create 1 rle with old method : 0.009076118469238281 length of segment : 135 time for calcul the mask position with numpy : 0.000270843505859375 nb_pixel_total : 8133 time to create 1 rle with old method : 0.009286165237426758 length of segment : 133 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 4593 time to create 1 rle with old method : 0.005357265472412109 length of segment : 79 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 2848 time to create 1 rle with old method : 0.003469705581665039 length of segment : 60 time for calcul the mask position with numpy : 0.00024580955505371094 nb_pixel_total : 8404 time to create 1 rle with old method : 0.009627103805541992 length of segment : 106 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 12224 time to create 1 rle with old method : 0.014010429382324219 length of segment : 181 time for calcul the mask position with numpy : 0.0020470619201660156 nb_pixel_total : 101281 time to create 1 rle with old method : 0.11198759078979492 length of segment : 536 time for calcul the mask position with numpy : 0.015049219131469727 nb_pixel_total : 940327 time to create 1 rle with new method : 0.02993321418762207 length of segment : 1555 time spent for convertir_results : 2.685453414916992 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 45 chid ids of type : 3594 Number RLEs to save : 10014 save missing photos in datou_result : time spend for datou_step_exec : 20.524274587631226 time spend to save output : 0.5973286628723145 total time spend for step 1 : 21.12160325050354 step2:crop_condition Wed Aug 13 18:20:51 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 : 11 ! batch 1 Loaded 45 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 ! 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 : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755102054_344669 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.5546393394470215 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755102061_344669 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.452080488204956 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 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/1755102063_344669 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.5355150699615479 we have finished the crop for the class : metal 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755102069_344669 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.520315647125244 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755102072_344669 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 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.3692786693573 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] Looping around the photos to save general results len do output : 45 /1376785346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376785459Didn'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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 146 time used for this insertion : 0.018843650817871094 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.260243892669678 time spend to save output : 0.02068638801574707 total time spend for step 2 : 24.280930280685425 step3:rle_unique_nms_with_priority Wed Aug 13 18:21: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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 45 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04314374923706055 time for calcul the mask position with numpy : 0.022637367248535156 nb_pixel_total : 2057723 time to create 1 rle with new method : 0.039887189865112305 time for calcul the mask position with numpy : 0.006170511245727539 nb_pixel_total : 8325 time to create 1 rle with old method : 0.009259700775146484 time for calcul the mask position with numpy : 0.005767822265625 nb_pixel_total : 7552 time to create 1 rle with old method : 0.008349418640136719 create new chi : 0.0965583324432373 time to delete rle : 0.02038741111755371 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1538 TO DO : save crop sub photo not yet done ! save time : 0.13228297233581543 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 0.13566946983337402 time for calcul the mask position with numpy : 0.02201223373413086 nb_pixel_total : 1900297 time to create 1 rle with new method : 0.0401458740234375 time for calcul the mask position with numpy : 0.006239175796508789 nb_pixel_total : 498 time to create 1 rle with old method : 0.0007996559143066406 time for calcul the mask position with numpy : 0.006013631820678711 nb_pixel_total : 10904 time to create 1 rle with old method : 0.012734174728393555 time for calcul the mask position with numpy : 0.005966663360595703 nb_pixel_total : 11930 time to create 1 rle with old method : 0.014245033264160156 time for calcul the mask position with numpy : 0.006776571273803711 nb_pixel_total : 113060 time to create 1 rle with old method : 0.12946677207946777 time for calcul the mask position with numpy : 0.006117105484008789 nb_pixel_total : 12611 time to create 1 rle with old method : 0.014735221862792969 time for calcul the mask position with numpy : 0.006563425064086914 nb_pixel_total : 8167 time to create 1 rle with old method : 0.009526252746582031 time for calcul the mask position with numpy : 0.006123781204223633 nb_pixel_total : 7632 time to create 1 rle with old method : 0.008785486221313477 time for calcul the mask position with numpy : 0.005937337875366211 nb_pixel_total : 8501 time to create 1 rle with old method : 0.009816884994506836 create new chi : 0.31681108474731445 time to delete rle : 0.0005476474761962891 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3833 TO DO : save crop sub photo not yet done ! save time : 0.24701213836669922 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.0936269760131836 time for calcul the mask position with numpy : 0.018125295639038086 nb_pixel_total : 1892793 time to create 1 rle with new method : 0.04081106185913086 time for calcul the mask position with numpy : 0.006685972213745117 nb_pixel_total : 106038 time to create 1 rle with old method : 0.11953592300415039 time for calcul the mask position with numpy : 0.00651860237121582 nb_pixel_total : 6032 time to create 1 rle with old method : 0.006644248962402344 time for calcul the mask position with numpy : 0.006457090377807617 nb_pixel_total : 7336 time to create 1 rle with old method : 0.008074045181274414 time for calcul the mask position with numpy : 0.00590205192565918 nb_pixel_total : 14329 time to create 1 rle with old method : 0.015868186950683594 time for calcul the mask position with numpy : 0.005947113037109375 nb_pixel_total : 11367 time to create 1 rle with old method : 0.017441272735595703 time for calcul the mask position with numpy : 0.006089687347412109 nb_pixel_total : 20257 time to create 1 rle with old method : 0.02302837371826172 time for calcul the mask position with numpy : 0.0059130191802978516 nb_pixel_total : 8326 time to create 1 rle with old method : 0.00966501235961914 time for calcul the mask position with numpy : 0.0061757564544677734 nb_pixel_total : 7122 time to create 1 rle with old method : 0.008212804794311523 create new chi : 0.3214130401611328 time to delete rle : 0.0005328655242919922 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++Number RLEs to save : 3778 TO DO : save crop sub photo not yet done ! save time : 0.24902629852294922 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.09168863296508789 time for calcul the mask position with numpy : 0.02505207061767578 nb_pixel_total : 1920303 time to create 1 rle with new method : 0.03619074821472168 time for calcul the mask position with numpy : 0.006485939025878906 nb_pixel_total : 92917 time to create 1 rle with old method : 0.10992932319641113 time for calcul the mask position with numpy : 0.006026506423950195 nb_pixel_total : 3764 time to create 1 rle with old method : 0.004303455352783203 time for calcul the mask position with numpy : 0.005967378616333008 nb_pixel_total : 1234 time to create 1 rle with old method : 0.0014801025390625 time for calcul the mask position with numpy : 0.005976438522338867 nb_pixel_total : 9001 time to create 1 rle with old method : 0.010049819946289062 time for calcul the mask position with numpy : 0.0063953399658203125 nb_pixel_total : 25850 time to create 1 rle with old method : 0.029434680938720703 time for calcul the mask position with numpy : 0.006002187728881836 nb_pixel_total : 4192 time to create 1 rle with old method : 0.004858255386352539 time for calcul the mask position with numpy : 0.005986928939819336 nb_pixel_total : 4202 time to create 1 rle with old method : 0.004859209060668945 time for calcul the mask position with numpy : 0.006045818328857422 nb_pixel_total : 12137 time to create 1 rle with old method : 0.013827085494995117 create new chi : 0.29338693618774414 time to delete rle : 0.0005831718444824219 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3984 TO DO : save crop sub photo not yet done ! save time : 0.2507905960083008 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.0886240005493164 time for calcul the mask position with numpy : 0.024542808532714844 nb_pixel_total : 1753093 time to create 1 rle with new method : 0.04512953758239746 time for calcul the mask position with numpy : 0.006754875183105469 nb_pixel_total : 98086 time to create 1 rle with old method : 0.11049699783325195 time for calcul the mask position with numpy : 0.007485151290893555 nb_pixel_total : 185664 time to create 1 rle with new method : 0.03685808181762695 time for calcul the mask position with numpy : 0.005898952484130859 nb_pixel_total : 3899 time to create 1 rle with old method : 0.004497528076171875 time for calcul the mask position with numpy : 0.00622105598449707 nb_pixel_total : 1119 time to create 1 rle with old method : 0.0012483596801757812 time for calcul the mask position with numpy : 0.005761623382568359 nb_pixel_total : 19249 time to create 1 rle with old method : 0.021837234497070312 time for calcul the mask position with numpy : 0.00609278678894043 nb_pixel_total : 12490 time to create 1 rle with old method : 0.01416635513305664 create new chi : 0.30190205574035645 time to delete rle : 0.0006351470947265625 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4963 TO DO : save crop sub photo not yet done ! save time : 0.30071139335632324 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05021858215332031 time for calcul the mask position with numpy : 0.01988840103149414 nb_pixel_total : 2061373 time to create 1 rle with new method : 0.028208255767822266 time for calcul the mask position with numpy : 0.005934476852416992 nb_pixel_total : 4665 time to create 1 rle with old method : 0.005361318588256836 time for calcul the mask position with numpy : 0.0058841705322265625 nb_pixel_total : 1968 time to create 1 rle with old method : 0.002339601516723633 time for calcul the mask position with numpy : 0.005942106246948242 nb_pixel_total : 5594 time to create 1 rle with old method : 0.006609439849853516 create new chi : 0.08046936988830566 time to delete rle : 0.0002675056457519531 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1486 TO DO : save crop sub photo not yet done ! save time : 0.11522722244262695 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03523826599121094 time for calcul the mask position with numpy : 0.021364450454711914 nb_pixel_total : 2063263 time to create 1 rle with new method : 0.03893089294433594 time for calcul the mask position with numpy : 0.005966663360595703 nb_pixel_total : 10337 time to create 1 rle with old method : 0.01151728630065918 create new chi : 0.08149933815002441 time to delete rle : 0.00021696090698242188 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1304 TO DO : save crop sub photo not yet done ! save time : 0.11207866668701172 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04983258247375488 time for calcul the mask position with numpy : 0.02299189567565918 nb_pixel_total : 2049792 time to create 1 rle with new method : 0.040030717849731445 time for calcul the mask position with numpy : 0.006150007247924805 nb_pixel_total : 8133 time to create 1 rle with old method : 0.009342193603515625 time for calcul the mask position with numpy : 0.006108999252319336 nb_pixel_total : 7881 time to create 1 rle with old method : 0.009081125259399414 time for calcul the mask position with numpy : 0.00590968132019043 nb_pixel_total : 7794 time to create 1 rle with old method : 0.008887290954589844 create new chi : 0.11287856101989746 time to delete rle : 0.0003266334533691406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1922 TO DO : save crop sub photo not yet done ! save time : 0.1404099464416504 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04057049751281738 time for calcul the mask position with numpy : 0.018456220626831055 nb_pixel_total : 2066159 time to create 1 rle with new method : 0.03967428207397461 time for calcul the mask position with numpy : 0.006051301956176758 nb_pixel_total : 2848 time to create 1 rle with old method : 0.003126859664916992 time for calcul the mask position with numpy : 0.005815982818603516 nb_pixel_total : 4593 time to create 1 rle with old method : 0.005170583724975586 create new chi : 0.08217620849609375 time to delete rle : 0.00025177001953125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1358 TO DO : save crop sub photo not yet done ! save time : 0.10718059539794922 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.040764570236206055 time for calcul the mask position with numpy : 0.018323421478271484 nb_pixel_total : 2052972 time to create 1 rle with new method : 0.037740230560302734 time for calcul the mask position with numpy : 0.005906343460083008 nb_pixel_total : 12224 time to create 1 rle with old method : 0.013647079467773438 time for calcul the mask position with numpy : 0.00587773323059082 nb_pixel_total : 8404 time to create 1 rle with old method : 0.009555816650390625 create new chi : 0.09522533416748047 time to delete rle : 0.0002865791320800781 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1654 TO DO : save crop sub photo not yet done ! save time : 0.12795472145080566 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04803156852722168 time for calcul the mask position with numpy : 0.015398502349853516 nb_pixel_total : 1031992 time to create 1 rle with new method : 0.04103875160217285 time for calcul the mask position with numpy : 0.012412548065185547 nb_pixel_total : 940327 time to create 1 rle with new method : 0.039858341217041016 time for calcul the mask position with numpy : 0.006324052810668945 nb_pixel_total : 101281 time to create 1 rle with old method : 0.10999417304992676 create new chi : 0.23369979858398438 time to delete rle : 0.0006532669067382812 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 5262 TO DO : save crop sub photo not yet done ! save time : 0.31638646125793457 map_output_result : {1376757028: (0.0, 'Should be the crop_list due to order', 0), 1376757026: (0.0, 'Should be the crop_list due to order', 0), 1376757023: (0.0, 'Should be the crop_list due to order', 0), 1376757018: (0.0, 'Should be the crop_list due to order', 0), 1376757016: (0.0, 'Should be the crop_list due to order', 0), 1376756993: (0.0, 'Should be the crop_list due to order', 0), 1376756991: (0.0, 'Should be the crop_list due to order', 0), 1376756987: (0.0, 'Should be the crop_list due to order', 0), 1376756984: (0.0, 'Should be the crop_list due to order', 0), 1376756981: (0.0, 'Should be the crop_list due to order', 0), 1376756968: (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 [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] Looping around the photos to save general results len do output : 11 /1376757028.Didn't retrieve data . /1376757026.Didn't retrieve data . /1376757023.Didn't retrieve data . /1376757018.Didn't retrieve data . /1376757016.Didn't retrieve data . /1376756993.Didn't retrieve data . /1376756991.Didn't retrieve data . /1376756987.Didn't retrieve data . /1376756984.Didn't retrieve data . /1376756981.Didn't retrieve data . /1376756968.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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.012859821319580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.212778806686401 time spend to save output : 0.013492107391357422 total time spend for step 3 : 5.226270914077759 step4:ventilate_hashtags_in_portfolio Wed Aug 13 18:21:21 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 : 25942158 get user id for portfolio 25942158 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`=25942158 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','pet_clair','environnement','metal','papier','carton','pet_fonce','autre','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25942158 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','pet_clair','environnement','metal','papier','carton','pet_fonce','autre','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25942158 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','background','pet_clair','environnement','metal','papier','carton','pet_fonce','autre','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25942925,25942926,25942927,25942928,25942929,25942930,25942931,25942932,25942933,25942934,25942935?tags=flou,background,pet_clair,environnement,metal,papier,carton,pet_fonce,autre,pehd,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] Looping around the photos to save general results len do output : 1 /25942158. 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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014022350311279297 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5792462825775146 time spend to save output : 0.014268636703491211 total time spend for step 4 : 1.5935149192810059 step5:final Wed Aug 13 18:21:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1376757028: ('0.08592171717171714',), 1376757026: ('0.08592171717171714',), 1376757023: ('0.08592171717171714',), 1376757018: ('0.08592171717171714',), 1376757016: ('0.08592171717171714',), 1376756993: ('0.08592171717171714',), 1376756991: ('0.08592171717171714',), 1376756987: ('0.08592171717171714',), 1376756984: ('0.08592171717171714',), 1376756981: ('0.08592171717171714',), 1376756968: ('0.08592171717171714',)} new output for save of step final : {1376757028: ('0.08592171717171714',), 1376757026: ('0.08592171717171714',), 1376757023: ('0.08592171717171714',), 1376757018: ('0.08592171717171714',), 1376757016: ('0.08592171717171714',), 1376756993: ('0.08592171717171714',), 1376756991: ('0.08592171717171714',), 1376756987: ('0.08592171717171714',), 1376756984: ('0.08592171717171714',), 1376756981: ('0.08592171717171714',), 1376756968: ('0.08592171717171714',)} [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] Looping around the photos to save general results len do output : 11 /1376757028.Didn't retrieve data . /1376757026.Didn't retrieve data . /1376757023.Didn't retrieve data . /1376757018.Didn't retrieve data . /1376757016.Didn't retrieve data . /1376756993.Didn't retrieve data . /1376756991.Didn't retrieve data . /1376756987.Didn't retrieve data . /1376756984.Didn't retrieve data . /1376756981.Didn't retrieve data . /1376756968.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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.013906717300415039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11472392082214355 time spend to save output : 0.014422893524169922 total time spend for step 5 : 0.12914681434631348 step6:blur_detection Wed Aug 13 18:21:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104.jpg resize: (1080, 1920) 1376757028 0.3124714648371858 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2.jpg resize: (1080, 1920) 1376757026 -3.4038607097555538 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3.jpg resize: (1080, 1920) 1376757023 3.4446050620697175 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b.jpg resize: (1080, 1920) 1376757018 -0.9729736935481381 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94.jpg resize: (1080, 1920) 1376757016 2.5638265838349343 treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692.jpg resize: (1080, 1920) 1376756993 -0.4563923207888206 treat image : temp/1755102029_344669_1376756991_cd04ff640a86cc69d200caed12250252.jpg resize: (1080, 1920) 1376756991 1.6320251188714103 treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b.jpg resize: (1080, 1920) 1376756987 0.21877848576890702 treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290.jpg resize: (1080, 1920) 1376756984 0.5756611762381131 treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac.jpg resize: (1080, 1920) 1376756981 0.27524639633463266 treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9.jpg resize: (1080, 1920) 1376756968 1.22888904448822 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077245_0.png resize: (143, 114) 1376785346 -0.9589221424053548 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077241_0.png resize: (98, 111) 1376785347 -3.115181984597702 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077242_0.png resize: (99, 111) 1376785348 -0.8658933706490151 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077240_0.png resize: (118, 91) 1376785349 -0.6018089050857877 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077253_0.png resize: (93, 116) 1376785351 0.7403895843670056 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077248_0.png resize: (105, 124) 1376785352 1.1558001441804049 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077254_0.png resize: (128, 71) 1376785353 -2.1696827469515054 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077251_0.png resize: (112, 147) 1376785355 0.04458652784928394 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077249_0.png resize: (116, 87) 1376785356 -0.4081409581516282 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077258_0.png resize: (81, 63) 1376785357 0.053803402782420406 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077260_0.png resize: (117, 119) 1376785358 -1.7760163140911003 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077256_0.png resize: (163, 95) 1376785360 -0.4951371673914663 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077257_0.png resize: (88, 84) 1376785361 -1.2954540760396867 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077262_0.png resize: (111, 82) 1376785362 -2.7609884620839367 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077268_0.png resize: (489, 1120) 1376785364 -1.227369019897478 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077265_0.png resize: (170, 192) 1376785365 -2.0098392984090574 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077264_0.png resize: (176, 92) 1376785366 -1.36485783265986 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077266_0.png resize: (38, 44) 1376785367 -1.0404008807844958 treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077270_0.png resize: (76, 136) 1376785369 -1.7453647306212208 treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077271_0.png resize: (34, 68) 1376785370 0.8059342977126723 treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077276_0.png resize: (133, 88) 1376785371 -1.1037516254775754 treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077274_0.png resize: (153, 121) 1376785373 -1.804401093107659 treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290_rle_crop_3913077278_0.png resize: (60, 79) 1376785374 -0.8479745852565908 treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290_rle_crop_3913077277_0.png resize: (79, 91) 1376785375 1.1531613734490942 treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac_rle_crop_3913077280_0.png resize: (180, 143) 1376785376 -0.393161200706488 treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac_rle_crop_3913077279_0.png resize: (106, 144) 1376785378 1.7564219059115933 treat image : temp/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104_rle_crop_3913077238_0.png resize: (129, 84) 1376785398 -0.5243387549858838 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077244_0.png resize: (557, 349) 1376785399 -0.2710376769916323 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077259_0.png resize: (223, 200) 1376785400 -1.8563861294331023 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077263_0.png resize: (552, 306) 1376785403 -0.4026736196427306 treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077272_0.png resize: (79, 86) 1376785404 -0.26645789695080396 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077246_0.png resize: (84, 164) 1376785415 -2.866518206750989 treat image : temp/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104_rle_crop_3913077239_0.png resize: (100, 101) 1376785446 0.9722401375070708 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077247_0.png resize: (531, 331) 1376785447 0.14730814723189575 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077250_0.png resize: (91, 292) 1376785448 -0.2891384152786161 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077255_0.png resize: (499, 347) 1376785449 0.2813514859221833 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077269_0.png resize: (514, 317) 1376785450 -0.029670640031957067 treat image : temp/1755102029_344669_1376756991_cd04ff640a86cc69d200caed12250252_rle_crop_3913077273_0.png resize: (111, 120) 1376785451 0.4134938041338797 treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077275_0.png resize: (134, 66) 1376785452 -3.8614159557553998 treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9_rle_crop_3913077282_0.png resize: (968, 1320) 1376785453 -0.9254028906830876 treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9_rle_crop_3913077281_0.png resize: (531, 332) 1376785454 0.40759628378447726 treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077243_0.png resize: (112, 140) 1376785456 -1.3729277242102638 treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077252_0.png resize: (141, 128) 1376785457 -1.2856303127109905 treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077261_0.png resize: (33, 48) 1376785458 20.0 treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077267_0.png resize: (117, 47) 1376785459 -0.942869930045532 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 : 56 time used for this insertion : 0.01354837417602539 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 56 time used for this insertion : 0.014261722564697266 save missing photos in datou_result : time spend for datou_step_exec : 9.827664852142334 time spend to save output : 0.03242993354797363 total time spend for step 6 : 9.860094785690308 step7:brightness Wed Aug 13 18:21:32 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/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104.jpg treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2.jpg treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3.jpg treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b.jpg treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94.jpg treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692.jpg treat image : temp/1755102029_344669_1376756991_cd04ff640a86cc69d200caed12250252.jpg treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b.jpg treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290.jpg treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac.jpg treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9.jpg treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077245_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077241_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077242_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077240_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077253_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077248_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077254_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077251_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077249_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077258_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077260_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077256_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077257_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077262_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077268_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077265_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077264_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077266_0.png treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077270_0.png treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077271_0.png treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077276_0.png treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077274_0.png treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290_rle_crop_3913077278_0.png treat image : temp/1755102029_344669_1376756984_139351fc74e14f3dbe31eea0f2377290_rle_crop_3913077277_0.png treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac_rle_crop_3913077280_0.png treat image : temp/1755102029_344669_1376756981_b0285d4744580f315651206dedba02ac_rle_crop_3913077279_0.png treat image : temp/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104_rle_crop_3913077238_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077244_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077259_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077263_0.png treat image : temp/1755102029_344669_1376756993_e0f64bbceee1f8324ada32bf40fb5692_rle_crop_3913077272_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077246_0.png treat image : temp/1755102029_344669_1376757028_7bb744f5332b12f9fd28d304da18c104_rle_crop_3913077239_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077247_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077250_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077255_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077269_0.png treat image : temp/1755102029_344669_1376756991_cd04ff640a86cc69d200caed12250252_rle_crop_3913077273_0.png treat image : temp/1755102029_344669_1376756987_05101115e002e5e04d522c0914f6455b_rle_crop_3913077275_0.png treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9_rle_crop_3913077282_0.png treat image : temp/1755102029_344669_1376756968_bec40b31fd8ada6a6cb34c9bade62ec9_rle_crop_3913077281_0.png treat image : temp/1755102029_344669_1376757026_e86ab90a5e3da15a5d293c0ed5bc03d2_rle_crop_3913077243_0.png treat image : temp/1755102029_344669_1376757023_2af0d8b20fec054d598b26f5428216b3_rle_crop_3913077252_0.png treat image : temp/1755102029_344669_1376757018_3e21ec95b007b9ea405becf648465a0b_rle_crop_3913077261_0.png treat image : temp/1755102029_344669_1376757016_f03c372459e1d5e2a0fd659248099c94_rle_crop_3913077267_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 : 56 time used for this insertion : 0.013253211975097656 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 56 time used for this insertion : 0.013059854507446289 save missing photos in datou_result : time spend for datou_step_exec : 2.8208274841308594 time spend to save output : 0.030723094940185547 total time spend for step 7 : 2.851550579071045 step8:velours_tree Wed Aug 13 18:21: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 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.17524933815002441 time spend to save output : 3.6716461181640625e-05 total time spend for step 8 : 0.17528605461120605 step9:send_mail_cod Wed Aug 13 18:21: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 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_P25942158_13-08-2025_18_21_35.pdf 25942925 imagette259429251755102095 25942926 imagette259429261755102095 25942927 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 .imagette259429271755102095 25942929 change filename to text .imagette259429291755102096 25942930 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 .imagette259429301755102096 25942931 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette259429311755102097 25942932 imagette259429321755102097 25942933 change filename to text .change filename to text .change filename to text .change filename to text .imagette259429331755102097 25942934 imagette259429341755102098 25942935 imagette259429351755102098 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25942158 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25942925,25942926,25942927,25942928,25942929,25942930,25942931,25942932,25942933,25942934,25942935?tags=flou,background,pet_clair,environnement,metal,papier,carton,pet_fonce,autre,pehd,mal_croppe args[1376757028] : ((1376757028, 0.3124714648371858, 492688767), (1376757028, 0.9740489697607037, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376757026] : ((1376757026, -3.4038607097555538, 492609224), (1376757026, 0.2892067844905576, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376757023] : ((1376757023, 3.4446050620697175, 492688767), (1376757023, 0.2437630849860526, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376757018] : ((1376757018, -0.9729736935481381, 492688767), (1376757018, 0.24581029337229293, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376757016] : ((1376757016, 2.5638265838349343, 492688767), (1376757016, 0.2307023996892828, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756993] : ((1376756993, -0.4563923207888206, 492688767), (1376756993, 0.7035457859001539, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756991] : ((1376756991, 1.6320251188714103, 492688767), (1376756991, 0.9608686449107839, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756987] : ((1376756987, 0.21877848576890702, 492688767), (1376756987, 0.5903983074839741, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756984] : ((1376756984, 0.5756611762381131, 492688767), (1376756984, 0.6640478447994437, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756981] : ((1376756981, 0.27524639633463266, 492688767), (1376756981, 1.0772860379065607, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com args[1376756968] : ((1376756968, 1.22888904448822, 492688767), (1376756968, 0.36454895314519525, 2107752395), '0.08592171717171714') We are sending mail with results at report@fotonower.com refus_total : 0.08592171717171714 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=25942158 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_P25942158_13-08-2025_18_21_35.pdf results_Auto_P25942158_13-08-2025_18_21_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942158_13-08-2025_18_21_35.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','25942158','results_Auto_P25942158_13-08-2025_18_21_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942158_13-08-2025_18_21_35.pdf','pdf','','0.32','0.08592171717171714') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25942158

https://www.fotonower.com/image?json=false&list_photos_id=1376757028
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376757026
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376757023
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.4446050620697175)
https://www.fotonower.com/image?json=false&list_photos_id=1376757018
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376757016
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.5638265838349343)
https://www.fotonower.com/image?json=false&list_photos_id=1376756993
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376756991
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6320251188714103)
https://www.fotonower.com/image?json=false&list_photos_id=1376756987
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376756984
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376756981
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376756968
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.22888904448822)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/25942927?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25942929?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25942930?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25942931?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25942933?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942158_13-08-2025_18_21_35.pdf.

Lien vers velours :https://www.fotonower.com/velours/25942925,25942926,25942927,25942928,25942929,25942930,25942931,25942932,25942933,25942934,25942935?tags=flou,background,pet_clair,environnement,metal,papier,carton,pet_fonce,autre,pehd,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 13 Aug 2025 16:21:40 GMT Content-Length: 0 Connection: close X-Message-Id: o0nHtvR9QmOHECCEcybcmw 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 [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] 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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01629352569580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.2481842041015625 time spend to save output : 0.0165557861328125 total time spend for step 9 : 4.264739990234375 step10:split_time_score Wed Aug 13 18:21:40 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'}] (('16', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13082025 25942158 Nombre de photos uploadées : 11 / 23040 (0%) 13082025 25942158 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 13082025 25942158 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005781650543212891 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19430208206176758 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.03972543724279837 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940069_13-08-2025_18_07_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940069 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`=25940069 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940073 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940088 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940104 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940107 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940112 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940114 order by id desc limit 1 Qualite : 0.13828178898874371 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940122_13-08-2025_18_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940122 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`=25940122 AND mptpi.`type`=3594 To do Qualite : 0.03090489227207978 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940126_13-08-2025_18_01_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940126 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`=25940126 AND mptpi.`type`=3594 To do Qualite : 0.18059592297567179 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940133_13-08-2025_17_52_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940133 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`=25940133 AND mptpi.`type`=3594 To do Qualite : 0.13602671682098766 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940136_13-08-2025_17_41_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940136 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`=25940136 AND mptpi.`type`=3594 To do Qualite : 0.12635289527216603 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940143_13-08-2025_17_31_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940143 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`=25940143 AND mptpi.`type`=3594 To do Qualite : 0.12353614267676769 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940146_13-08-2025_17_21_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940146 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`=25940146 AND mptpi.`type`=3594 To do Qualite : 0.08592171717171714 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25942158_13-08-2025_18_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25942158 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`=25942158 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13082025': {'nb_upload': 11, '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 [1376757028, 1376757026, 1376757023, 1376757018, 1376757016, 1376756993, 1376756991, 1376756987, 1376756984, 1376756981, 1376756968] Looping around the photos to save general results len do output : 1 /25942158Didn'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, '3520781') ('3318', '25942158', '1376757028', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757026', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757023', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757018', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376757016', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756993', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756991', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756987', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756984', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756981', None, None, None, None, None, '3520781') ('3318', None, None, None, None, None, None, None, '3520781') ('3318', '25942158', '1376756968', None, None, None, None, None, '3520781') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014333724975585938 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.640778303146362 time spend to save output : 0.014549732208251953 total time spend for step 10 : 6.655328035354614 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 42.48user 12.47system 1:22.12elapsed 66%CPU (0avgtext+0avgdata 2864116maxresident)k 15200inputs+21104outputs (132major+1096095minor)pagefaults 0swaps