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 : 2455632 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 : ['3666239'] with mtr_portfolio_ids : ['26548452'] and first list_photo_ids : [] new path : /proc/2455632/ 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.3698909282684326 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Sep 5 00:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10599 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-05 00:10:32.627247: 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-09-05 00:10:32.656500: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-05 00:10:32.658390: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6808000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-05 00:10:32.658445: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-05 00:10:32.661706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-05 00:10:32.837597: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x22782950 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-05 00:10:32.837650: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-05 00:10:32.838590: 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-09-05 00:10:32.838896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 00:10:32.841045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 00:10:32.843136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 00:10:32.843458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 00:10:32.845825: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 00:10:32.846888: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 00:10:32.851501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 00:10:32.852963: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 00:10:32.853050: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 00:10:32.853810: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 00:10:32.853825: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 00:10:32.853833: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 00:10:32.855137: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9817 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-09-05 00:10:33.170873: 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-09-05 00:10:33.171007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 00:10:33.171028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 00:10:33.171046: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 00:10:33.171063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 00:10:33.171080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 00:10:33.171097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 00:10:33.171114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 00:10:33.172393: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 00:10:33.173725: 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-09-05 00:10:33.173787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 00:10:33.173805: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 00:10:33.173822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 00:10:33.173839: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 00:10:33.173855: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 00:10:33.173871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 00:10:33.173887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 00:10:33.175083: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 00:10:33.175120: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 00:10:33.175130: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 00:10:33.175137: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 00:10:33.176418: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9817 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-09-05 00:10:42.394115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 00:10:42.614279: 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: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 4 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 2456179 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4508 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 : 9585 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.00020766258239746094 nb_pixel_total : 6415 time to create 1 rle with old method : 0.010816812515258789 length of segment : 66 time for calcul the mask position with numpy : 0.00019788742065429688 nb_pixel_total : 8784 time to create 1 rle with old method : 0.01030874252319336 length of segment : 113 time for calcul the mask position with numpy : 0.0023393630981445312 nb_pixel_total : 107756 time to create 1 rle with old method : 0.12471795082092285 length of segment : 512 time for calcul the mask position with numpy : 0.000457763671875 nb_pixel_total : 13951 time to create 1 rle with old method : 0.01809525489807129 length of segment : 192 time for calcul the mask position with numpy : 0.0001697540283203125 nb_pixel_total : 7002 time to create 1 rle with old method : 0.008237361907958984 length of segment : 79 time for calcul the mask position with numpy : 0.00023508071899414062 nb_pixel_total : 10112 time to create 1 rle with old method : 0.01706981658935547 length of segment : 165 time for calcul the mask position with numpy : 0.00020575523376464844 nb_pixel_total : 7799 time to create 1 rle with old method : 0.013197183609008789 length of segment : 92 time for calcul the mask position with numpy : 0.037729501724243164 nb_pixel_total : 796605 time to create 1 rle with new method : 0.4414799213409424 length of segment : 1107 time for calcul the mask position with numpy : 0.0007531642913818359 nb_pixel_total : 46268 time to create 1 rle with old method : 0.055062294006347656 length of segment : 190 time for calcul the mask position with numpy : 0.02065730094909668 nb_pixel_total : 955184 time to create 1 rle with new method : 0.0769965648651123 length of segment : 1704 time for calcul the mask position with numpy : 0.0027189254760742188 nb_pixel_total : 101177 time to create 1 rle with old method : 0.13210010528564453 length of segment : 543 time for calcul the mask position with numpy : 0.0006427764892578125 nb_pixel_total : 27037 time to create 1 rle with old method : 0.03227066993713379 length of segment : 163 time for calcul the mask position with numpy : 0.002042531967163086 nb_pixel_total : 110599 time to create 1 rle with old method : 0.1289827823638916 length of segment : 540 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 16352 time to create 1 rle with old method : 0.022586345672607422 length of segment : 211 time for calcul the mask position with numpy : 0.0002467632293701172 nb_pixel_total : 15315 time to create 1 rle with old method : 0.01724839210510254 length of segment : 145 time for calcul the mask position with numpy : 0.0015392303466796875 nb_pixel_total : 102091 time to create 1 rle with old method : 0.11354780197143555 length of segment : 531 time for calcul the mask position with numpy : 0.00037479400634765625 nb_pixel_total : 12833 time to create 1 rle with old method : 0.01379084587097168 length of segment : 137 time for calcul the mask position with numpy : 0.0019218921661376953 nb_pixel_total : 114930 time to create 1 rle with old method : 0.12039899826049805 length of segment : 537 time for calcul the mask position with numpy : 0.0003123283386230469 nb_pixel_total : 19720 time to create 1 rle with old method : 0.02129960060119629 length of segment : 145 time for calcul the mask position with numpy : 0.00032019615173339844 nb_pixel_total : 15502 time to create 1 rle with old method : 0.01664280891418457 length of segment : 255 time for calcul the mask position with numpy : 0.001971721649169922 nb_pixel_total : 86522 time to create 1 rle with old method : 0.09002327919006348 length of segment : 501 time for calcul the mask position with numpy : 0.00037670135498046875 nb_pixel_total : 18562 time to create 1 rle with old method : 0.02088475227355957 length of segment : 184 time for calcul the mask position with numpy : 0.00037932395935058594 nb_pixel_total : 13949 time to create 1 rle with old method : 0.01575326919555664 length of segment : 135 time for calcul the mask position with numpy : 0.004794120788574219 nb_pixel_total : 115015 time to create 1 rle with old method : 0.12919116020202637 length of segment : 575 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 14133 time to create 1 rle with old method : 0.01550912857055664 length of segment : 190 time for calcul the mask position with numpy : 0.0003840923309326172 nb_pixel_total : 14126 time to create 1 rle with old method : 0.016417264938354492 length of segment : 167 time spent for convertir_results : 4.1331868171691895 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 26 chid ids of type : 3594 Number RLEs to save : 9179 save missing photos in datou_result : time spend for datou_step_exec : 29.216185569763184 time spend to save output : 1.1537740230560303 total time spend for step 1 : 30.369959592819214 step2:crop_condition Fri Sep 5 00:11:00 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 26 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757023861_2455632 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0731210708618164 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 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757023875_2455632 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.89589262008667 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 ! 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/1757023882_2455632 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.7823941707611084 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] Looping around the photos to save general results len do output : 26 /1381587638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587669Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381587695Didn'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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 89 time used for this insertion : 0.13384652137756348 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.75684380531311 time spend to save output : 0.13531184196472168 total time spend for step 2 : 22.892155647277832 step3:rle_unique_nms_with_priority Fri Sep 5 00:11:23 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 26 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.4526631832122803 time for calcul the mask position with numpy : 0.1549997329711914 nb_pixel_total : 1936694 time to create 1 rle with new method : 0.09114694595336914 time for calcul the mask position with numpy : 0.013334989547729492 nb_pixel_total : 13951 time to create 1 rle with old method : 0.02023029327392578 time for calcul the mask position with numpy : 0.007288932800292969 nb_pixel_total : 107756 time to create 1 rle with old method : 0.11571407318115234 time for calcul the mask position with numpy : 0.006283998489379883 nb_pixel_total : 8784 time to create 1 rle with old method : 0.009815692901611328 time for calcul the mask position with numpy : 0.006150960922241211 nb_pixel_total : 6415 time to create 1 rle with old method : 0.0072324275970458984 create new chi : 0.4472346305847168 time to delete rle : 0.05691838264465332 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2846 TO DO : save crop sub photo not yet done ! save time : 0.32375407218933105 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.28364133834838867 time for calcul the mask position with numpy : 0.17038655281066895 nb_pixel_total : 2048687 time to create 1 rle with new method : 0.22506356239318848 time for calcul the mask position with numpy : 0.007306337356567383 nb_pixel_total : 7799 time to create 1 rle with old method : 0.010565757751464844 time for calcul the mask position with numpy : 0.0064945220947265625 nb_pixel_total : 10112 time to create 1 rle with old method : 0.011521100997924805 time for calcul the mask position with numpy : 0.0067102909088134766 nb_pixel_total : 7002 time to create 1 rle with old method : 0.007958173751831055 create new chi : 0.44971132278442383 time to delete rle : 0.00026535987854003906 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1752 TO DO : save crop sub photo not yet done ! save time : 0.2258014678955078 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04888129234313965 time for calcul the mask position with numpy : 0.01682257652282715 nb_pixel_total : 1276995 time to create 1 rle with new method : 0.5680224895477295 time for calcul the mask position with numpy : 0.013504981994628906 nb_pixel_total : 796605 time to create 1 rle with new method : 0.0868842601776123 create new chi : 0.7019212245941162 time to delete rle : 0.0003695487976074219 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 3294 TO DO : save crop sub photo not yet done ! save time : 0.3585031032562256 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.22590351104736328 time for calcul the mask position with numpy : 0.03590703010559082 nb_pixel_total : 983862 time to create 1 rle with new method : 0.2167959213256836 time for calcul the mask position with numpy : 0.007295131683349609 nb_pixel_total : 101177 time to create 1 rle with old method : 0.10914206504821777 time for calcul the mask position with numpy : 0.012268543243408203 nb_pixel_total : 942293 time to create 1 rle with new method : 0.23621201515197754 time for calcul the mask position with numpy : 0.006712198257446289 nb_pixel_total : 46268 time to create 1 rle with old method : 0.05139923095703125 create new chi : 0.6910488605499268 time to delete rle : 0.0008103847503662109 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 5733 TO DO : save crop sub photo not yet done ! save time : 0.6544969081878662 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05645895004272461 time for calcul the mask position with numpy : 0.1907031536102295 nb_pixel_total : 1919612 time to create 1 rle with new method : 0.09319067001342773 time for calcul the mask position with numpy : 0.006161689758300781 nb_pixel_total : 16352 time to create 1 rle with old method : 0.01768183708190918 time for calcul the mask position with numpy : 0.006463527679443359 nb_pixel_total : 110599 time to create 1 rle with old method : 0.11962270736694336 time for calcul the mask position with numpy : 0.006826162338256836 nb_pixel_total : 27037 time to create 1 rle with old method : 0.03011488914489746 create new chi : 0.4815094470977783 time to delete rle : 0.00046324729919433594 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 2908 TO DO : save crop sub photo not yet done ! save time : 0.3738846778869629 No data in photo_id : 1381537361 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04380226135253906 time for calcul the mask position with numpy : 0.043877601623535156 nb_pixel_total : 1956194 time to create 1 rle with new method : 0.1768944263458252 time for calcul the mask position with numpy : 0.006438732147216797 nb_pixel_total : 102091 time to create 1 rle with old method : 0.10948848724365234 time for calcul the mask position with numpy : 0.0059659481048583984 nb_pixel_total : 15315 time to create 1 rle with old method : 0.01582193374633789 create new chi : 0.3666548728942871 time to delete rle : 0.0003573894500732422 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2432 TO DO : save crop sub photo not yet done ! save time : 0.37476038932800293 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04475545883178711 time for calcul the mask position with numpy : 0.1737349033355713 nb_pixel_total : 1945837 time to create 1 rle with new method : 0.2111527919769287 time for calcul the mask position with numpy : 0.0070073604583740234 nb_pixel_total : 114930 time to create 1 rle with old method : 0.12404251098632812 time for calcul the mask position with numpy : 0.010291814804077148 nb_pixel_total : 12833 time to create 1 rle with old method : 0.013939857482910156 create new chi : 0.5498874187469482 time to delete rle : 0.00040221214294433594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2428 TO DO : save crop sub photo not yet done ! save time : 0.4262216091156006 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.06968331336975098 time for calcul the mask position with numpy : 0.06391525268554688 nb_pixel_total : 1951856 time to create 1 rle with new method : 0.285963773727417 time for calcul the mask position with numpy : 0.006969451904296875 nb_pixel_total : 86522 time to create 1 rle with old method : 0.0946512222290039 time for calcul the mask position with numpy : 0.006154298782348633 nb_pixel_total : 15502 time to create 1 rle with old method : 0.016490936279296875 time for calcul the mask position with numpy : 0.005985260009765625 nb_pixel_total : 19720 time to create 1 rle with old method : 0.021084070205688477 create new chi : 0.5121440887451172 time to delete rle : 0.00046563148498535156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2882 TO DO : save crop sub photo not yet done ! save time : 0.44823694229125977 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034924983978271484 time for calcul the mask position with numpy : 0.02223491668701172 nb_pixel_total : 2055038 time to create 1 rle with new method : 0.08550238609313965 time for calcul the mask position with numpy : 0.006104946136474609 nb_pixel_total : 18562 time to create 1 rle with old method : 0.019958019256591797 create new chi : 0.14084172248840332 time to delete rle : 0.0002219676971435547 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1448 TO DO : save crop sub photo not yet done ! save time : 0.23909878730773926 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5256619453430176 time for calcul the mask position with numpy : 0.13024401664733887 nb_pixel_total : 1916377 time to create 1 rle with new method : 0.20316624641418457 time for calcul the mask position with numpy : 0.007037639617919922 nb_pixel_total : 14126 time to create 1 rle with old method : 0.01593160629272461 time for calcul the mask position with numpy : 0.006108760833740234 nb_pixel_total : 14133 time to create 1 rle with old method : 0.015762805938720703 time for calcul the mask position with numpy : 0.0067784786224365234 nb_pixel_total : 115015 time to create 1 rle with old method : 0.12359976768493652 time for calcul the mask position with numpy : 0.0060901641845703125 nb_pixel_total : 13949 time to create 1 rle with old method : 0.015098094940185547 create new chi : 0.5414602756500244 time to delete rle : 0.0004999637603759766 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3214 TO DO : save crop sub photo not yet done ! save time : 0.5029454231262207 map_output_result : {1381537667: (0.0, 'Should be the crop_list due to order', 0), 1381537581: (0.0, 'Should be the crop_list due to order', 0), 1381537551: (0.0, 'Should be the crop_list due to order', 0), 1381537500: (0.0, 'Should be the crop_list due to order', 0), 1381537364: (0.0, 'Should be the crop_list due to order', 0), 1381537361: (0.0, 'Should be the crop_list due to order', 0.0), 1381537320: (0.0, 'Should be the crop_list due to order', 0), 1381537319: (0.0, 'Should be the crop_list due to order', 0), 1381537226: (0.0, 'Should be the crop_list due to order', 0), 1381537215: (0.0, 'Should be the crop_list due to order', 0), 1381537066: (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 [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] Looping around the photos to save general results len do output : 11 /1381537667.Didn't retrieve data . /1381537581.Didn't retrieve data . /1381537551.Didn't retrieve data . /1381537500.Didn't retrieve data . /1381537364.Didn't retrieve data . /1381537361.Didn't retrieve data . /1381537320.Didn't retrieve data . /1381537319.Didn't retrieve data . /1381537226.Didn't retrieve data . /1381537215.Didn't retrieve data . /1381537066.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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.03444862365722656 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.276424407958984 time spend to save output : 0.0348668098449707 total time spend for step 3 : 11.311291217803955 step4:ventilate_hashtags_in_portfolio Fri Sep 5 00:11:34 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 : 26548452 get user id for portfolio 26548452 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`=26548452 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','pet_fonce','carton','environnement','pehd','metal','flou','pet_clair','autre','papier')) 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`=26548452 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','pet_fonce','carton','environnement','pehd','metal','flou','pet_clair','autre','papier')) AND mptpi.`min_score`=0.5 To do 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`=26548452 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','pet_fonce','carton','environnement','pehd','metal','flou','pet_clair','autre','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26552682,26552683,26552684,26552685,26552686,26552687,26552688,26552689,26552690,26552691,26552692?tags=mal_croppe,background,pet_fonce,carton,environnement,pehd,metal,flou,pet_clair,autre,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] Looping around the photos to save general results len do output : 1 /26548452. 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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.039014339447021484 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.137700319290161 time spend to save output : 0.03931021690368652 total time spend for step 4 : 2.1770105361938477 step5:final Fri Sep 5 00:11:36 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 : {1381537667: ('0.12033740179573509',), 1381537581: ('0.12033740179573509',), 1381537551: ('0.12033740179573509',), 1381537500: ('0.12033740179573509',), 1381537364: ('0.12033740179573509',), 1381537361: ('0.12033740179573509',), 1381537320: ('0.12033740179573509',), 1381537319: ('0.12033740179573509',), 1381537226: ('0.12033740179573509',), 1381537215: ('0.12033740179573509',), 1381537066: ('0.12033740179573509',)} new output for save of step final : {1381537667: ('0.12033740179573509',), 1381537581: ('0.12033740179573509',), 1381537551: ('0.12033740179573509',), 1381537500: ('0.12033740179573509',), 1381537364: ('0.12033740179573509',), 1381537361: ('0.12033740179573509',), 1381537320: ('0.12033740179573509',), 1381537319: ('0.12033740179573509',), 1381537226: ('0.12033740179573509',), 1381537215: ('0.12033740179573509',), 1381537066: ('0.12033740179573509',)} [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] Looping around the photos to save general results len do output : 11 /1381537667.Didn't retrieve data . /1381537581.Didn't retrieve data . /1381537551.Didn't retrieve data . /1381537500.Didn't retrieve data . /1381537364.Didn't retrieve data . /1381537361.Didn't retrieve data . /1381537320.Didn't retrieve data . /1381537319.Didn't retrieve data . /1381537226.Didn't retrieve data . /1381537215.Didn't retrieve data . /1381537066.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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.0592808723449707 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3997776508331299 time spend to save output : 0.05974078178405762 total time spend for step 5 : 0.4595184326171875 step6:blur_detection Fri Sep 5 00:11:37 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/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128.jpg resize: (1080, 1920) 1381537667 -2.6081124464122496 treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3.jpg resize: (1080, 1920) 1381537581 0.8709008951163696 treat image : temp/1757023828_2455632_1381537551_dee9e164f168cb6a80bfdc93561d384f.jpg resize: (1080, 1920) 1381537551 -2.0230404839391314 treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a.jpg resize: (1080, 1920) 1381537500 -2.12462679510992 treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6.jpg resize: (1080, 1920) 1381537364 -2.146377492409254 treat image : temp/1757023828_2455632_1381537361_b89dd9091042c0191182905b3eddd605.jpg resize: (1080, 1920) 1381537361 -2.884631419764362 treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b.jpg resize: (1080, 1920) 1381537320 -2.44752938720139 treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2.jpg resize: (1080, 1920) 1381537319 -2.889647891578703 treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c.jpg resize: (1080, 1920) 1381537226 -2.9845532653436946 treat image : temp/1757023828_2455632_1381537215_c9bdcaee00e2c54491a6ec23867d7597.jpg resize: (1080, 1920) 1381537215 -1.9764781585456126 treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43.jpg resize: (1080, 1920) 1381537066 -2.2356397444642595 treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164671_0.png resize: (109, 138) 1381587638 -2.0236084548216264 treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164674_0.png resize: (79, 126) 1381587639 1.9554883343619753 treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164695_0.png resize: (167, 164) 1381587640 -1.2128569798432507 treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164673_0.png resize: (159, 115) 1381587669 -2.2769457496190415 treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164670_0.png resize: (66, 110) 1381587671 -1.2687786663795766 treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164672_0.png resize: (507, 350) 1381587673 -0.4517935719446275 treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164675_0.png resize: (126, 110) 1381587675 -1.044108142455054 treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164676_0.png resize: (92, 109) 1381587676 -0.9591887164505519 treat image : temp/1757023828_2455632_1381537551_dee9e164f168cb6a80bfdc93561d384f_rle_crop_3945164677_0.png resize: (962, 1278) 1381587677 -0.34915872745214904 treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164679_0.png resize: (958, 1280) 1381587679 -1.5167049057443591 treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164678_0.png resize: (178, 370) 1381587680 -2.564238943230097 treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164680_0.png resize: (529, 333) 1381587681 0.13587976238094718 treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164683_0.png resize: (132, 341) 1381587682 -2.4835972819302095 treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164681_0.png resize: (155, 293) 1381587683 -1.7531702050471727 treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164682_0.png resize: (527, 340) 1381587684 0.10801955320171919 treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b_rle_crop_3945164684_0.png resize: (145, 166) 1381587685 -2.0994909949174625 treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b_rle_crop_3945164685_0.png resize: (524, 335) 1381587686 0.2413752547783059 treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2_rle_crop_3945164687_0.png resize: (526, 369) 1381587687 0.40700031097764605 treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164689_0.png resize: (211, 143) 1381587688 -3.256095273665743 treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164690_0.png resize: (479, 370) 1381587689 -0.7818073563108644 treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164688_0.png resize: (138, 199) 1381587690 -4.150760418997847 treat image : temp/1757023828_2455632_1381537215_c9bdcaee00e2c54491a6ec23867d7597_rle_crop_3945164691_0.png resize: (184, 128) 1381587691 -2.820789398330373 treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164692_0.png resize: (134, 129) 1381587692 -1.4278058746695361 treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164694_0.png resize: (190, 118) 1381587693 -1.9317391692131203 treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164693_0.png resize: (547, 379) 1381587694 0.1269820317370952 treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2_rle_crop_3945164686_0.png resize: (131, 132) 1381587695 -2.5472191259536343 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 : 37 time used for this insertion : 0.03905510902404785 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.04154801368713379 save missing photos in datou_result : time spend for datou_step_exec : 10.551822185516357 time spend to save output : 0.09556937217712402 total time spend for step 6 : 10.647391557693481 step7:brightness Fri Sep 5 00:11:47 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/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128.jpg treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3.jpg treat image : temp/1757023828_2455632_1381537551_dee9e164f168cb6a80bfdc93561d384f.jpg treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a.jpg treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6.jpg treat image : temp/1757023828_2455632_1381537361_b89dd9091042c0191182905b3eddd605.jpg treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b.jpg treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2.jpg treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c.jpg treat image : temp/1757023828_2455632_1381537215_c9bdcaee00e2c54491a6ec23867d7597.jpg treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43.jpg treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164671_0.png treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164674_0.png treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164695_0.png treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164673_0.png treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164670_0.png treat image : temp/1757023828_2455632_1381537667_a5324cd37b5a8aa32f16600940f59128_rle_crop_3945164672_0.png treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164675_0.png treat image : temp/1757023828_2455632_1381537581_44efb028063d2fd3d67cc004d6847fe3_rle_crop_3945164676_0.png treat image : temp/1757023828_2455632_1381537551_dee9e164f168cb6a80bfdc93561d384f_rle_crop_3945164677_0.png treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164679_0.png treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164678_0.png treat image : temp/1757023828_2455632_1381537500_b3f4cda127650360c6d32fe6bea4ec5a_rle_crop_3945164680_0.png treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164683_0.png treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164681_0.png treat image : temp/1757023828_2455632_1381537364_18e2aac01a47987edbeace7c4fa80ac6_rle_crop_3945164682_0.png treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b_rle_crop_3945164684_0.png treat image : temp/1757023828_2455632_1381537320_b6d69a2254f772ef86fa146ab6984a4b_rle_crop_3945164685_0.png treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2_rle_crop_3945164687_0.png treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164689_0.png treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164690_0.png treat image : temp/1757023828_2455632_1381537226_65a85766a59789650afdc6af9072e24c_rle_crop_3945164688_0.png treat image : temp/1757023828_2455632_1381537215_c9bdcaee00e2c54491a6ec23867d7597_rle_crop_3945164691_0.png treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164692_0.png treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164694_0.png treat image : temp/1757023828_2455632_1381537066_532846fedf0dfe1e0f717f0de71d5d43_rle_crop_3945164693_0.png treat image : temp/1757023828_2455632_1381537319_57b24149949fa930d8712979338a30a2_rle_crop_3945164686_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 : 37 time used for this insertion : 0.03165078163146973 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.03212380409240723 save missing photos in datou_result : time spend for datou_step_exec : 3.034532308578491 time spend to save output : 0.07706260681152344 total time spend for step 7 : 3.1115949153900146 step8:velours_tree Fri Sep 5 00:11:50 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.1512157917022705 time spend to save output : 4.3392181396484375e-05 total time spend for step 8 : 0.151259183883667 step9:send_mail_cod Fri Sep 5 00:11:50 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_P26548452_05-09-2025_00_11_50.pdf 26552682 imagette265526821757023910 26552683 imagette265526831757023911 26552684 imagette265526841757023911 26552685 imagette265526851757023911 26552687 imagette265526871757023911 26552688 imagette265526881757023911 26552689 imagette265526891757023911 26552690 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 .imagette265526901757023911 26552691 change filename to text .imagette265526911757023912 26552692 change filename to text .change filename to text .change filename to text .imagette265526921757023912 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26548452 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26552682,26552683,26552684,26552685,26552686,26552687,26552688,26552689,26552690,26552691,26552692?tags=mal_croppe,background,pet_fonce,carton,environnement,pehd,metal,flou,pet_clair,autre,papier args[1381537667] : ((1381537667, -2.6081124464122496, 492609224), (1381537667, 0.5451621593637441, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537581] : ((1381537581, 0.8709008951163696, 492688767), (1381537581, 0.6161301839874737, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537551] : ((1381537551, -2.0230404839391314, 492609224), (1381537551, 0.4424240709318563, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537500] : ((1381537500, -2.12462679510992, 492609224), (1381537500, 0.42224324840479743, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537364] : ((1381537364, -2.146377492409254, 492609224), (1381537364, 0.3609333124732614, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537361] : ((1381537361, -2.884631419764362, 492609224), (1381537361, 0.5975644747063252, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537320] : ((1381537320, -2.44752938720139, 492609224), (1381537320, 0.5228645998388315, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537319] : ((1381537319, -2.889647891578703, 492609224), (1381537319, 0.33565675781187526, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537226] : ((1381537226, -2.9845532653436946, 492609224), (1381537226, 0.4285090906747593, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537215] : ((1381537215, -1.9764781585456126, 492688767), (1381537215, 0.46533546591297964, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com args[1381537066] : ((1381537066, -2.2356397444642595, 492609224), (1381537066, 0.46823140074193453, 2107752395), '0.12033740179573509') We are sending mail with results at report@fotonower.com refus_total : 0.12033740179573509 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=26548452 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_P26548452_05-09-2025_00_11_50.pdf results_Auto_P26548452_05-09-2025_00_11_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548452_05-09-2025_00_11_50.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','26548452','results_Auto_P26548452_05-09-2025_00_11_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548452_05-09-2025_00_11_50.pdf','pdf','','0.37','0.12033740179573509') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26548452

https://www.fotonower.com/image?json=false&list_photos_id=1381537667
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537581
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537551
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537500
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537364
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537361
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537320
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537319
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537226
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537215
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381537066
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26552690?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26552691?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26552692?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548452_05-09-2025_00_11_50.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26552682,26552683,26552684,26552685,26552686,26552687,26552688,26552689,26552690,26552691,26552692?tags=mal_croppe,background,pet_fonce,carton,environnement,pehd,metal,flou,pet_clair,autre,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 04 Sep 2025 22:11:54 GMT Content-Length: 0 Connection: close X-Message-Id: o4XN9bpzSrGVXG6igIZIcw 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 [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] 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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.05385303497314453 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.960319757461548 time spend to save output : 0.05415463447570801 total time spend for step 9 : 4.014474391937256 step10:split_time_score Fri Sep 5 00:11:54 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'}] (('15', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26548452 Nombre de photos uploadées : 11 / 23040 (0%) 04092025 26548452 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 04092025 26548452 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.33514404296875e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006415843963623047 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6554772853851318 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.04212625385802469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532805_04-09-2025_17_31_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26532805 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`=26532805 AND mptpi.`type`=3594 To do Qualite : 0.12952349010942762 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531218 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`=26531218 AND mptpi.`type`=3594 To do Qualite : 0.04653764441524856 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26534764_04-09-2025_18_04_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26534764 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`=26534764 AND mptpi.`type`=3594 To do Qualite : 0.09121228780864196 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548447_04-09-2025_23_21_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26548447 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`=26548447 AND mptpi.`type`=3594 To do Qualite : 0.16422104070216048 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548449_04-09-2025_23_11_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26548449 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`=26548449 AND mptpi.`type`=3594 To do Qualite : 0.12033740179573509 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548452_05-09-2025_00_11_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26548452 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`=26548452 AND mptpi.`type`=3594 To do Qualite : 0.16431580343364197 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548456_04-09-2025_22_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26548456 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`=26548456 AND mptpi.`type`=3594 To do Qualite : 0.11145703495963911 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26548459_04-09-2025_22_41_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26548459 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`=26548459 AND mptpi.`type`=3594 To do Qualite : 0.06045952690972223 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541041_04-09-2025_22_31_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26541041 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`=26541041 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'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 [1381537667, 1381537581, 1381537551, 1381537500, 1381537364, 1381537361, 1381537320, 1381537319, 1381537226, 1381537215, 1381537066] Looping around the photos to save general results len do output : 1 /26548452Didn'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, '3666239') ('3318', '26548452', '1381537667', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537581', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537551', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537500', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537364', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537361', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537320', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537319', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537226', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537215', None, None, None, None, None, '3666239') ('3318', None, None, None, None, None, None, None, '3666239') ('3318', '26548452', '1381537066', None, None, None, None, None, '3666239') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.0407102108001709 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9117777347564697 time spend to save output : 0.04097628593444824 total time spend for step 10 : 2.952754020690918 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 46.28user 24.30system 1:32.54elapsed 76%CPU (0avgtext+0avgdata 2731348maxresident)k 503536inputs+25224outputs (34major+1542168minor)pagefaults 0swaps