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 : 3661584 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 : ['3433015'] with mtr_portfolio_ids : ['25636131'] and first list_photo_ids : [] new path : /proc/3661584/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.2505834102630615 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 Mon Aug 4 11:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-04 11:40:32.958303: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-04 11:40:32.983389: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-04 11:40:32.985381: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe844000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-04 11:40:32.985426: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-04 11:40:32.989022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-04 11:40:33.180233: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x394cad80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-04 11:40:33.180277: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-04 11:40:33.181468: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-04 11:40:33.181785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-04 11:40:33.187576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-04 11:40:33.189779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-04 11:40:33.190170: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-04 11:40:33.192889: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-04 11:40:33.194271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-04 11:40:33.199288: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-04 11:40:33.201057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-04 11:40:33.201124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-04 11:40:33.202147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-04 11:40:33.202167: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-04 11:40:33.202178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-04 11:40:33.204020: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-04 11:40:33.438887: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-04 11:40:33.438966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-04 11:40:33.438986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-04 11:40:33.439004: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-04 11:40:33.439022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-04 11:40:33.439040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-04 11:40:33.439057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-04 11:40:33.439074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-04 11:40:33.440714: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-04 11:40:33.442047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-04 11:40:33.442086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-04 11:40:33.442106: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-04 11:40:33.442123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-04 11:40:33.442140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-04 11:40:33.442164: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-04 11:40:33.442181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-04 11:40:33.442197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-04 11:40:33.443795: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-04 11:40:33.443827: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-04 11:40:33.443838: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-04 11:40:33.443847: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-04 11:40:33.445269: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-04 11:40:40.980306: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-04 11:40:41.146154: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.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 : 12 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 : 7 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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 3662239 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 376 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 5665 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.00014901161193847656 nb_pixel_total : 4409 time to create 1 rle with old method : 0.00511932373046875 length of segment : 67 time for calcul the mask position with numpy : 0.00030684471130371094 nb_pixel_total : 18656 time to create 1 rle with old method : 0.020401477813720703 length of segment : 118 time for calcul the mask position with numpy : 0.0017285346984863281 nb_pixel_total : 56611 time to create 1 rle with old method : 0.06004142761230469 length of segment : 874 time for calcul the mask position with numpy : 0.0001804828643798828 nb_pixel_total : 11848 time to create 1 rle with old method : 0.012837409973144531 length of segment : 104 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 13194 time to create 1 rle with old method : 0.01407766342163086 length of segment : 201 time for calcul the mask position with numpy : 0.00020360946655273438 nb_pixel_total : 10939 time to create 1 rle with old method : 0.011740922927856445 length of segment : 218 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 10462 time to create 1 rle with old method : 0.01130056381225586 length of segment : 180 time for calcul the mask position with numpy : 6.4849853515625e-05 nb_pixel_total : 2608 time to create 1 rle with old method : 0.0029540061950683594 length of segment : 57 time for calcul the mask position with numpy : 0.00012946128845214844 nb_pixel_total : 8764 time to create 1 rle with old method : 0.009591102600097656 length of segment : 96 time for calcul the mask position with numpy : 0.00014352798461914062 nb_pixel_total : 8663 time to create 1 rle with old method : 0.009508609771728516 length of segment : 117 time for calcul the mask position with numpy : 0.0005159378051757812 nb_pixel_total : 44959 time to create 1 rle with old method : 0.04793810844421387 length of segment : 196 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 5770 time to create 1 rle with old method : 0.006375551223754883 length of segment : 97 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 8549 time to create 1 rle with old method : 0.009591341018676758 length of segment : 84 time for calcul the mask position with numpy : 0.0006074905395507812 nb_pixel_total : 54785 time to create 1 rle with old method : 0.05800294876098633 length of segment : 191 time for calcul the mask position with numpy : 0.0001518726348876953 nb_pixel_total : 9113 time to create 1 rle with old method : 0.010212182998657227 length of segment : 112 time for calcul the mask position with numpy : 0.0001239776611328125 nb_pixel_total : 6496 time to create 1 rle with old method : 0.007219791412353516 length of segment : 101 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 9435 time to create 1 rle with old method : 0.010669231414794922 length of segment : 142 time for calcul the mask position with numpy : 0.0005021095275878906 nb_pixel_total : 29077 time to create 1 rle with old method : 0.03157544136047363 length of segment : 222 time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 4583 time to create 1 rle with old method : 0.005188703536987305 length of segment : 143 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 29144 time to create 1 rle with old method : 0.03731417655944824 length of segment : 280 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 6174 time to create 1 rle with old method : 0.0069234371185302734 length of segment : 163 time for calcul the mask position with numpy : 0.0002551078796386719 nb_pixel_total : 17314 time to create 1 rle with old method : 0.018702268600463867 length of segment : 237 time for calcul the mask position with numpy : 0.0001423358917236328 nb_pixel_total : 8855 time to create 1 rle with old method : 0.009492874145507812 length of segment : 123 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 8711 time to create 1 rle with old method : 0.009623289108276367 length of segment : 156 time for calcul the mask position with numpy : 0.00011348724365234375 nb_pixel_total : 6105 time to create 1 rle with old method : 0.006981372833251953 length of segment : 73 time for calcul the mask position with numpy : 0.00015854835510253906 nb_pixel_total : 9801 time to create 1 rle with old method : 0.011088371276855469 length of segment : 107 time for calcul the mask position with numpy : 0.00030303001403808594 nb_pixel_total : 18312 time to create 1 rle with old method : 0.03100872039794922 length of segment : 121 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 2298 time to create 1 rle with old method : 0.004123687744140625 length of segment : 62 time for calcul the mask position with numpy : 0.001817464828491211 nb_pixel_total : 107313 time to create 1 rle with old method : 0.11752104759216309 length of segment : 535 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 6422 time to create 1 rle with old method : 0.007067441940307617 length of segment : 88 time for calcul the mask position with numpy : 0.00014638900756835938 nb_pixel_total : 2512 time to create 1 rle with old method : 0.002939939498901367 length of segment : 63 time for calcul the mask position with numpy : 0.0001862049102783203 nb_pixel_total : 4573 time to create 1 rle with old method : 0.005254507064819336 length of segment : 123 time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 6198 time to create 1 rle with old method : 0.006887912750244141 length of segment : 132 time for calcul the mask position with numpy : 0.0009248256683349609 nb_pixel_total : 28260 time to create 1 rle with old method : 0.030457258224487305 length of segment : 244 time for calcul the mask position with numpy : 0.0003948211669921875 nb_pixel_total : 12967 time to create 1 rle with old method : 0.014068841934204102 length of segment : 205 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 12136 time to create 1 rle with old method : 0.013318061828613281 length of segment : 154 time for calcul the mask position with numpy : 0.0010838508605957031 nb_pixel_total : 33771 time to create 1 rle with old method : 0.03764986991882324 length of segment : 186 time for calcul the mask position with numpy : 0.00011157989501953125 nb_pixel_total : 4253 time to create 1 rle with old method : 0.004855632781982422 length of segment : 52 time for calcul the mask position with numpy : 0.00040721893310546875 nb_pixel_total : 12646 time to create 1 rle with old method : 0.013967037200927734 length of segment : 155 time for calcul the mask position with numpy : 6.341934204101562e-05 nb_pixel_total : 2010 time to create 1 rle with old method : 0.002461671829223633 length of segment : 49 time for calcul the mask position with numpy : 0.00017571449279785156 nb_pixel_total : 4626 time to create 1 rle with old method : 0.005373477935791016 length of segment : 84 time spent for convertir_results : 1.8382818698883057 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 6712 save missing photos in datou_result : time spend for datou_step_exec : 24.8608615398407 time spend to save output : 0.6935837268829346 total time spend for step 1 : 25.554445266723633 step2:crop_condition Mon Aug 4 11:40:55 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 : 10 ! batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754300457_3661584 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.573302268981934 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754300465_3661584 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.903163433074951 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/1754300468_3661584 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.4855377674102783 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 ! 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/1754300471_3661584 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.225358724594116 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/1754300474_3661584 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.5834333896636963 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] Looping around the photos to save general results len do output : 41 /1375107147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107165Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375107191Didn'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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 133 time used for this insertion : 0.04280519485473633 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.84516453742981 time spend to save output : 0.044689178466796875 total time spend for step 2 : 18.889853715896606 step3:rle_unique_nms_with_priority Mon Aug 4 11:41:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.6911766529083252 time for calcul the mask position with numpy : 0.16850781440734863 nb_pixel_total : 1957943 time to create 1 rle with new method : 0.09747552871704102 time for calcul the mask position with numpy : 0.0060384273529052734 nb_pixel_total : 10939 time to create 1 rle with old method : 0.011868000030517578 time for calcul the mask position with numpy : 0.00617527961730957 nb_pixel_total : 13194 time to create 1 rle with old method : 0.014937162399291992 time for calcul the mask position with numpy : 0.006204366683959961 nb_pixel_total : 11848 time to create 1 rle with old method : 0.012738227844238281 time for calcul the mask position with numpy : 0.00638127326965332 nb_pixel_total : 56611 time to create 1 rle with old method : 0.05946803092956543 time for calcul the mask position with numpy : 0.006006002426147461 nb_pixel_total : 18656 time to create 1 rle with old method : 0.01940298080444336 time for calcul the mask position with numpy : 0.005678892135620117 nb_pixel_total : 4409 time to create 1 rle with old method : 0.004656553268432617 create new chi : 0.4364652633666992 time to delete rle : 0.02203059196472168 batch 1 Loaded 13 chid ids of type : 3594 +++++++++++Number RLEs to save : 4244 TO DO : save crop sub photo not yet done ! save time : 0.6447556018829346 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.511951208114624 time for calcul the mask position with numpy : 0.3004136085510254 nb_pixel_total : 1929040 time to create 1 rle with new method : 0.4012138843536377 time for calcul the mask position with numpy : 0.006585836410522461 nb_pixel_total : 54785 time to create 1 rle with old method : 0.05842852592468262 time for calcul the mask position with numpy : 0.006035327911376953 nb_pixel_total : 8549 time to create 1 rle with old method : 0.009525299072265625 time for calcul the mask position with numpy : 0.006530284881591797 nb_pixel_total : 5770 time to create 1 rle with old method : 0.0064640045166015625 time for calcul the mask position with numpy : 0.006643056869506836 nb_pixel_total : 44959 time to create 1 rle with old method : 0.04880642890930176 time for calcul the mask position with numpy : 0.0067691802978515625 nb_pixel_total : 8663 time to create 1 rle with old method : 0.009776830673217773 time for calcul the mask position with numpy : 0.006724357604980469 nb_pixel_total : 8764 time to create 1 rle with old method : 0.009821891784667969 time for calcul the mask position with numpy : 0.0062487125396728516 nb_pixel_total : 2608 time to create 1 rle with old method : 0.0029320716857910156 time for calcul the mask position with numpy : 0.006296634674072266 nb_pixel_total : 10462 time to create 1 rle with old method : 0.011765718460083008 create new chi : 0.9200763702392578 time to delete rle : 0.0004162788391113281 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3116 TO DO : save crop sub photo not yet done ! save time : 0.4764866828918457 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04985404014587402 time for calcul the mask position with numpy : 0.020936012268066406 nb_pixel_total : 2057991 time to create 1 rle with new method : 0.029204130172729492 time for calcul the mask position with numpy : 0.0059969425201416016 nb_pixel_total : 6496 time to create 1 rle with old method : 0.007074594497680664 time for calcul the mask position with numpy : 0.0060389041900634766 nb_pixel_total : 9113 time to create 1 rle with old method : 0.00993037223815918 create new chi : 0.07944488525390625 time to delete rle : 0.0002472400665283203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1506 TO DO : save crop sub photo not yet done ! save time : 0.14735770225524902 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.10785484313964844 time for calcul the mask position with numpy : 0.4563729763031006 nb_pixel_total : 1995187 time to create 1 rle with new method : 0.11332869529724121 time for calcul the mask position with numpy : 0.010545492172241211 nb_pixel_total : 6174 time to create 1 rle with old method : 0.00693511962890625 time for calcul the mask position with numpy : 0.007788419723510742 nb_pixel_total : 29144 time to create 1 rle with old method : 0.03268265724182129 time for calcul the mask position with numpy : 0.0062007904052734375 nb_pixel_total : 4583 time to create 1 rle with old method : 0.005163908004760742 time for calcul the mask position with numpy : 0.006276845932006836 nb_pixel_total : 29077 time to create 1 rle with old method : 0.032670021057128906 time for calcul the mask position with numpy : 0.006265401840209961 nb_pixel_total : 9435 time to create 1 rle with old method : 0.010602474212646484 create new chi : 0.7057335376739502 time to delete rle : 0.0004467964172363281 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 2980 TO DO : save crop sub photo not yet done ! save time : 0.22193598747253418 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.09826469421386719 time for calcul the mask position with numpy : 0.03232932090759277 nb_pixel_total : 2047431 time to create 1 rle with new method : 0.11236739158630371 time for calcul the mask position with numpy : 0.007392406463623047 nb_pixel_total : 8855 time to create 1 rle with old method : 0.01014089584350586 time for calcul the mask position with numpy : 0.00691533088684082 nb_pixel_total : 17314 time to create 1 rle with old method : 0.01917576789855957 create new chi : 0.1961650848388672 time to delete rle : 0.00030994415283203125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1800 TO DO : save crop sub photo not yet done ! save time : 0.33672356605529785 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.3025095462799072 time for calcul the mask position with numpy : 0.07337045669555664 nb_pixel_total : 1914638 time to create 1 rle with new method : 0.2754178047180176 time for calcul the mask position with numpy : 0.006256580352783203 nb_pixel_total : 6422 time to create 1 rle with old method : 0.006880044937133789 time for calcul the mask position with numpy : 0.006391048431396484 nb_pixel_total : 107313 time to create 1 rle with old method : 0.11568856239318848 time for calcul the mask position with numpy : 0.006212949752807617 nb_pixel_total : 2298 time to create 1 rle with old method : 0.002478361129760742 time for calcul the mask position with numpy : 0.00635075569152832 nb_pixel_total : 18312 time to create 1 rle with old method : 0.019889116287231445 time for calcul the mask position with numpy : 0.006468534469604492 nb_pixel_total : 9801 time to create 1 rle with old method : 0.010416030883789062 time for calcul the mask position with numpy : 0.006693124771118164 nb_pixel_total : 6105 time to create 1 rle with old method : 0.0066242218017578125 time for calcul the mask position with numpy : 0.006448268890380859 nb_pixel_total : 8711 time to create 1 rle with old method : 0.00928354263305664 create new chi : 0.5748634338378906 time to delete rle : 0.00044798851013183594 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 3348 TO DO : save crop sub photo not yet done ! save time : 0.24657058715820312 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05197286605834961 time for calcul the mask position with numpy : 0.01939678192138672 nb_pixel_total : 2060317 time to create 1 rle with new method : 0.05722928047180176 time for calcul the mask position with numpy : 0.006094455718994141 nb_pixel_total : 6198 time to create 1 rle with old method : 0.006680011749267578 time for calcul the mask position with numpy : 0.005992889404296875 nb_pixel_total : 4573 time to create 1 rle with old method : 0.004932403564453125 time for calcul the mask position with numpy : 0.0060384273529052734 nb_pixel_total : 2512 time to create 1 rle with old method : 0.0026204586029052734 create new chi : 0.10928463935852051 time to delete rle : 0.00027823448181152344 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 1716 TO DO : save crop sub photo not yet done ! save time : 0.13633394241333008 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.08868694305419922 time for calcul the mask position with numpy : 0.08575224876403809 nb_pixel_total : 1967578 time to create 1 rle with new method : 1.034853219985962 time for calcul the mask position with numpy : 0.011088132858276367 nb_pixel_total : 1989 time to create 1 rle with old method : 0.00225067138671875 time for calcul the mask position with numpy : 0.006596803665161133 nb_pixel_total : 12646 time to create 1 rle with old method : 0.014332056045532227 time for calcul the mask position with numpy : 0.006350040435791016 nb_pixel_total : 4253 time to create 1 rle with old method : 0.0048329830169677734 time for calcul the mask position with numpy : 0.006629467010498047 nb_pixel_total : 33771 time to create 1 rle with old method : 0.03786730766296387 time for calcul the mask position with numpy : 0.006558895111083984 nb_pixel_total : 12136 time to create 1 rle with old method : 0.013824701309204102 time for calcul the mask position with numpy : 0.010547637939453125 nb_pixel_total : 12967 time to create 1 rle with old method : 0.014721393585205078 time for calcul the mask position with numpy : 0.011055707931518555 nb_pixel_total : 28260 time to create 1 rle with old method : 0.03136110305786133 create new chi : 1.3087866306304932 time to delete rle : 0.0004980564117431641 batch 1 Loaded 15 chid ids of type : 3594 +++++++++Number RLEs to save : 3164 TO DO : save crop sub photo not yet done ! save time : 0.23688435554504395 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07975387573242188 time for calcul the mask position with numpy : 0.019999027252197266 nb_pixel_total : 2068974 time to create 1 rle with new method : 0.028555631637573242 time for calcul the mask position with numpy : 0.0061910152435302734 nb_pixel_total : 4626 time to create 1 rle with old method : 0.005166769027709961 create new chi : 0.06012082099914551 time to delete rle : 0.00022482872009277344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1248 TO DO : save crop sub photo not yet done ! save time : 0.11980319023132324 No data in photo_id : 1375100481 map_output_result : {1375100533: (0.0, 'Should be the crop_list due to order', 0), 1375100531: (0.0, 'Should be the crop_list due to order', 0), 1375100528: (0.0, 'Should be the crop_list due to order', 0), 1375100517: (0.0, 'Should be the crop_list due to order', 0), 1375100502: (0.0, 'Should be the crop_list due to order', 0), 1375100501: (0.0, 'Should be the crop_list due to order', 0), 1375100492: (0.0, 'Should be the crop_list due to order', 0), 1375100488: (0.0, 'Should be the crop_list due to order', 0), 1375100485: (0.0, 'Should be the crop_list due to order', 0), 1375100481: (0.0, 'Should be the crop_list due to order', 0.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 [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] Looping around the photos to save general results len do output : 10 /1375100533.Didn't retrieve data . /1375100531.Didn't retrieve data . /1375100528.Didn't retrieve data . /1375100517.Didn't retrieve data . /1375100502.Didn't retrieve data . /1375100501.Didn't retrieve data . /1375100492.Didn't retrieve data . /1375100488.Didn't retrieve data . /1375100485.Didn't retrieve data . /1375100481.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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015328645706176758 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.317854642868042 time spend to save output : 0.015877723693847656 total time spend for step 3 : 9.33373236656189 step4:ventilate_hashtags_in_portfolio Mon Aug 4 11:41:24 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 : 25636131 get user id for portfolio 25636131 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`=25636131 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','pet_clair','flou','mal_croppe','background','pet_fonce','environnement','metal','autre','papier')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25636131 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','pet_clair','flou','mal_croppe','background','pet_fonce','environnement','metal','autre','papier')) 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`=25636131 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','pet_clair','flou','mal_croppe','background','pet_fonce','environnement','metal','autre','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25636285,25636286,25636287,25636288,25636289,25636290,25636291,25636292,25636293,25636294,25636295?tags=pehd,carton,pet_clair,flou,mal_croppe,background,pet_fonce,environnement,metal,autre,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] Looping around the photos to save general results len do output : 1 /25636131. 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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015015125274658203 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.771009922027588 time spend to save output : 0.015327692031860352 total time spend for step 4 : 1.7863376140594482 step5:final Mon Aug 4 11:41:25 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 : {1375100533: ('0.031987895447530876',), 1375100531: ('0.031987895447530876',), 1375100528: ('0.031987895447530876',), 1375100517: ('0.031987895447530876',), 1375100502: ('0.031987895447530876',), 1375100501: ('0.031987895447530876',), 1375100492: ('0.031987895447530876',), 1375100488: ('0.031987895447530876',), 1375100485: ('0.031987895447530876',), 1375100481: ('0.031987895447530876',)} new output for save of step final : {1375100533: ('0.031987895447530876',), 1375100531: ('0.031987895447530876',), 1375100528: ('0.031987895447530876',), 1375100517: ('0.031987895447530876',), 1375100502: ('0.031987895447530876',), 1375100501: ('0.031987895447530876',), 1375100492: ('0.031987895447530876',), 1375100488: ('0.031987895447530876',), 1375100485: ('0.031987895447530876',), 1375100481: ('0.031987895447530876',)} [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] Looping around the photos to save general results len do output : 10 /1375100533.Didn't retrieve data . /1375100531.Didn't retrieve data . /1375100528.Didn't retrieve data . /1375100517.Didn't retrieve data . /1375100502.Didn't retrieve data . /1375100501.Didn't retrieve data . /1375100492.Didn't retrieve data . /1375100488.Didn't retrieve data . /1375100485.Didn't retrieve data . /1375100481.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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014276981353759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12715601921081543 time spend to save output : 0.01477956771850586 total time spend for step 5 : 0.1419355869293213 step6:blur_detection Mon Aug 4 11:41:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3.jpg resize: (1080, 1920) 1375100533 -0.2872438175684299 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d.jpg resize: (1080, 1920) 1375100531 0.25013185810848804 treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278.jpg resize: (1080, 1920) 1375100528 0.33525202680821703 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491.jpg resize: (1080, 1920) 1375100517 0.6058636400560754 treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987.jpg resize: (1080, 1920) 1375100502 0.4458353640741072 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa.jpg resize: (1080, 1920) 1375100501 0.5756223648988851 treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798.jpg resize: (1080, 1920) 1375100492 1.0622953477267152 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7.jpg resize: (1080, 1920) 1375100488 0.3445485549253639 treat image : temp/1754300428_3661584_1375100485_2c5164fa9af5a31ecc4232d32de011a2.jpg resize: (1080, 1920) 1375100485 1.0445367333104334 treat image : temp/1754300428_3661584_1375100481_3ad1fa20fd1a21eaf3375b82e6a9ed49.jpg resize: (1080, 1920) 1375100481 2.4014496365280125 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498943_0.png resize: (85, 179) 1375107147 0.7198794958258407 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498945_0.png resize: (218, 98) 1375107148 -1.505597517176651 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498944_0.png resize: (199, 109) 1375107149 -1.217499461999034 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498940_0.png resize: (64, 89) 1375107150 0.747238278213876 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498952_0.png resize: (81, 129) 1375107151 1.6566300916581 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498951_0.png resize: (96, 93) 1375107152 1.475220170825388 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498946_0.png resize: (180, 123) 1375107153 -1.7602876390924664 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498959_0.png resize: (223, 281) 1375107154 -1.1932919995344753 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498956_0.png resize: (140, 88) 1375107155 0.09254396842782925 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498958_0.png resize: (143, 49) 1375107156 -1.5843578844872621 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498960_0.png resize: (163, 69) 1375107157 -2.1809165589046198 treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987_rle_crop_3902498961_0.png resize: (237, 113) 1375107158 -1.1597153925235153 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498964_0.png resize: (73, 112) 1375107159 -0.13176366737643816 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498963_0.png resize: (155, 90) 1375107160 -0.5929089748927492 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498966_0.png resize: (121, 187) 1375107161 -0.28348922759381656 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498965_0.png resize: (106, 128) 1375107162 -2.1687037668842613 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498967_0.png resize: (62, 69) 1375107163 -3.7453597183807656 treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498972_0.png resize: (109, 86) 1375107164 -0.5443588578528301 treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498970_0.png resize: (62, 57) 1375107165 1.8189616571524483 treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498971_0.png resize: (86, 76) 1375107166 0.250821642297876 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498974_0.png resize: (205, 107) 1375107167 -1.6233426987336625 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498977_0.png resize: (51, 118) 1375107168 -0.06702679698836515 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498979_0.png resize: (45, 53) 1375107169 20.0 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498976_0.png resize: (185, 331) 1375107170 -0.5443298350926311 treat image : temp/1754300428_3661584_1375100485_2c5164fa9af5a31ecc4232d32de011a2_rle_crop_3902498980_0.png resize: (84, 87) 1375107171 0.00989589366427436 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498941_0.png resize: (118, 204) 1375107173 -0.5049852364906108 treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278_rle_crop_3902498955_0.png resize: (100, 97) 1375107174 -1.0409821527033607 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498975_0.png resize: (150, 125) 1375107175 -1.921500436115354 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498947_0.png resize: (57, 58) 1375107176 -1.524244194226636 treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498942_0.png resize: (617, 347) 1375107180 -1.8283464929140665 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498950_0.png resize: (193, 284) 1375107181 -1.6491725190552566 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498948_0.png resize: (92, 122) 1375107182 -3.9821343051608036 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498949_0.png resize: (113, 120) 1375107183 -1.9124504797784827 treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498953_0.png resize: (191, 335) 1375107184 0.22126190264053264 treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278_rle_crop_3902498954_0.png resize: (111, 121) 1375107185 -1.8315646272862613 treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498957_0.png resize: (219, 214) 1375107186 -2.200049209735154 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498969_0.png resize: (87, 90) 1375107187 -1.3085753769656776 treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498968_0.png resize: (531, 343) 1375107188 0.05579210407497124 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498978_0.png resize: (135, 169) 1375107189 -1.5321037554606822 treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498973_0.png resize: (240, 160) 1375107190 -1.257704949396948 treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987_rle_crop_3902498962_0.png resize: (123, 91) 1375107191 0.1684474683173888 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 : 51 time used for this insertion : 0.013945817947387695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.12249946594238281 save missing photos in datou_result : time spend for datou_step_exec : 8.525415658950806 time spend to save output : 0.14180374145507812 total time spend for step 6 : 8.667219400405884 step7:brightness Mon Aug 4 11:41: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/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3.jpg treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d.jpg treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278.jpg treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491.jpg treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987.jpg treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa.jpg treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798.jpg treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7.jpg treat image : temp/1754300428_3661584_1375100485_2c5164fa9af5a31ecc4232d32de011a2.jpg treat image : temp/1754300428_3661584_1375100481_3ad1fa20fd1a21eaf3375b82e6a9ed49.jpg treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498943_0.png treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498945_0.png treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498944_0.png treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498940_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498952_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498951_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498946_0.png treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498959_0.png treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498956_0.png treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498958_0.png treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498960_0.png treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987_rle_crop_3902498961_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498964_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498963_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498966_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498965_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498967_0.png treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498972_0.png treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498970_0.png treat image : temp/1754300428_3661584_1375100492_5ea73dc93b8a4343b85b0b8fe280a798_rle_crop_3902498971_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498974_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498977_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498979_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498976_0.png treat image : temp/1754300428_3661584_1375100485_2c5164fa9af5a31ecc4232d32de011a2_rle_crop_3902498980_0.png treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498941_0.png treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278_rle_crop_3902498955_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498975_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498947_0.png treat image : temp/1754300428_3661584_1375100533_faf062caca2682dc167739f2c63cedc3_rle_crop_3902498942_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498950_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498948_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498949_0.png treat image : temp/1754300428_3661584_1375100531_3b5edca388bd41ffd67f92bc01a1661d_rle_crop_3902498953_0.png treat image : temp/1754300428_3661584_1375100528_19c9a50c1c45f94a8fad1edc1188e278_rle_crop_3902498954_0.png treat image : temp/1754300428_3661584_1375100517_23c6558a94ca9a819c27230a13767491_rle_crop_3902498957_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498969_0.png treat image : temp/1754300428_3661584_1375100501_8c65e1a6dac02f42f2783c9fa9eaaffa_rle_crop_3902498968_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498978_0.png treat image : temp/1754300428_3661584_1375100488_3a1d870ac62035b7e7e8a90bdfd573a7_rle_crop_3902498973_0.png treat image : temp/1754300428_3661584_1375100502_7d32b761549ace600a7694c14b130987_rle_crop_3902498962_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 : 51 time used for this insertion : 0.01773834228515625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.02346944808959961 save missing photos in datou_result : time spend for datou_step_exec : 2.4056880474090576 time spend to save output : 0.04587507247924805 total time spend for step 7 : 2.4515631198883057 step8:velours_tree Mon Aug 4 11:41: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.13135695457458496 time spend to save output : 3.266334533691406e-05 total time spend for step 8 : 0.13138961791992188 step9:send_mail_cod Mon Aug 4 11:41: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 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_P25636131_04-08-2025_11_41_37.pdf 25636285 imagette256362851754300497 25636286 change filename to text .change filename to text .change filename to text .imagette256362861754300497 25636287 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 .imagette256362871754300500 25636288 imagette256362881754300500 25636289 imagette256362891754300500 25636290 imagette256362901754300500 25636291 imagette256362911754300500 25636293 change filename to text .imagette256362931754300501 25636294 change filename to text .imagette256362941754300501 25636295 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256362951754300501 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25636131 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25636285,25636286,25636287,25636288,25636289,25636290,25636291,25636292,25636293,25636294,25636295?tags=pehd,carton,pet_clair,flou,mal_croppe,background,pet_fonce,environnement,metal,autre,papier args[1375100533] : ((1375100533, -0.2872438175684299, 492688767), (1375100533, 0.7758607446218506, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100531] : ((1375100531, 0.25013185810848804, 492688767), (1375100531, 0.5710839845902903, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100528] : ((1375100528, 0.33525202680821703, 492688767), (1375100528, 0.8035643791592413, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100517] : ((1375100517, 0.6058636400560754, 492688767), (1375100517, 0.6427084281164185, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100502] : ((1375100502, 0.4458353640741072, 492688767), (1375100502, 0.49677489016961884, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100501] : ((1375100501, 0.5756223648988851, 492688767), (1375100501, 0.3043691952744873, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100492] : ((1375100492, 1.0622953477267152, 492688767), (1375100492, 0.5536487001047885, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100488] : ((1375100488, 0.3445485549253639, 492688767), (1375100488, 0.4796221364471851, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100485] : ((1375100485, 1.0445367333104334, 492688767), (1375100485, 0.708920774278527, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com args[1375100481] : ((1375100481, 2.4014496365280125, 492688767), (1375100481, 0.6444000278338556, 2107752395), '0.031987895447530876') We are sending mail with results at report@fotonower.com refus_total : 0.031987895447530876 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25636131 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_P25636131_04-08-2025_11_41_37.pdf results_Auto_P25636131_04-08-2025_11_41_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636131_04-08-2025_11_41_37.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','25636131','results_Auto_P25636131_04-08-2025_11_41_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636131_04-08-2025_11_41_37.pdf','pdf','','0.19','0.031987895447530876') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25636131

https://www.fotonower.com/image?json=false&list_photos_id=1375100533
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100531
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100528
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100517
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100502
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100501
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100492
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0622953477267152)
https://www.fotonower.com/image?json=false&list_photos_id=1375100488
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375100485
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0445367333104334)
https://www.fotonower.com/image?json=false&list_photos_id=1375100481
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.4014496365280125)

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

exemples de contaminants: carton: https://www.fotonower.com/view/25636286?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25636287?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25636293?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25636294?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25636295?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636131_04-08-2025_11_41_37.pdf.

Lien vers velours :https://www.fotonower.com/velours/25636285,25636286,25636287,25636288,25636289,25636290,25636291,25636292,25636293,25636294,25636295?tags=pehd,carton,pet_clair,flou,mal_croppe,background,pet_fonce,environnement,metal,autre,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 04 Aug 2025 09:41:44 GMT Content-Length: 0 Connection: close X-Message-Id: xW7uB9asRxe9jBruzLpFwg 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 [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] 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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.020229339599609375 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.729497671127319 time spend to save output : 0.020418643951416016 total time spend for step 9 : 6.749916315078735 step10:split_time_score Mon Aug 4 11:41:44 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'}] (('10', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04082025 25636131 Nombre de photos uploadées : 10 / 23040 (0%) 04082025 25636131 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 04082025 25636131 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004000663757324219 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20176005363464355 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.020633053626543208 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25630909_04-08-2025_08_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25630909 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`=25630909 AND mptpi.`type`=3594 To do Qualite : 0.08988558545524694 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25632840_04-08-2025_10_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25632840 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`=25632840 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636092 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636094 order by id desc limit 1 Qualite : 0.031987895447530876 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25636131_04-08-2025_11_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25636131 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`=25636131 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04082025': {'nb_upload': 10, '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 [1375100533, 1375100531, 1375100528, 1375100517, 1375100502, 1375100501, 1375100492, 1375100488, 1375100485, 1375100481] Looping around the photos to save general results len do output : 1 /25636131Didn'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, '3433015') ('3318', '25636131', '1375100533', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100531', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100528', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100517', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100502', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100501', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100492', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100488', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100485', None, None, None, None, None, '3433015') ('3318', None, None, None, None, None, None, None, '3433015') ('3318', '25636131', '1375100481', None, None, None, None, None, '3433015') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.020322799682617188 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5550005435943604 time spend to save output : 0.02054429054260254 total time spend for step 10 : 2.575544834136963 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 32.76user 22.33system 1:21.43elapsed 67%CPU (0avgtext+0avgdata 2831660maxresident)k 502072inputs+13048outputs (43major+1443112minor)pagefaults 0swaps