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 : 2081972 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 : ['3658779'] with mtr_portfolio_ids : ['26487565'] and first list_photo_ids : [] new path : /proc/2081972/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.8859889507293701 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Sep 3 13:40: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 : 10601 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-03 13:40:32.073808: 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-03 13:40:32.104735: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-03 13:40:32.106882: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f31b8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-03 13:40:32.106936: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-03 13:40:32.111009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-03 13:40:32.264033: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x382627b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-03 13:40:32.264101: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-03 13:40:32.265583: 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-03 13:40:32.266033: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 13:40:32.269441: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 13:40:32.272543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 13:40:32.273040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 13:40:32.275482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 13:40:32.276500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 13:40:32.280938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 13:40:32.282423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 13:40:32.282492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 13:40:32.283239: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 13:40:32.283254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 13:40:32.283262: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 13:40:32.284574: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9819 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-03 13:40:32.535862: 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-03 13:40:32.535986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 13:40:32.536010: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 13:40:32.536030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 13:40:32.536051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 13:40:32.536070: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 13:40:32.536089: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 13:40:32.536109: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 13:40:32.537716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 13:40:32.539181: 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-03 13:40:32.539223: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 13:40:32.539245: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 13:40:32.539264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 13:40:32.539284: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 13:40:32.539304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 13:40:32.539323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 13:40:32.539342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 13:40:32.540983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 13:40:32.541027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 13:40:32.541038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 13:40:32.541049: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 13:40:32.542487: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9819 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-03 13:40:41.042785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 13:40:41.256130: 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 : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 28 Detection mask done ! Trying to reset tf kernel 2082605 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1532 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 6821 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.005641460418701172 nb_pixel_total : 222697 time to create 1 rle with new method : 0.014124155044555664 length of segment : 557 time for calcul the mask position with numpy : 0.002078533172607422 nb_pixel_total : 123851 time to create 1 rle with old method : 0.1455676555633545 length of segment : 317 time for calcul the mask position with numpy : 0.0005733966827392578 nb_pixel_total : 28089 time to create 1 rle with old method : 0.0339360237121582 length of segment : 184 time for calcul the mask position with numpy : 0.0004429817199707031 nb_pixel_total : 21560 time to create 1 rle with old method : 0.02483344078063965 length of segment : 238 time for calcul the mask position with numpy : 0.0006151199340820312 nb_pixel_total : 38607 time to create 1 rle with old method : 0.04440736770629883 length of segment : 163 time for calcul the mask position with numpy : 0.0004162788391113281 nb_pixel_total : 25673 time to create 1 rle with old method : 0.029528141021728516 length of segment : 163 time for calcul the mask position with numpy : 0.0002655982971191406 nb_pixel_total : 11209 time to create 1 rle with old method : 0.013182878494262695 length of segment : 152 time for calcul the mask position with numpy : 0.0038743019104003906 nb_pixel_total : 215327 time to create 1 rle with new method : 0.01510930061340332 length of segment : 615 time for calcul the mask position with numpy : 0.0033111572265625 nb_pixel_total : 212199 time to create 1 rle with new method : 0.012872934341430664 length of segment : 566 time for calcul the mask position with numpy : 0.0004303455352783203 nb_pixel_total : 8589 time to create 1 rle with old method : 0.012299299240112305 length of segment : 177 time for calcul the mask position with numpy : 0.002007722854614258 nb_pixel_total : 86154 time to create 1 rle with old method : 0.10261178016662598 length of segment : 476 time for calcul the mask position with numpy : 0.0020287036895751953 nb_pixel_total : 126638 time to create 1 rle with old method : 0.1459195613861084 length of segment : 448 time for calcul the mask position with numpy : 0.0007579326629638672 nb_pixel_total : 41528 time to create 1 rle with old method : 0.047991037368774414 length of segment : 249 time for calcul the mask position with numpy : 0.0004210472106933594 nb_pixel_total : 21765 time to create 1 rle with old method : 0.025008678436279297 length of segment : 265 time for calcul the mask position with numpy : 0.0005719661712646484 nb_pixel_total : 40663 time to create 1 rle with old method : 0.04771924018859863 length of segment : 211 time for calcul the mask position with numpy : 0.001287221908569336 nb_pixel_total : 91779 time to create 1 rle with old method : 0.10451674461364746 length of segment : 304 time for calcul the mask position with numpy : 0.0007035732269287109 nb_pixel_total : 34729 time to create 1 rle with old method : 0.04011201858520508 length of segment : 357 time for calcul the mask position with numpy : 0.0013594627380371094 nb_pixel_total : 91993 time to create 1 rle with old method : 0.10320878028869629 length of segment : 407 time for calcul the mask position with numpy : 0.0007824897766113281 nb_pixel_total : 45992 time to create 1 rle with old method : 0.05742359161376953 length of segment : 250 time for calcul the mask position with numpy : 0.0007510185241699219 nb_pixel_total : 18086 time to create 1 rle with old method : 0.02231287956237793 length of segment : 145 time for calcul the mask position with numpy : 0.0005171298980712891 nb_pixel_total : 31543 time to create 1 rle with old method : 0.037662506103515625 length of segment : 261 time for calcul the mask position with numpy : 0.003213644027709961 nb_pixel_total : 130597 time to create 1 rle with old method : 0.1604905128479004 length of segment : 564 time for calcul the mask position with numpy : 0.0008192062377929688 nb_pixel_total : 51535 time to create 1 rle with old method : 0.06379103660583496 length of segment : 255 time for calcul the mask position with numpy : 0.0005712509155273438 nb_pixel_total : 27670 time to create 1 rle with old method : 0.034180641174316406 length of segment : 352 time for calcul the mask position with numpy : 0.0003349781036376953 nb_pixel_total : 19745 time to create 1 rle with old method : 0.024368762969970703 length of segment : 184 time for calcul the mask position with numpy : 0.0013151168823242188 nb_pixel_total : 94805 time to create 1 rle with old method : 0.11523842811584473 length of segment : 431 time for calcul the mask position with numpy : 0.0011246204376220703 nb_pixel_total : 29828 time to create 1 rle with old method : 0.03666830062866211 length of segment : 226 time for calcul the mask position with numpy : 0.0009839534759521484 nb_pixel_total : 33034 time to create 1 rle with old method : 0.04090523719787598 length of segment : 249 time for calcul the mask position with numpy : 0.0013713836669921875 nb_pixel_total : 86801 time to create 1 rle with old method : 0.10587096214294434 length of segment : 415 time for calcul the mask position with numpy : 0.0028340816497802734 nb_pixel_total : 136049 time to create 1 rle with old method : 0.16928768157958984 length of segment : 359 time for calcul the mask position with numpy : 0.002379179000854492 nb_pixel_total : 57808 time to create 1 rle with old method : 0.07273674011230469 length of segment : 311 time for calcul the mask position with numpy : 0.005452632904052734 nb_pixel_total : 145001 time to create 1 rle with old method : 0.18606305122375488 length of segment : 745 time for calcul the mask position with numpy : 0.001260995864868164 nb_pixel_total : 38679 time to create 1 rle with old method : 0.04785943031311035 length of segment : 238 time for calcul the mask position with numpy : 0.0012187957763671875 nb_pixel_total : 35278 time to create 1 rle with old method : 0.0439755916595459 length of segment : 310 time for calcul the mask position with numpy : 0.0027418136596679688 nb_pixel_total : 101199 time to create 1 rle with old method : 0.14961934089660645 length of segment : 338 time for calcul the mask position with numpy : 0.007158041000366211 nb_pixel_total : 222049 time to create 1 rle with new method : 0.013925313949584961 length of segment : 637 time spent for convertir_results : 4.2984535694122314 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 36 chid ids of type : 3594 Number RLEs to save : 12119 save missing photos in datou_result : time spend for datou_step_exec : 35.6523015499115 time spend to save output : 0.7825379371643066 total time spend for step 1 : 36.434839487075806 step2:crop_condition Wed Sep 3 13:41:05 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 : 5 ! batch 1 Loaded 36 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756899676_2081972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.32774019241333 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1756899686_2081972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2218177318572998 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756899688_2081972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8338251113891602 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756899692_2081972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6735260486602783 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/1756899695_2081972 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.6677396297454834 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] Looping around the photos to save general results len do output : 36 /1381094228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381094298Didn'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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 113 time used for this insertion : 0.01928257942199707 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.808104276657104 time spend to save output : 0.020722150802612305 total time spend for step 2 : 29.828826427459717 step3:rle_unique_nms_with_priority Wed Sep 3 13:41:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 36 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 3.871389865875244 time for calcul the mask position with numpy : 0.4959876537322998 nb_pixel_total : 7509783 time to create 1 rle with new method : 0.9555470943450928 time for calcul the mask position with numpy : 0.02558732032775879 nb_pixel_total : 86154 time to create 1 rle with old method : 0.10461068153381348 time for calcul the mask position with numpy : 0.025249719619750977 nb_pixel_total : 8589 time to create 1 rle with old method : 0.010233640670776367 time for calcul the mask position with numpy : 0.02456068992614746 nb_pixel_total : 2861 time to create 1 rle with old method : 0.003875732421875 time for calcul the mask position with numpy : 0.027480602264404297 nb_pixel_total : 215327 time to create 1 rle with new method : 0.6747641563415527 time for calcul the mask position with numpy : 0.02493739128112793 nb_pixel_total : 11209 time to create 1 rle with old method : 0.012760639190673828 time for calcul the mask position with numpy : 0.024396181106567383 nb_pixel_total : 25673 time to create 1 rle with old method : 0.03003406524658203 time for calcul the mask position with numpy : 0.024079322814941406 nb_pixel_total : 38607 time to create 1 rle with old method : 0.04334235191345215 time for calcul the mask position with numpy : 0.024658918380737305 nb_pixel_total : 21560 time to create 1 rle with old method : 0.024995803833007812 time for calcul the mask position with numpy : 0.02434706687927246 nb_pixel_total : 28089 time to create 1 rle with old method : 0.032691240310668945 time for calcul the mask position with numpy : 0.025893688201904297 nb_pixel_total : 123851 time to create 1 rle with old method : 0.14727425575256348 time for calcul the mask position with numpy : 0.028490781784057617 nb_pixel_total : 222697 time to create 1 rle with new method : 0.7955491542816162 create new chi : 3.698171615600586 time to delete rle : 0.023651838302612305 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 8688 TO DO : save crop sub photo not yet done ! save time : 0.5590128898620605 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 2.251871347427368 time for calcul the mask position with numpy : 0.6200923919677734 nb_pixel_total : 7937298 time to create 1 rle with new method : 0.9064188003540039 time for calcul the mask position with numpy : 0.02367544174194336 nb_pixel_total : 34729 time to create 1 rle with old method : 0.03947639465332031 time for calcul the mask position with numpy : 0.025216341018676758 nb_pixel_total : 91779 time to create 1 rle with old method : 0.11197161674499512 time for calcul the mask position with numpy : 0.027029752731323242 nb_pixel_total : 40663 time to create 1 rle with old method : 0.04859471321105957 time for calcul the mask position with numpy : 0.027049541473388672 nb_pixel_total : 21765 time to create 1 rle with old method : 0.02559685707092285 time for calcul the mask position with numpy : 0.024909019470214844 nb_pixel_total : 41528 time to create 1 rle with old method : 0.04853653907775879 time for calcul the mask position with numpy : 0.026950597763061523 nb_pixel_total : 126638 time to create 1 rle with old method : 0.15053343772888184 create new chi : 2.149463415145874 time to delete rle : 0.0007951259613037109 batch 1 Loaded 13 chid ids of type : 3594 +++++++++++Number RLEs to save : 5828 TO DO : save crop sub photo not yet done ! save time : 0.3852407932281494 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 1.9869060516357422 time for calcul the mask position with numpy : 0.486835241317749 nb_pixel_total : 8106786 time to create 1 rle with new method : 0.6352436542510986 time for calcul the mask position with numpy : 0.02297687530517578 nb_pixel_total : 31543 time to create 1 rle with old method : 0.03555560111999512 time for calcul the mask position with numpy : 0.022389888763427734 nb_pixel_total : 18086 time to create 1 rle with old method : 0.019860267639160156 time for calcul the mask position with numpy : 0.022777557373046875 nb_pixel_total : 45992 time to create 1 rle with old method : 0.05085253715515137 time for calcul the mask position with numpy : 0.023192405700683594 nb_pixel_total : 91993 time to create 1 rle with old method : 0.10036659240722656 create new chi : 1.4608430862426758 time to delete rle : 0.0005500316619873047 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4286 TO DO : save crop sub photo not yet done ! save time : 0.2776153087615967 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 1.983778476715088 time for calcul the mask position with numpy : 0.5315463542938232 nb_pixel_total : 7970525 time to create 1 rle with new method : 0.6116127967834473 time for calcul the mask position with numpy : 0.026599884033203125 nb_pixel_total : 94328 time to create 1 rle with old method : 0.1119847297668457 time for calcul the mask position with numpy : 0.024927377700805664 nb_pixel_total : 19745 time to create 1 rle with old method : 0.022440433502197266 time for calcul the mask position with numpy : 0.024176597595214844 nb_pixel_total : 27670 time to create 1 rle with old method : 0.03152656555175781 time for calcul the mask position with numpy : 0.023594141006469727 nb_pixel_total : 51535 time to create 1 rle with old method : 0.056876420974731445 time for calcul the mask position with numpy : 0.02505040168762207 nb_pixel_total : 130597 time to create 1 rle with old method : 0.14581513404846191 create new chi : 1.6791934967041016 time to delete rle : 0.0006392002105712891 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 5687 TO DO : save crop sub photo not yet done ! save time : 0.3403337001800537 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 3.208258628845215 time for calcul the mask position with numpy : 0.6150698661804199 nb_pixel_total : 7408674 time to create 1 rle with new method : 0.7061607837677002 time for calcul the mask position with numpy : 0.045807600021362305 nb_pixel_total : 222049 time to create 1 rle with new method : 0.7896847724914551 time for calcul the mask position with numpy : 0.02408599853515625 nb_pixel_total : 101199 time to create 1 rle with old method : 0.11529016494750977 time for calcul the mask position with numpy : 0.022875547409057617 nb_pixel_total : 35278 time to create 1 rle with old method : 0.03960418701171875 time for calcul the mask position with numpy : 0.024020671844482422 nb_pixel_total : 38679 time to create 1 rle with old method : 0.04422116279602051 time for calcul the mask position with numpy : 0.023630142211914062 nb_pixel_total : 145001 time to create 1 rle with old method : 0.16303420066833496 time for calcul the mask position with numpy : 0.02324700355529785 nb_pixel_total : 57808 time to create 1 rle with old method : 0.06297945976257324 time for calcul the mask position with numpy : 0.024524927139282227 nb_pixel_total : 136049 time to create 1 rle with old method : 0.15149426460266113 time for calcul the mask position with numpy : 0.02596259117126465 nb_pixel_total : 86801 time to create 1 rle with old method : 0.09840273857116699 time for calcul the mask position with numpy : 0.03027939796447754 nb_pixel_total : 33034 time to create 1 rle with old method : 0.037909746170043945 time for calcul the mask position with numpy : 0.025206565856933594 nb_pixel_total : 29828 time to create 1 rle with old method : 0.034942626953125 create new chi : 3.2076427936553955 time to delete rle : 0.0009808540344238281 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++Number RLEs to save : 9816 TO DO : save crop sub photo not yet done ! save time : 0.5567293167114258 map_output_result : {1381083080: (0.0, 'Should be the crop_list due to order', 0), 1381082929: (0.0, 'Should be the crop_list due to order', 0), 1381082917: (0.0, 'Should be the crop_list due to order', 0), 1381082915: (0.0, 'Should be the crop_list due to order', 0), 1381082905: (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 [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] Looping around the photos to save general results len do output : 5 /1381083080.Didn't retrieve data . /1381082929.Didn't retrieve data . /1381082917.Didn't retrieve data . /1381082915.Didn't retrieve data . /1381082905.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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01636981964111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.557568073272705 time spend to save output : 0.01669931411743164 total time spend for step 3 : 28.574267387390137 step4:ventilate_hashtags_in_portfolio Wed Sep 3 13:42:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 26487565 get user id for portfolio 26487565 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`=26487565 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pehd','mal_croppe','environnement','metal','autre','pet_fonce','pet_clair','flou','papier','background')) 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`=26487565 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pehd','mal_croppe','environnement','metal','autre','pet_fonce','pet_clair','flou','papier','background')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26487565 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pehd','mal_croppe','environnement','metal','autre','pet_fonce','pet_clair','flou','papier','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26487973,26487974,26487975,26487976,26487977,26487978,26487979,26487980,26487981,26487982,26487983?tags=carton,pehd,mal_croppe,environnement,metal,autre,pet_fonce,pet_clair,flou,papier,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] Looping around the photos to save general results len do output : 1 /26487565. 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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014275312423706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.816418170928955 time spend to save output : 0.014477968215942383 total time spend for step 4 : 1.8308961391448975 step5:final Wed Sep 3 13:42:05 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 : {1381083080: ('0.06122043788580245',), 1381082929: ('0.06122043788580245',), 1381082917: ('0.06122043788580245',), 1381082915: ('0.06122043788580245',), 1381082905: ('0.06122043788580245',)} new output for save of step final : {1381083080: ('0.06122043788580245',), 1381082929: ('0.06122043788580245',), 1381082917: ('0.06122043788580245',), 1381082915: ('0.06122043788580245',), 1381082905: ('0.06122043788580245',)} [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] Looping around the photos to save general results len do output : 5 /1381083080.Didn't retrieve data . /1381082929.Didn't retrieve data . /1381082917.Didn't retrieve data . /1381082915.Didn't retrieve data . /1381082905.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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013592720031738281 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13818669319152832 time spend to save output : 0.013896942138671875 total time spend for step 5 : 0.1520836353302002 step6:blur_detection Wed Sep 3 13:42:06 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/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6.jpg resize: (2160, 3840) 1381083080 -6.8576295950769195 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e.jpg resize: (2160, 3840) 1381082929 -6.881036767407225 treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187.jpg resize: (2160, 3840) 1381082917 -6.951221323073978 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a.jpg resize: (2160, 3840) 1381082915 -6.964694134659954 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1.jpg resize: (2160, 3840) 1381082905 -6.815503886330689 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059185_0.png resize: (151, 109) 1381094228 -2.646825598174072 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059181_0.png resize: (176, 270) 1381094229 -2.5097896960986783 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059188_0.png resize: (171, 163) 1381094230 -1.8730234441356284 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059183_0.png resize: (159, 333) 1381094232 -4.72297286552046 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059179_0.png resize: (527, 557) 1381094233 -5.478502189694707 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059184_0.png resize: (160, 204) 1381094234 1.275923981655762 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059186_0.png resize: (615, 606) 1381094236 -3.6880357683040184 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059189_0.png resize: (471, 333) 1381094237 -0.915117706134881 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059182_0.png resize: (238, 126) 1381094238 -3.828441218626819 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059191_0.png resize: (248, 257) 1381094240 1.8855880474375266 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059194_0.png resize: (304, 422) 1381094241 -3.963339543571831 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059193_0.png resize: (195, 249) 1381094242 -3.876448525889739 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059192_0.png resize: (265, 103) 1381094244 -3.7914173411548577 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059195_0.png resize: (299, 254) 1381094245 -3.6414897940141233 treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059196_0.png resize: (407, 331) 1381094246 -0.573043897669413 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059201_0.png resize: (254, 315) 1381094248 -3.5798813238703198 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059200_0.png resize: (564, 393) 1381094249 -4.651223722716967 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059204_0.png resize: (407, 343) 1381094251 -0.9050915763456286 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059210_0.png resize: (488, 621) 1381094253 -4.631713246121377 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059214_0.png resize: (574, 540) 1381094254 -5.110779400066191 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059213_0.png resize: (330, 381) 1381094255 0.2551194158247065 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059205_0.png resize: (226, 196) 1381094257 -1.434802836769166 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059207_0.png resize: (414, 316) 1381094258 -2.315269152930249 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059206_0.png resize: (238, 160) 1381094259 12.05210283949569 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059212_0.png resize: (309, 176) 1381094261 -3.562843897644759 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059187_0.png resize: (566, 612) 1381094278 -3.7139849659687085 treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059197_0.png resize: (246, 314) 1381094280 -4.095485895469815 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059202_0.png resize: (349, 119) 1381094281 -5.340644397759973 treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059198_0.png resize: (145, 161) 1381094289 -4.6486339859897825 treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059203_0.png resize: (184, 139) 1381094290 -5.297476853922538 treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059180_0.png resize: (305, 658) 1381094293 -4.278098670633421 treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059190_0.png resize: (359, 506) 1381094294 -4.554042097866405 treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059199_0.png resize: (261, 178) 1381094295 -4.601623137864252 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059208_0.png resize: (358, 469) 1381094296 -4.297987106576049 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059209_0.png resize: (310, 297) 1381094297 -4.589715583711759 treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059211_0.png resize: (224, 189) 1381094298 -2.359266956297109 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 : 41 time used for this insertion : 0.02040886878967285 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 41 time used for this insertion : 0.01516270637512207 save missing photos in datou_result : time spend for datou_step_exec : 20.682893991470337 time spend to save output : 0.03992271423339844 total time spend for step 6 : 20.722816705703735 step7:brightness Wed Sep 3 13:42:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6.jpg treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e.jpg treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187.jpg treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a.jpg treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1.jpg treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059185_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059181_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059188_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059183_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059179_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059184_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059186_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059189_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059182_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059191_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059194_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059193_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059192_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059195_0.png treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059196_0.png treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059201_0.png treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059200_0.png treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059204_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059210_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059214_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059213_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059205_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059207_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059206_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059212_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059187_0.png treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059197_0.png treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059202_0.png treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059198_0.png treat image : temp/1756899628_2081972_1381082915_ecdc71b2ce97535208d4b1e053fb874a_rle_crop_3942059203_0.png treat image : temp/1756899628_2081972_1381083080_891d81e2704c2e3718e0335d5783a8c6_rle_crop_3942059180_0.png treat image : temp/1756899628_2081972_1381082929_402074a4d0d501a9b88cb5691f96e02e_rle_crop_3942059190_0.png treat image : temp/1756899628_2081972_1381082917_8f4ba0a8a1319a4b6ac42f30ca1ce187_rle_crop_3942059199_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059208_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059209_0.png treat image : temp/1756899628_2081972_1381082905_6d2200aa821a8f29ce5e73ea52196bd1_rle_crop_3942059211_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 : 41 time used for this insertion : 0.014629840850830078 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 41 time used for this insertion : 0.013905525207519531 save missing photos in datou_result : time spend for datou_step_exec : 5.803325414657593 time spend to save output : 0.03291940689086914 total time spend for step 7 : 5.836244821548462 step8:velours_tree Wed Sep 3 13:42:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.13611292839050293 time spend to save output : 4.363059997558594e-05 total time spend for step 8 : 0.13615655899047852 step9:send_mail_cod Wed Sep 3 13:42:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26487565_03-09-2025_13_42_32.pdf 26487973 change filename to text .change filename to text .change filename to text .imagette264879731756899752 26487974 imagette264879741756899753 26487975 imagette264879751756899753 26487977 change filename to text .change filename to text .imagette264879771756899753 26487978 change filename to text .imagette264879781756899753 26487979 imagette264879791756899753 26487980 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264879801756899753 26487981 imagette264879811756899753 26487982 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 .imagette264879821756899753 26487983 imagette264879831756899755 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26487565 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26487973,26487974,26487975,26487976,26487977,26487978,26487979,26487980,26487981,26487982,26487983?tags=carton,pehd,mal_croppe,environnement,metal,autre,pet_fonce,pet_clair,flou,papier,background args[1381083080] : ((1381083080, -6.8576295950769195, 492609224), (1381083080, 1.2270077277761482, 2107752395), '0.06122043788580245') We are sending mail with results at report@fotonower.com args[1381082929] : ((1381082929, -6.881036767407225, 492609224), (1381082929, 1.060631060652162, 2107752395), '0.06122043788580245') We are sending mail with results at report@fotonower.com args[1381082917] : ((1381082917, -6.951221323073978, 492609224), (1381082917, 1.0572239444998435, 2107752395), '0.06122043788580245') We are sending mail with results at report@fotonower.com args[1381082915] : ((1381082915, -6.964694134659954, 492609224), (1381082915, 0.9849617027948397, 2107752395), '0.06122043788580245') We are sending mail with results at report@fotonower.com args[1381082905] : ((1381082905, -6.815503886330689, 492609224), (1381082905, 1.053377425212265, 2107752395), '0.06122043788580245') We are sending mail with results at report@fotonower.com refus_total : 0.06122043788580245 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=26487565 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_P26487565_03-09-2025_13_42_32.pdf results_Auto_P26487565_03-09-2025_13_42_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487565_03-09-2025_13_42_32.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','26487565','results_Auto_P26487565_03-09-2025_13_42_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487565_03-09-2025_13_42_32.pdf','pdf','','0.45','0.06122043788580245') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26487565

https://www.fotonower.com/image?json=false&list_photos_id=1381083080
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381082929
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381082917
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381082915
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381082905
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26487973?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26487977?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26487978?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26487980?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26487982?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487565_03-09-2025_13_42_32.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26487973,26487974,26487975,26487976,26487977,26487978,26487979,26487980,26487981,26487982,26487983?tags=carton,pehd,mal_croppe,environnement,metal,autre,pet_fonce,pet_clair,flou,papier,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 03 Sep 2025 11:42:37 GMT Content-Length: 0 Connection: close X-Message-Id: VReLTj9sQCW7C5DogLij6A 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 [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] 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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.013071775436401367 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.898555278778076 time spend to save output : 0.01325225830078125 total time spend for step 9 : 4.911807537078857 step10:split_time_score Wed Sep 3 13:42: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 ! 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'}] (('12', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03092025 26487565 Nombre de photos uploadées : 5 / 23040 (0%) 03092025 26487565 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 03092025 26487565 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.00032067298889160156 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20856356620788574 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.033641923365876306 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26474311_03-09-2025_07_36_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26474311 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26474311 AND mptpi.`type`=3726 To do Qualite : 0.06318287037037035 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479238_03-09-2025_10_14_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26479238 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`=26479238 AND mptpi.`type`=3594 To do Qualite : 0.03993974264039564 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26479246_03-09-2025_10_13_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26479246 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26479246 AND mptpi.`type`=3726 To do Qualite : 0.040500265772951315 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482157_03-09-2025_11_12_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26482157 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26482157 AND mptpi.`type`=3726 To do Qualite : 0.021976532867700977 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26482163_03-09-2025_11_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26482163 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26482163 AND mptpi.`type`=3726 To do Qualite : 0.03813587220681265 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487560_03-09-2025_13_37_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487560 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26487560 AND mptpi.`type`=3726 To do Qualite : 0.06122043788580245 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26487565_03-09-2025_13_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26487565 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`=26487565 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03092025': {'nb_upload': 5, '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 [1381083080, 1381082929, 1381082917, 1381082915, 1381082905] Looping around the photos to save general results len do output : 1 /26487565Didn'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, '3658779') ('3318', '26487565', '1381083080', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082929', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082917', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082915', None, None, None, None, None, '3658779') ('3318', None, None, None, None, None, None, None, '3658779') ('3318', '26487565', '1381082905', None, None, None, None, None, '3658779') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015039682388305664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8039517402648926 time spend to save output : 0.015233516693115234 total time spend for step 10 : 0.8191852569580078 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 64.73user 50.19system 2:14.13elapsed 85%CPU (0avgtext+0avgdata 3578344maxresident)k 24976inputs+61888outputs (148major+5535684minor)pagefaults 0swaps