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 : 229379 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 : ['4018078'] with mtr_portfolio_ids : ['28317536'] and first list_photo_ids : [] new path : /proc/229379/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.702453374862671 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Nov 7 18:00: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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-07 18:00:32.279856: 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-11-07 18:00:32.290813: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-07 18:00:32.292666: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0170000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:00:32.292728: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-07 18:00:32.296162: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-07 18:00:32.429374: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x34ab1a70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-07 18:00:32.429499: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-07 18:00:32.431868: 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-11-07 18:00:32.432494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:00:32.435955: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:00:32.438887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:00:32.439422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:00:32.442577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:00:32.443904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:00:32.449465: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:00:32.451241: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:00:32.451370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:00:32.452202: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:00:32.452220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:00:32.452230: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:00:32.453643: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9650 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-11-07 18:00:32.751597: 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-11-07 18:00:32.751718: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:00:32.751736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:00:32.751750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:00:32.751764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:00:32.751777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:00:32.751790: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:00:32.751803: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:00:32.753088: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:00:32.754479: 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-11-07 18:00:32.754587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-07 18:00:32.754607: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:00:32.754624: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-07 18:00:32.754640: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-07 18:00:32.754657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-07 18:00:32.754673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-07 18:00:32.754689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-07 18:00:32.755969: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-07 18:00:32.756025: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-07 18:00:32.756036: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-07 18:00:32.756045: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-07 18:00:32.757393: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9650 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-11-07 18:00:40.149141: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-07 18:00:40.396096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 62.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 Detection mask done ! Trying to reset tf kernel 230075 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3389 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 7599 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.0004932880401611328 nb_pixel_total : 12025 time to create 1 rle with old method : 0.014132261276245117 length of segment : 140 time for calcul the mask position with numpy : 0.00012135505676269531 nb_pixel_total : 4074 time to create 1 rle with old method : 0.00498652458190918 length of segment : 58 time for calcul the mask position with numpy : 0.0001125335693359375 nb_pixel_total : 2565 time to create 1 rle with old method : 0.0032494068145751953 length of segment : 56 time for calcul the mask position with numpy : 0.0002875328063964844 nb_pixel_total : 10857 time to create 1 rle with old method : 0.013068199157714844 length of segment : 200 time for calcul the mask position with numpy : 0.000186920166015625 nb_pixel_total : 7909 time to create 1 rle with old method : 0.009453535079956055 length of segment : 116 time for calcul the mask position with numpy : 0.0001888275146484375 nb_pixel_total : 5814 time to create 1 rle with old method : 0.007037639617919922 length of segment : 95 time for calcul the mask position with numpy : 0.0022094249725341797 nb_pixel_total : 111754 time to create 1 rle with old method : 0.12509369850158691 length of segment : 504 time for calcul the mask position with numpy : 0.0004937648773193359 nb_pixel_total : 25909 time to create 1 rle with old method : 0.03043532371520996 length of segment : 158 time for calcul the mask position with numpy : 0.0002512931823730469 nb_pixel_total : 11489 time to create 1 rle with old method : 0.013098001480102539 length of segment : 198 time for calcul the mask position with numpy : 0.0015575885772705078 nb_pixel_total : 116832 time to create 1 rle with old method : 0.1293478012084961 length of segment : 539 time for calcul the mask position with numpy : 0.00010609626770019531 nb_pixel_total : 3952 time to create 1 rle with old method : 0.004602909088134766 length of segment : 83 time for calcul the mask position with numpy : 0.0014188289642333984 nb_pixel_total : 104304 time to create 1 rle with old method : 0.11547231674194336 length of segment : 522 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 15484 time to create 1 rle with old method : 0.017779111862182617 length of segment : 86 time for calcul the mask position with numpy : 0.00015783309936523438 nb_pixel_total : 8723 time to create 1 rle with old method : 0.010505199432373047 length of segment : 127 time for calcul the mask position with numpy : 9.369850158691406e-05 nb_pixel_total : 3120 time to create 1 rle with old method : 0.0037469863891601562 length of segment : 136 time for calcul the mask position with numpy : 0.0015249252319335938 nb_pixel_total : 107614 time to create 1 rle with old method : 0.11839461326599121 length of segment : 527 time for calcul the mask position with numpy : 0.0001609325408935547 nb_pixel_total : 6614 time to create 1 rle with old method : 0.007626056671142578 length of segment : 132 time for calcul the mask position with numpy : 0.0001628398895263672 nb_pixel_total : 7688 time to create 1 rle with old method : 0.008913516998291016 length of segment : 127 time for calcul the mask position with numpy : 0.0014827251434326172 nb_pixel_total : 98438 time to create 1 rle with old method : 0.10929560661315918 length of segment : 502 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 5531 time to create 1 rle with old method : 0.006658077239990234 length of segment : 95 time for calcul the mask position with numpy : 0.005481719970703125 nb_pixel_total : 376694 time to create 1 rle with new method : 0.041208505630493164 length of segment : 875 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 4928 time to create 1 rle with old method : 0.005944490432739258 length of segment : 104 time for calcul the mask position with numpy : 0.0003170967102050781 nb_pixel_total : 14102 time to create 1 rle with old method : 0.01660323143005371 length of segment : 125 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 5787 time to create 1 rle with old method : 0.006674289703369141 length of segment : 70 time for calcul the mask position with numpy : 0.0013885498046875 nb_pixel_total : 93547 time to create 1 rle with old method : 0.10961627960205078 length of segment : 517 time for calcul the mask position with numpy : 5.7220458984375e-05 nb_pixel_total : 1035 time to create 1 rle with old method : 0.0013315677642822266 length of segment : 31 time for calcul the mask position with numpy : 0.00022602081298828125 nb_pixel_total : 15389 time to create 1 rle with old method : 0.01699542999267578 length of segment : 136 time for calcul the mask position with numpy : 0.0002353191375732422 nb_pixel_total : 9715 time to create 1 rle with old method : 0.01106572151184082 length of segment : 182 time for calcul the mask position with numpy : 0.008277654647827148 nb_pixel_total : 686579 time to create 1 rle with new method : 0.03150033950805664 length of segment : 958 time spent for convertir_results : 2.647939920425415 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 7399 save missing photos in datou_result : time spend for datou_step_exec : 23.22826337814331 time spend to save output : 0.5288794040679932 total time spend for step 1 : 23.757142782211304 step2:crop_condition Fri Nov 7 18:00:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! batch 1 Loaded 29 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762534854_229379 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309633_0.png', 0, 101, 95, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309629_0.png', 0, 91, 56, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309628_0.png', 0, 138, 133, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309641_0.png', 0, 133, 120, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139732_6fb13aa188c34d7400536754ae207eb6_rle_crop_4025309644_0.png', 0, 93, 126, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309645_0.png', 0, 138, 125, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309647_0.png', 0, 96, 93, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309649_0.png', 0, 80, 104, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309655_0.png', 0, 102, 180, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309654_0.png', 0, 151, 136, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534856), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309653_0.png', 0, 48, 27, 0, 1762534856,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.9026012420654297 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762534857_229379 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534857), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309632_0.png', 0, 95, 114, 0, 1762534857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534857), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309636_0.png', 0, 124, 163, 0, 1762534857,'0',0) 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.8103947639465332 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762534858_229379 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534859), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309630_0.png', 0, 69, 52, 0, 1762534859,'0',0) 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.6124222278594971 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762534867_229379 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309635_0.png', 0, 302, 144, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309631_0.png', 0, 186, 154, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309634_0.png', 0, 376, 501, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309638_0.png', 0, 64, 83, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309637_0.png', 0, 355, 532, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140115_27508887c944390f953208d958059139_rle_crop_4025309639_0.png', 0, 339, 518, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140090_067695d844153fbf54f0bba4b52822b5_rle_crop_4025309640_0.png', 0, 227, 85, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309643_0.png', 0, 326, 526, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309646_0.png', 0, 334, 500, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309648_0.png', 0, 861, 625, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309650_0.png', 0, 190, 119, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309651_0.png', 0, 96, 69, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309652_0.png', 0, 312, 509, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534871), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393139589_c4b7365ef4ef4fe0140b75ebe2c4357f_rle_crop_4025309656_0.png', 0, 955, 941, 0, 1762534871,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.47761082649231 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/1762534872_229379 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1762534873), 0.0, 0.0, 14, '', 0, 0, '1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309642_0.png', 0, 32, 133, 0, 1762534873,'0',0) 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.8836841583251953 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] Looping around the photos to save general results len do output : 29 /1393171266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1393171428Didn'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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 time used for this insertion : 0.027298688888549805 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.998943090438843 time spend to save output : 0.028943538665771484 total time spend for step 2 : 20.027886629104614 step3:rle_unique_nms_with_priority Fri Nov 7 18:01:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 0.6990072727203369 time for calcul the mask position with numpy : 0.09062767028808594 nb_pixel_total : 1894233 time to create 1 rle with new method : 0.36543703079223633 time for calcul the mask position with numpy : 0.006716489791870117 nb_pixel_total : 24369 time to create 1 rle with old method : 0.027782678604125977 time for calcul the mask position with numpy : 0.007807731628417969 nb_pixel_total : 111754 time to create 1 rle with old method : 0.14920425415039062 time for calcul the mask position with numpy : 0.006665468215942383 nb_pixel_total : 5814 time to create 1 rle with old method : 0.006723880767822266 time for calcul the mask position with numpy : 0.0076694488525390625 nb_pixel_total : 7909 time to create 1 rle with old method : 0.008994340896606445 time for calcul the mask position with numpy : 0.006410121917724609 nb_pixel_total : 10857 time to create 1 rle with old method : 0.01230478286743164 time for calcul the mask position with numpy : 0.006634235382080078 nb_pixel_total : 2565 time to create 1 rle with old method : 0.0033164024353027344 time for calcul the mask position with numpy : 0.009544849395751953 nb_pixel_total : 4074 time to create 1 rle with old method : 0.006594419479370117 time for calcul the mask position with numpy : 0.0066874027252197266 nb_pixel_total : 12025 time to create 1 rle with old method : 0.01370692253112793 create new chi : 0.7540414333343506 time to delete rle : 0.02283477783203125 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 3682 TO DO : save crop sub photo not yet done ! save time : 0.27939820289611816 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06885743141174316 time for calcul the mask position with numpy : 0.7674853801727295 nb_pixel_total : 1941327 time to create 1 rle with new method : 0.14509797096252441 time for calcul the mask position with numpy : 0.008544206619262695 nb_pixel_total : 3952 time to create 1 rle with old method : 0.005064249038696289 time for calcul the mask position with numpy : 0.008083343505859375 nb_pixel_total : 116832 time to create 1 rle with old method : 0.1522672176361084 time for calcul the mask position with numpy : 0.008210182189941406 nb_pixel_total : 11489 time to create 1 rle with old method : 0.020539522171020508 create new chi : 1.1160519123077393 time to delete rle : 0.0004985332489013672 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2720 TO DO : save crop sub photo not yet done ! save time : 0.22632384300231934 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.048526763916015625 time for calcul the mask position with numpy : 0.021402359008789062 nb_pixel_total : 1969296 time to create 1 rle with new method : 0.03174853324890137 time for calcul the mask position with numpy : 0.006783246994018555 nb_pixel_total : 104304 time to create 1 rle with old method : 0.12282538414001465 create new chi : 0.1831529140472412 time to delete rle : 0.00043964385986328125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2124 TO DO : save crop sub photo not yet done ! save time : 0.17629146575927734 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03163790702819824 time for calcul the mask position with numpy : 0.01895594596862793 nb_pixel_total : 2058116 time to create 1 rle with new method : 0.027945995330810547 time for calcul the mask position with numpy : 0.006059169769287109 nb_pixel_total : 15484 time to create 1 rle with old method : 0.017404556274414062 create new chi : 0.070587158203125 time to delete rle : 0.00024175643920898438 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1252 TO DO : save crop sub photo not yet done ! save time : 0.13492107391357422 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.22846078872680664 time for calcul the mask position with numpy : 0.08407306671142578 nb_pixel_total : 1954143 time to create 1 rle with new method : 0.08916020393371582 time for calcul the mask position with numpy : 0.006738185882568359 nb_pixel_total : 107614 time to create 1 rle with old method : 0.11870956420898438 time for calcul the mask position with numpy : 0.006471872329711914 nb_pixel_total : 3120 time to create 1 rle with old method : 0.0036051273345947266 time for calcul the mask position with numpy : 0.006407976150512695 nb_pixel_total : 8723 time to create 1 rle with old method : 0.010005712509155273 create new chi : 0.33643269538879395 time to delete rle : 0.0004487037658691406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2660 TO DO : save crop sub photo not yet done ! save time : 0.21494269371032715 No data in photo_id : 1393139956 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034906625747680664 time for calcul the mask position with numpy : 0.01989603042602539 nb_pixel_total : 2066986 time to create 1 rle with new method : 0.28243398666381836 time for calcul the mask position with numpy : 0.006180286407470703 nb_pixel_total : 6614 time to create 1 rle with old method : 0.007589817047119141 create new chi : 0.31632566452026367 time to delete rle : 0.00022602081298828125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1344 TO DO : save crop sub photo not yet done ! save time : 0.12444472312927246 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.048058509826660156 time for calcul the mask position with numpy : 0.25716662406921387 nb_pixel_total : 1967474 time to create 1 rle with new method : 0.08678746223449707 time for calcul the mask position with numpy : 0.00664520263671875 nb_pixel_total : 98438 time to create 1 rle with old method : 0.11970162391662598 time for calcul the mask position with numpy : 0.0062601566314697266 nb_pixel_total : 7688 time to create 1 rle with old method : 0.008510589599609375 create new chi : 0.49570775032043457 time to delete rle : 0.0003936290740966797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2338 TO DO : save crop sub photo not yet done ! save time : 0.1867079734802246 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1042027473449707 time for calcul the mask position with numpy : 0.0599360466003418 nb_pixel_total : 1686678 time to create 1 rle with new method : 0.2565004825592041 time for calcul the mask position with numpy : 0.006028890609741211 nb_pixel_total : 4928 time to create 1 rle with old method : 0.0055158138275146484 time for calcul the mask position with numpy : 0.007875919342041016 nb_pixel_total : 376463 time to create 1 rle with new method : 0.07987523078918457 time for calcul the mask position with numpy : 0.006215095520019531 nb_pixel_total : 5531 time to create 1 rle with old method : 0.006260871887207031 create new chi : 0.4381256103515625 time to delete rle : 0.0004761219024658203 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3207 TO DO : save crop sub photo not yet done ! save time : 0.26056694984436035 No data in photo_id : 1393139686 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.07650613784790039 time for calcul the mask position with numpy : 0.24956345558166504 nb_pixel_total : 1934025 time to create 1 rle with new method : 0.09422850608825684 time for calcul the mask position with numpy : 0.006227254867553711 nb_pixel_total : 9715 time to create 1 rle with old method : 0.01100468635559082 time for calcul the mask position with numpy : 0.006312370300292969 nb_pixel_total : 15389 time to create 1 rle with old method : 0.017169952392578125 time for calcul the mask position with numpy : 0.006230831146240234 nb_pixel_total : 1035 time to create 1 rle with old method : 0.0012004375457763672 time for calcul the mask position with numpy : 0.009204626083374023 nb_pixel_total : 93547 time to create 1 rle with old method : 0.10409426689147949 time for calcul the mask position with numpy : 0.006288051605224609 nb_pixel_total : 5787 time to create 1 rle with old method : 0.006554126739501953 time for calcul the mask position with numpy : 0.0063970088958740234 nb_pixel_total : 14102 time to create 1 rle with old method : 0.016041994094848633 create new chi : 0.5510504245758057 time to delete rle : 0.0005090236663818359 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3202 TO DO : save crop sub photo not yet done ! save time : 0.24989676475524902 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.039610862731933594 time for calcul the mask position with numpy : 0.015862226486206055 nb_pixel_total : 1387021 time to create 1 rle with new method : 0.035875797271728516 time for calcul the mask position with numpy : 0.011406898498535156 nb_pixel_total : 686579 time to create 1 rle with new method : 0.0301666259765625 create new chi : 0.09377884864807129 time to delete rle : 0.0004062652587890625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2996 TO DO : save crop sub photo not yet done ! save time : 0.2262706756591797 map_output_result : {1393140332: (0.0, 'Should be the crop_list due to order', 0), 1393140121: (0.0, 'Should be the crop_list due to order', 0), 1393140115: (0.0, 'Should be the crop_list due to order', 0), 1393140090: (0.0, 'Should be the crop_list due to order', 0), 1393140018: (0.0, 'Should be the crop_list due to order', 0), 1393139956: (0.0, 'Should be the crop_list due to order', 0.0), 1393139732: (0.0, 'Should be the crop_list due to order', 0), 1393139709: (0.0, 'Should be the crop_list due to order', 0), 1393139697: (0.0, 'Should be the crop_list due to order', 0), 1393139686: (0.0, 'Should be the crop_list due to order', 0.0), 1393139639: (0.0, 'Should be the crop_list due to order', 0), 1393139589: (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 [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] Looping around the photos to save general results len do output : 12 /1393140332.Didn't retrieve data . /1393140121.Didn't retrieve data . /1393140115.Didn't retrieve data . /1393140090.Didn't retrieve data . /1393140018.Didn't retrieve data . /1393139956.Didn't retrieve data . /1393139732.Didn't retrieve data . /1393139709.Didn't retrieve data . /1393139697.Didn't retrieve data . /1393139686.Didn't retrieve data . /1393139639.Didn't retrieve data . /1393139589.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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.014107942581176758 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.24712347984314 time spend to save output : 0.014554977416992188 total time spend for step 3 : 8.261678457260132 step4:ventilate_hashtags_in_portfolio Fri Nov 7 18:01:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28317536 get user id for portfolio 28317536 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`=28317536 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','mal_croppe','carton','flou','pet_fonce','pehd','background','pet_clair','metal','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317536 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','mal_croppe','carton','flou','pet_fonce','pehd','background','pet_clair','metal','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28317536 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','mal_croppe','carton','flou','pet_fonce','pehd','background','pet_clair','metal','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28318600,28318601,28318602,28318603,28318604,28318605,28318606,28318607,28318608,28318609,28318610?tags=papier,environnement,mal_croppe,carton,flou,pet_fonce,pehd,background,pet_clair,metal,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] Looping around the photos to save general results len do output : 1 /28317536. 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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016607999801635742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6713268756866455 time spend to save output : 0.016891002655029297 total time spend for step 4 : 1.6882178783416748 step5:final Fri Nov 7 18:01:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1393140332: ('0.07542040412808643',), 1393140121: ('0.07542040412808643',), 1393140115: ('0.07542040412808643',), 1393140090: ('0.07542040412808643',), 1393140018: ('0.07542040412808643',), 1393139956: ('0.07542040412808643',), 1393139732: ('0.07542040412808643',), 1393139709: ('0.07542040412808643',), 1393139697: ('0.07542040412808643',), 1393139686: ('0.07542040412808643',), 1393139639: ('0.07542040412808643',), 1393139589: ('0.07542040412808643',)} new output for save of step final : {1393140332: ('0.07542040412808643',), 1393140121: ('0.07542040412808643',), 1393140115: ('0.07542040412808643',), 1393140090: ('0.07542040412808643',), 1393140018: ('0.07542040412808643',), 1393139956: ('0.07542040412808643',), 1393139732: ('0.07542040412808643',), 1393139709: ('0.07542040412808643',), 1393139697: ('0.07542040412808643',), 1393139686: ('0.07542040412808643',), 1393139639: ('0.07542040412808643',), 1393139589: ('0.07542040412808643',)} [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] Looping around the photos to save general results len do output : 12 /1393140332.Didn't retrieve data . /1393140121.Didn't retrieve data . /1393140115.Didn't retrieve data . /1393140090.Didn't retrieve data . /1393140018.Didn't retrieve data . /1393139956.Didn't retrieve data . /1393139732.Didn't retrieve data . /1393139709.Didn't retrieve data . /1393139697.Didn't retrieve data . /1393139686.Didn't retrieve data . /1393139639.Didn't retrieve data . /1393139589.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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.014316558837890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11722064018249512 time spend to save output : 0.014903783798217773 total time spend for step 5 : 0.1321244239807129 step6:blur_detection Fri Nov 7 18:01:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076.jpg resize: (1080, 1920) 1393140332 -4.143535360090682 treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54.jpg resize: (1080, 1920) 1393140121 -3.9543166806489727 treat image : temp/1762534827_229379_1393140115_27508887c944390f953208d958059139.jpg resize: (1080, 1920) 1393140115 6.22851816370604 treat image : temp/1762534827_229379_1393140090_067695d844153fbf54f0bba4b52822b5.jpg resize: (1080, 1920) 1393140090 -2.7166702997353522 treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6.jpg resize: (1080, 1920) 1393140018 -4.538096086642673 treat image : temp/1762534827_229379_1393139956_d2c105d151da60e360114d0839c21cd7.jpg resize: (1080, 1920) 1393139956 0.09862630356137153 treat image : temp/1762534827_229379_1393139732_6fb13aa188c34d7400536754ae207eb6.jpg resize: (1080, 1920) 1393139732 -1.0175824319609132 treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19.jpg resize: (1080, 1920) 1393139709 1.519577976771223 treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1.jpg resize: (1080, 1920) 1393139697 -1.5173666591604693 treat image : temp/1762534827_229379_1393139686_76b7bd48f081f6ca26f39e6078a61d7f.jpg resize: (1080, 1920) 1393139686 -0.9167182699168724 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a.jpg resize: (1080, 1920) 1393139639 -3.6343089762483274 treat image : temp/1762534827_229379_1393139589_c4b7365ef4ef4fe0140b75ebe2c4357f.jpg resize: (1080, 1920) 1393139589 0.015517481537995766 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309633_0.png resize: (95, 101) 1393171266 -2.4791941253067367 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309629_0.png resize: (56, 91) 1393171267 -1.4821219807373958 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309628_0.png resize: (133, 138) 1393171268 -3.5097479741309434 treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309641_0.png resize: (120, 133) 1393171270 -3.630628197254982 treat image : temp/1762534827_229379_1393139732_6fb13aa188c34d7400536754ae207eb6_rle_crop_4025309644_0.png resize: (126, 93) 1393171271 -1.2992218519234575 treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309645_0.png resize: (125, 138) 1393171272 -1.3661912434881693 treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309647_0.png resize: (93, 96) 1393171274 2.0152746034897793 treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309649_0.png resize: (104, 80) 1393171275 -0.5554073253804789 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309655_0.png resize: (180, 102) 1393171276 -1.1798101614348717 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309654_0.png resize: (136, 151) 1393171278 -3.605203171183341 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309653_0.png resize: (27, 48) 1393171279 -2.3255709066613153 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309632_0.png resize: (114, 95) 1393171289 -0.7837579489315765 treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309636_0.png resize: (163, 124) 1393171290 -2.3784403387524486 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309630_0.png resize: (52, 69) 1393171299 -1.034371561918897 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309635_0.png resize: (144, 302) 1393171401 -2.93124362631407 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309631_0.png resize: (154, 186) 1393171403 -2.0750844675561235 treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309634_0.png resize: (501, 376) 1393171404 -0.34147969018974783 treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309638_0.png resize: (83, 64) 1393171406 -1.3824450363505207 treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309637_0.png resize: (532, 355) 1393171407 0.22042340636449856 treat image : temp/1762534827_229379_1393140115_27508887c944390f953208d958059139_rle_crop_4025309639_0.png resize: (518, 339) 1393171408 0.250374269247354 treat image : temp/1762534827_229379_1393140090_067695d844153fbf54f0bba4b52822b5_rle_crop_4025309640_0.png resize: (85, 227) 1393171410 -3.8743244307497386 treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309643_0.png resize: (526, 326) 1393171411 0.015689228195266088 treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309646_0.png resize: (500, 334) 1393171412 0.07615677021399522 treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309648_0.png resize: (625, 861) 1393171414 1.0648383867964395 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309650_0.png resize: (119, 190) 1393171415 -2.3041041211049076 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309651_0.png resize: (69, 96) 1393171416 0.3864653669839942 treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309652_0.png resize: (509, 312) 1393171418 0.16909666616139113 treat image : temp/1762534827_229379_1393139589_c4b7365ef4ef4fe0140b75ebe2c4357f_rle_crop_4025309656_0.png resize: (941, 955) 1393171419 0.3175759003584183 treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309642_0.png resize: (133, 32) 1393171428 -2.1478432045651292 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.015882015228271484 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.01803755760192871 save missing photos in datou_result : time spend for datou_step_exec : 11.120336771011353 time spend to save output : 0.0388033390045166 total time spend for step 6 : 11.15914011001587 step7:brightness Fri Nov 7 18:01:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076.jpg treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54.jpg treat image : temp/1762534827_229379_1393140115_27508887c944390f953208d958059139.jpg treat image : temp/1762534827_229379_1393140090_067695d844153fbf54f0bba4b52822b5.jpg treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6.jpg treat image : temp/1762534827_229379_1393139956_d2c105d151da60e360114d0839c21cd7.jpg treat image : temp/1762534827_229379_1393139732_6fb13aa188c34d7400536754ae207eb6.jpg treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19.jpg treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1.jpg treat image : temp/1762534827_229379_1393139686_76b7bd48f081f6ca26f39e6078a61d7f.jpg treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a.jpg treat image : temp/1762534827_229379_1393139589_c4b7365ef4ef4fe0140b75ebe2c4357f.jpg treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309633_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309629_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309628_0.png treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309641_0.png treat image : temp/1762534827_229379_1393139732_6fb13aa188c34d7400536754ae207eb6_rle_crop_4025309644_0.png treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309645_0.png treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309647_0.png treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309649_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309655_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309654_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309653_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309632_0.png treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309636_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309630_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309635_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309631_0.png treat image : temp/1762534827_229379_1393140332_515dde3870f4cf002e1831a452993076_rle_crop_4025309634_0.png treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309638_0.png treat image : temp/1762534827_229379_1393140121_a7e7d6e79c62571cae0420092b1d0a54_rle_crop_4025309637_0.png treat image : temp/1762534827_229379_1393140115_27508887c944390f953208d958059139_rle_crop_4025309639_0.png treat image : temp/1762534827_229379_1393140090_067695d844153fbf54f0bba4b52822b5_rle_crop_4025309640_0.png treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309643_0.png treat image : temp/1762534827_229379_1393139709_5ac0675f85e918690343c9bbc4ea1b19_rle_crop_4025309646_0.png treat image : temp/1762534827_229379_1393139697_afbd95418405bf3f276615631cc1fbd1_rle_crop_4025309648_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309650_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309651_0.png treat image : temp/1762534827_229379_1393139639_a7d08447f09249e57fc80ce6d5d1c89a_rle_crop_4025309652_0.png treat image : temp/1762534827_229379_1393139589_c4b7365ef4ef4fe0140b75ebe2c4357f_rle_crop_4025309656_0.png treat image : temp/1762534827_229379_1393140018_c59c82f6a71e92d8fad52ce005729fd6_rle_crop_4025309642_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.024639129638671875 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.015972614288330078 save missing photos in datou_result : time spend for datou_step_exec : 2.9422214031219482 time spend to save output : 0.045236825942993164 total time spend for step 7 : 2.9874582290649414 step8:velours_tree Fri Nov 7 18:01: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 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.5645079612731934 time spend to save output : 3.3855438232421875e-05 total time spend for step 8 : 0.5645418167114258 step9:send_mail_cod Fri Nov 7 18:01:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P28317536_07-11-2025_18_01_38.pdf 28318600 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 .imagette283186001762534898 28318602 imagette283186021762534898 28318603 change filename to text .change filename to text .imagette283186031762534898 28318604 imagette283186041762534898 28318605 imagette283186051762534898 28318606 imagette283186061762534898 28318607 imagette283186071762534898 28318608 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 .imagette283186081762534898 28318609 change filename to text .imagette283186091762534900 28318610 change filename to text .imagette283186101762534900 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28317536 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28318600,28318601,28318602,28318603,28318604,28318605,28318606,28318607,28318608,28318609,28318610?tags=papier,environnement,mal_croppe,carton,flou,pet_fonce,pehd,background,pet_clair,metal,autre args[1393140332] : ((1393140332, -4.143535360090682, 492609224), (1393140332, 0.41839579189714055, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393140121] : ((1393140121, -3.9543166806489727, 492609224), (1393140121, 0.36645888557254885, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393140115] : ((1393140115, 6.22851816370604, 492688767), (1393140115, 0.3451338483133707, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393140090] : ((1393140090, -2.7166702997353522, 492609224), (1393140090, 0.8446015757893093, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393140018] : ((1393140018, -4.538096086642673, 492609224), (1393140018, 0.462484075489945, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139956] : ((1393139956, 0.09862630356137153, 492688767), (1393139956, 0.42639818573040633, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139732] : ((1393139732, -1.0175824319609132, 492688767), (1393139732, 0.7818822847293204, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139709] : ((1393139709, 1.519577976771223, 492688767), (1393139709, 0.8334210396879195, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139697] : ((1393139697, -1.5173666591604693, 492688767), (1393139697, 2.3137255173572475, 492649241), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139686] : ((1393139686, -0.9167182699168724, 492688767), (1393139686, 0.6591490106939364, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139639] : ((1393139639, -3.6343089762483274, 492609224), (1393139639, 0.8659150919926025, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com args[1393139589] : ((1393139589, 0.015517481537995766, 492688767), (1393139589, 0.5030029794950723, 2107752395), '0.07542040412808643') We are sending mail with results at report@fotonower.com refus_total : 0.07542040412808643 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28317536 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_P28317536_07-11-2025_18_01_38.pdf results_Auto_P28317536_07-11-2025_18_01_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.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','28317536','results_Auto_P28317536_07-11-2025_18_01_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.pdf','pdf','','0.3','0.07542040412808643') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28317536

https://www.fotonower.com/image?json=false&list_photos_id=1393140332
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393140121
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393140115
La photo est trop floue, merci de reprendre une photo.(avec le score = 6.22851816370604)
https://www.fotonower.com/image?json=false&list_photos_id=1393140090
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393140018
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393139956
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393139732
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393139709
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.519577976771223)
https://www.fotonower.com/image?json=false&list_photos_id=1393139697
La photo est trop lumineuse, merci de reprendre une photo.(avec le score = 2.3137255173572475,le score doit entre -2 et 2)
https://www.fotonower.com/image?json=false&list_photos_id=1393139686
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393139639
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1393139589
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28318600?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28318603?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28318608?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28318609?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28318610?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28318600,28318601,28318602,28318603,28318604,28318605,28318606,28318607,28318608,28318609,28318610?tags=papier,environnement,mal_croppe,carton,flou,pet_fonce,pehd,background,pet_clair,metal,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 07 Nov 2025 17:01:42 GMT Content-Length: 0 Connection: close X-Message-Id: Q-rl3yJ8QRyoYYt8xeXmjg 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 [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] 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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01693582534790039 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.190472841262817 time spend to save output : 0.017188310623168945 total time spend for step 9 : 4.207661151885986 step10:split_time_score Fri Nov 7 18:01:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('16', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07112025 28317536 Nombre de photos uploadées : 12 / 23040 (0%) 07112025 28317536 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 07112025 28317536 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006685256958007812 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2066514492034912 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.004566883144718793 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298577_07-11-2025_09_51_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298577 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`=28298577 AND mptpi.`type`=3594 To do Qualite : 0.01407957175925926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298579_07-11-2025_09_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298579 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`=28298579 AND mptpi.`type`=3594 To do Qualite : 0.03971610363618827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28298580_07-11-2025_09_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28298580 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`=28298580 AND mptpi.`type`=3594 To do Qualite : 0.03227211686847103 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28304078_07-11-2025_12_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28304078 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`=28304078 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317462 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317465 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317467 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317509 order by id desc limit 1 Qualite : 0.07542040412808643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317536_07-11-2025_18_01_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317536 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`=28317536 AND mptpi.`type`=3594 To do Qualite : 0.10745382426697532 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317550_07-11-2025_17_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317550 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`=28317550 AND mptpi.`type`=3594 To do Qualite : 0.1967886766975309 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28317553_07-11-2025_17_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28317553 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`=28317553 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07112025': {'nb_upload': 12, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1393140332, 1393140121, 1393140115, 1393140090, 1393140018, 1393139956, 1393139732, 1393139709, 1393139697, 1393139686, 1393139639, 1393139589] Looping around the photos to save general results len do output : 1 /28317536Didn'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, '4018078') ('3318', '28317536', '1393140332', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140121', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140115', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140090', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393140018', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139956', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139732', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139709', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139697', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139686', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139639', None, None, None, None, None, '4018078') ('3318', None, None, None, None, None, None, None, '4018078') ('3318', '28317536', '1393139589', None, None, None, None, None, '4018078') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.015095233917236328 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.55523419380188 time spend to save output : 0.015365362167358398 total time spend for step 10 : 5.570599555969238 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 43.35user 18.42system 1:22.53elapsed 74%CPU (0avgtext+0avgdata 2771152maxresident)k 182784inputs+19960outputs (7396major+1297635minor)pagefaults 0swaps