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 : 2220314 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 : ['3933096'] with mtr_portfolio_ids : ['27756455'] and first list_photo_ids : [] new path : /proc/2220314/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.9995739459991455 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 Oct 13 14:00:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-13 14:00:34.573640: 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-10-13 14:00:34.598432: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-13 14:00:34.600605: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb6dc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-13 14:00:34.600662: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-13 14:00:34.604516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-13 14:00:34.713127: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1ba654a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-13 14:00:34.713170: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-13 14:00:34.714595: 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-10-13 14:00:34.714988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 14:00:34.718078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 14:00:34.720997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 14:00:34.721493: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 14:00:34.724413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 14:00:34.725363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 14:00:34.729465: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 14:00:34.730898: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 14:00:34.730975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 14:00:34.731708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 14:00:34.731723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 14:00:34.731731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 14:00:34.732997: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10-13 14:00:35.123009: 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-10-13 14:00:35.123111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 14:00:35.123140: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 14:00:35.123165: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 14:00:35.123189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 14:00:35.123213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 14:00:35.123237: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 14:00:35.123261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 14:00:35.124653: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 14:00:35.125826: 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-10-13 14:00:35.125883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 14:00:35.125901: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 14:00:35.125917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 14:00:35.125934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 14:00:35.125950: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 14:00:35.125965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 14:00:35.125982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 14:00:35.127290: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 14:00:35.127322: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 14:00:35.127331: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 14:00:35.127339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 14:00:35.128619: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10-13 14:00:41.893593: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 14:00:42.078670: 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 : 13 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: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.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: 33.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: 52.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 7.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: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 2220940 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1386 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 6419 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.0002415180206298828 nb_pixel_total : 9133 time to create 1 rle with old method : 0.009874582290649414 length of segment : 65 time for calcul the mask position with numpy : 0.00010395050048828125 nb_pixel_total : 4747 time to create 1 rle with old method : 0.005120754241943359 length of segment : 77 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 11221 time to create 1 rle with old method : 0.011958122253417969 length of segment : 219 time for calcul the mask position with numpy : 0.00020360946655273438 nb_pixel_total : 11747 time to create 1 rle with old method : 0.01244664192199707 length of segment : 124 time for calcul the mask position with numpy : 0.010207176208496094 nb_pixel_total : 526505 time to create 1 rle with new method : 0.026417970657348633 length of segment : 922 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 6928 time to create 1 rle with old method : 0.0074274539947509766 length of segment : 114 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 4186 time to create 1 rle with old method : 0.004500627517700195 length of segment : 108 time for calcul the mask position with numpy : 0.00022840499877929688 nb_pixel_total : 11337 time to create 1 rle with old method : 0.012199878692626953 length of segment : 184 time for calcul the mask position with numpy : 0.0003077983856201172 nb_pixel_total : 19610 time to create 1 rle with old method : 0.021206140518188477 length of segment : 214 time for calcul the mask position with numpy : 0.0016107559204101562 nb_pixel_total : 115517 time to create 1 rle with old method : 0.11834287643432617 length of segment : 549 time for calcul the mask position with numpy : 0.005518198013305664 nb_pixel_total : 373440 time to create 1 rle with new method : 0.014046907424926758 length of segment : 1164 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 13086 time to create 1 rle with old method : 0.01483917236328125 length of segment : 158 time for calcul the mask position with numpy : 0.00014710426330566406 nb_pixel_total : 5769 time to create 1 rle with old method : 0.0061147212982177734 length of segment : 136 time for calcul the mask position with numpy : 0.0001888275146484375 nb_pixel_total : 9957 time to create 1 rle with old method : 0.010457992553710938 length of segment : 170 time for calcul the mask position with numpy : 0.00025081634521484375 nb_pixel_total : 14469 time to create 1 rle with old method : 0.01542806625366211 length of segment : 128 time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 3836 time to create 1 rle with old method : 0.004226207733154297 length of segment : 80 time for calcul the mask position with numpy : 0.010458946228027344 nb_pixel_total : 681999 time to create 1 rle with new method : 0.01971149444580078 length of segment : 962 time for calcul the mask position with numpy : 0.00116729736328125 nb_pixel_total : 84932 time to create 1 rle with old method : 0.08717012405395508 length of segment : 353 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 8131 time to create 1 rle with old method : 0.00879526138305664 length of segment : 58 time for calcul the mask position with numpy : 0.0005612373352050781 nb_pixel_total : 4457 time to create 1 rle with old method : 0.00525665283203125 length of segment : 127 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 5804 time to create 1 rle with old method : 0.006129741668701172 length of segment : 110 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 10563 time to create 1 rle with old method : 0.011572599411010742 length of segment : 116 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 3728 time to create 1 rle with old method : 0.0041959285736083984 length of segment : 73 time for calcul the mask position with numpy : 0.0001316070556640625 nb_pixel_total : 4947 time to create 1 rle with old method : 0.0056192874908447266 length of segment : 87 time for calcul the mask position with numpy : 0.00011134147644042969 nb_pixel_total : 4742 time to create 1 rle with old method : 0.005419492721557617 length of segment : 90 time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 8903 time to create 1 rle with old method : 0.009397745132446289 length of segment : 161 time for calcul the mask position with numpy : 0.002409219741821289 nb_pixel_total : 116910 time to create 1 rle with old method : 0.12079286575317383 length of segment : 560 time for calcul the mask position with numpy : 0.0001780986785888672 nb_pixel_total : 7114 time to create 1 rle with old method : 0.007736682891845703 length of segment : 94 time for calcul the mask position with numpy : 0.00020360946655273438 nb_pixel_total : 10400 time to create 1 rle with old method : 0.011155366897583008 length of segment : 107 time for calcul the mask position with numpy : 9.012222290039062e-05 nb_pixel_total : 2889 time to create 1 rle with old method : 0.003164052963256836 length of segment : 58 time for calcul the mask position with numpy : 0.00013756752014160156 nb_pixel_total : 2048 time to create 1 rle with old method : 0.0022945404052734375 length of segment : 49 time for calcul the mask position with numpy : 0.002679586410522461 nb_pixel_total : 84163 time to create 1 rle with old method : 0.0856635570526123 length of segment : 561 time for calcul the mask position with numpy : 0.0007779598236083984 nb_pixel_total : 28529 time to create 1 rle with old method : 0.03184390068054199 length of segment : 396 time for calcul the mask position with numpy : 0.0026824474334716797 nb_pixel_total : 96548 time to create 1 rle with old method : 0.09845757484436035 length of segment : 510 time for calcul the mask position with numpy : 0.0005202293395996094 nb_pixel_total : 23566 time to create 1 rle with old method : 0.025568723678588867 length of segment : 117 time for calcul the mask position with numpy : 0.0006983280181884766 nb_pixel_total : 13520 time to create 1 rle with old method : 0.01475977897644043 length of segment : 166 time for calcul the mask position with numpy : 0.000675201416015625 nb_pixel_total : 22791 time to create 1 rle with old method : 0.0258791446685791 length of segment : 189 time for calcul the mask position with numpy : 0.001219034194946289 nb_pixel_total : 27939 time to create 1 rle with old method : 0.030095577239990234 length of segment : 384 time for calcul the mask position with numpy : 0.00022554397583007812 nb_pixel_total : 4523 time to create 1 rle with old method : 0.004999399185180664 length of segment : 78 time for calcul the mask position with numpy : 0.0006544589996337891 nb_pixel_total : 26793 time to create 1 rle with old method : 0.029343843460083008 length of segment : 216 time spent for convertir_results : 2.800095319747925 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 40 chid ids of type : 3594 Number RLEs to save : 10034 save missing photos in datou_result : time spend for datou_step_exec : 22.980742931365967 time spend to save output : 1.2688589096069336 total time spend for step 1 : 24.2496018409729 step2:crop_condition Mon Oct 13 14:00:56 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 : 13 ! batch 1 Loaded 40 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 ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760356858_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250437_0.png', 0, 173, 64, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250439_0.png', 0, 143, 157, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250442_0.png', 0, 109, 110, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250449_0.png', 0, 74, 144, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250451_0.png', 0, 155, 127, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250456_0.png', 0, 192, 178, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250455_0.png', 0, 207, 55, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250465_0.png', 0, 133, 107, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250459_0.png', 0, 96, 72, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250461_0.png', 0, 62, 90, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250460_0.png', 0, 106, 87, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250462_0.png', 0, 83, 161, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250458_0.png', 0, 138, 116, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250467_0.png', 0, 54, 48, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250469_0.png', 0, 244, 177, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250476_0.png', 0, 219, 173, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356861), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250473_0.png', 0, 252, 141, 0, 1760356861,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.405904769897461 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760356864_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356865), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250438_0.png', 0, 81, 77, 0, 1760356865,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356865), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250440_0.png', 0, 119, 119, 0, 1760356865,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356865), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250463_0.png', 0, 367, 556, 0, 1760356865,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356865), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250472_0.png', 0, 241, 166, 0, 1760356865,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.716672658920288 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/1760356866_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356866), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250443_0.png', 0, 54, 108, 0, 1760356866,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7394287586212158 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760356875_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250444_0.png', 0, 94, 184, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250441_0.png', 0, 957, 800, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250445_0.png', 0, 323, 111, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250446_0.png', 0, 330, 548, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250447_0.png', 0, 603, 959, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250448_0.png', 0, 172, 123, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250450_0.png', 0, 91, 170, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250453_0.png', 0, 912, 961, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250452_0.png', 0, 74, 78, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250454_0.png', 0, 385, 327, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250457_0.png', 0, 80, 109, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250464_0.png', 0, 93, 94, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250468_0.png', 0, 306, 548, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250471_0.png', 0, 348, 98, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356879), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250470_0.png', 0, 314, 508, 0, 1760356879,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.79043173789978 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760356881_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356882), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250466_0.png', 0, 61, 58, 0, 1760356882,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356882), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250474_0.png', 0, 112, 379, 0, 1760356882,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0430819988250732 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 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/1760356883_2220314 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760356883), 0.0, 0.0, 14, '', 0, 0, '1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250475_0.png', 0, 79, 78, 0, 1760356883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6068334579467773 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] Looping around the photos to save general results len do output : 40 /1389218614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389218939Didn'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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 133 time used for this insertion : 0.039817094802856445 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.563844919204712 time spend to save output : 0.041846275329589844 total time spend for step 2 : 27.6056911945343 step3:rle_unique_nms_with_priority Mon Oct 13 14:01:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 40 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.040300607681274414 time for calcul the mask position with numpy : 0.023293733596801758 nb_pixel_total : 2059720 time to create 1 rle with new method : 0.04110264778137207 time for calcul the mask position with numpy : 0.006602764129638672 nb_pixel_total : 4747 time to create 1 rle with old method : 0.005269289016723633 time for calcul the mask position with numpy : 0.005903720855712891 nb_pixel_total : 9133 time to create 1 rle with old method : 0.010124921798706055 create new chi : 0.0968317985534668 time to delete rle : 0.06678009033203125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1364 TO DO : save crop sub photo not yet done ! save time : 0.281599760055542 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07572793960571289 time for calcul the mask position with numpy : 0.0235748291015625 nb_pixel_total : 2050632 time to create 1 rle with new method : 0.041135549545288086 time for calcul the mask position with numpy : 0.006402492523193359 nb_pixel_total : 11747 time to create 1 rle with old method : 0.014797210693359375 time for calcul the mask position with numpy : 0.006058216094970703 nb_pixel_total : 11221 time to create 1 rle with old method : 0.012153148651123047 create new chi : 0.10900092124938965 time to delete rle : 0.00025844573974609375 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1766 TO DO : save crop sub photo not yet done ! save time : 0.3100299835205078 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.07556319236755371 time for calcul the mask position with numpy : 0.020313501358032227 nb_pixel_total : 1524644 time to create 1 rle with new method : 0.04472041130065918 time for calcul the mask position with numpy : 0.006982326507568359 nb_pixel_total : 11337 time to create 1 rle with old method : 0.018510818481445312 time for calcul the mask position with numpy : 0.00715184211730957 nb_pixel_total : 4186 time to create 1 rle with old method : 0.004990577697753906 time for calcul the mask position with numpy : 0.0064852237701416016 nb_pixel_total : 6928 time to create 1 rle with old method : 0.007750272750854492 time for calcul the mask position with numpy : 0.009981632232666016 nb_pixel_total : 526505 time to create 1 rle with new method : 0.037854671478271484 create new chi : 0.170609712600708 time to delete rle : 0.0005092620849609375 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3736 TO DO : save crop sub photo not yet done ! save time : 0.5023036003112793 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.044409751892089844 time for calcul the mask position with numpy : 0.01942729949951172 nb_pixel_total : 1938473 time to create 1 rle with new method : 0.029240131378173828 time for calcul the mask position with numpy : 0.007409095764160156 nb_pixel_total : 115517 time to create 1 rle with old method : 0.12726259231567383 time for calcul the mask position with numpy : 0.006406307220458984 nb_pixel_total : 19610 time to create 1 rle with old method : 0.02543044090270996 create new chi : 0.2187488079071045 time to delete rle : 0.0004317760467529297 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2606 TO DO : save crop sub photo not yet done ! save time : 0.39687037467956543 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04334545135498047 time for calcul the mask position with numpy : 0.01664566993713379 nb_pixel_total : 1698973 time to create 1 rle with new method : 0.0343780517578125 time for calcul the mask position with numpy : 0.005740642547607422 nb_pixel_total : 1187 time to create 1 rle with old method : 0.001241445541381836 time for calcul the mask position with numpy : 0.007798194885253906 nb_pixel_total : 373440 time to create 1 rle with new method : 0.0348966121673584 create new chi : 0.1070711612701416 time to delete rle : 0.00033593177795410156 batch 1 Loaded 5 chid ids of type : 3594 ++++++Number RLEs to save : 3501 TO DO : save crop sub photo not yet done ! save time : 0.4854423999786377 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04041695594787598 time for calcul the mask position with numpy : 0.021997690200805664 nb_pixel_total : 2057874 time to create 1 rle with new method : 0.03983139991760254 time for calcul the mask position with numpy : 0.0060350894927978516 nb_pixel_total : 9957 time to create 1 rle with old method : 0.010592460632324219 time for calcul the mask position with numpy : 0.005743265151977539 nb_pixel_total : 5769 time to create 1 rle with old method : 0.0061109066009521484 create new chi : 0.09458017349243164 time to delete rle : 0.0003407001495361328 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1692 TO DO : save crop sub photo not yet done ! save time : 0.31175827980041504 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.062114715576171875 time for calcul the mask position with numpy : 0.019498109817504883 nb_pixel_total : 1373296 time to create 1 rle with new method : 0.044550180435180664 time for calcul the mask position with numpy : 0.011131763458251953 nb_pixel_total : 681999 time to create 1 rle with new method : 0.035790443420410156 time for calcul the mask position with numpy : 0.006050825119018555 nb_pixel_total : 3836 time to create 1 rle with old method : 0.004127025604248047 time for calcul the mask position with numpy : 0.00588226318359375 nb_pixel_total : 14469 time to create 1 rle with old method : 0.015448808670043945 create new chi : 0.1473832130432129 time to delete rle : 0.0004744529724121094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3420 TO DO : save crop sub photo not yet done ! save time : 0.45198488235473633 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08095693588256836 time for calcul the mask position with numpy : 0.02292346954345703 nb_pixel_total : 1973008 time to create 1 rle with new method : 0.039673566818237305 time for calcul the mask position with numpy : 0.005993366241455078 nb_pixel_total : 5804 time to create 1 rle with old method : 0.006145000457763672 time for calcul the mask position with numpy : 0.0056726932525634766 nb_pixel_total : 1725 time to create 1 rle with old method : 0.002003192901611328 time for calcul the mask position with numpy : 0.005666971206665039 nb_pixel_total : 8131 time to create 1 rle with old method : 0.008350372314453125 time for calcul the mask position with numpy : 0.006711244583129883 nb_pixel_total : 84932 time to create 1 rle with old method : 0.08810639381408691 create new chi : 0.19597697257995605 time to delete rle : 0.0003466606140136719 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2325 TO DO : save crop sub photo not yet done ! save time : 0.3614485263824463 No data in photo_id : 1389200756 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 0.1200246810913086 time for calcul the mask position with numpy : 0.039496660232543945 nb_pixel_total : 1903404 time to create 1 rle with new method : 0.08181643486022949 time for calcul the mask position with numpy : 0.0065462589263916016 nb_pixel_total : 2889 time to create 1 rle with old method : 0.0032608509063720703 time for calcul the mask position with numpy : 0.006295204162597656 nb_pixel_total : 10400 time to create 1 rle with old method : 0.011725664138793945 time for calcul the mask position with numpy : 0.006439208984375 nb_pixel_total : 7114 time to create 1 rle with old method : 0.008015155792236328 time for calcul the mask position with numpy : 0.007306814193725586 nb_pixel_total : 116910 time to create 1 rle with old method : 0.17351818084716797 time for calcul the mask position with numpy : 0.007172107696533203 nb_pixel_total : 8903 time to create 1 rle with old method : 0.010070085525512695 time for calcul the mask position with numpy : 0.006750822067260742 nb_pixel_total : 4742 time to create 1 rle with old method : 0.005300760269165039 time for calcul the mask position with numpy : 0.0062868595123291016 nb_pixel_total : 4947 time to create 1 rle with old method : 0.005246877670288086 time for calcul the mask position with numpy : 0.0058748722076416016 nb_pixel_total : 3728 time to create 1 rle with old method : 0.004259824752807617 time for calcul the mask position with numpy : 0.006437063217163086 nb_pixel_total : 10563 time to create 1 rle with old method : 0.011322021484375 create new chi : 0.4231843948364258 time to delete rle : 0.0006270408630371094 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 3772 TO DO : save crop sub photo not yet done ! save time : 0.5446312427520752 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04269814491271973 time for calcul the mask position with numpy : 0.020395278930664062 nb_pixel_total : 1987389 time to create 1 rle with new method : 0.030504465103149414 time for calcul the mask position with numpy : 0.006470441818237305 nb_pixel_total : 84163 time to create 1 rle with old method : 0.08928108215332031 time for calcul the mask position with numpy : 0.006003856658935547 nb_pixel_total : 2048 time to create 1 rle with old method : 0.0022351741790771484 create new chi : 0.15708637237548828 time to delete rle : 0.0003440380096435547 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2300 TO DO : save crop sub photo not yet done ! save time : 0.3690612316131592 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.07020998001098633 time for calcul the mask position with numpy : 0.025367259979248047 nb_pixel_total : 1911437 time to create 1 rle with new method : 0.04195857048034668 time for calcul the mask position with numpy : 0.0062139034271240234 nb_pixel_total : 13520 time to create 1 rle with old method : 0.014939546585083008 time for calcul the mask position with numpy : 0.006306648254394531 nb_pixel_total : 23566 time to create 1 rle with old method : 0.027437448501586914 time for calcul the mask position with numpy : 0.006844043731689453 nb_pixel_total : 96548 time to create 1 rle with old method : 0.10857248306274414 time for calcul the mask position with numpy : 0.006323099136352539 nb_pixel_total : 28529 time to create 1 rle with old method : 0.03211355209350586 create new chi : 0.2810244560241699 time to delete rle : 0.0005657672882080078 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 3458 TO DO : save crop sub photo not yet done ! save time : 0.47072410583496094 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.055429935455322266 time for calcul the mask position with numpy : 0.027665376663208008 nb_pixel_total : 1991554 time to create 1 rle with new method : 0.04153585433959961 time for calcul the mask position with numpy : 0.006264209747314453 nb_pixel_total : 26793 time to create 1 rle with old method : 0.029147863388061523 time for calcul the mask position with numpy : 0.005811929702758789 nb_pixel_total : 4523 time to create 1 rle with old method : 0.0048961639404296875 time for calcul the mask position with numpy : 0.005921125411987305 nb_pixel_total : 27939 time to create 1 rle with old method : 0.0303957462310791 time for calcul the mask position with numpy : 0.006178140640258789 nb_pixel_total : 22791 time to create 1 rle with old method : 0.024538516998291016 create new chi : 0.18704652786254883 time to delete rle : 0.000293731689453125 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2814 TO DO : save crop sub photo not yet done ! save time : 0.41970300674438477 map_output_result : {1389200785: (0.0, 'Should be the crop_list due to order', 0), 1389200782: (0.0, 'Should be the crop_list due to order', 0), 1389200779: (0.0, 'Should be the crop_list due to order', 0), 1389200778: (0.0, 'Should be the crop_list due to order', 0), 1389200775: (0.0, 'Should be the crop_list due to order', 0), 1389200772: (0.0, 'Should be the crop_list due to order', 0), 1389200764: (0.0, 'Should be the crop_list due to order', 0), 1389200760: (0.0, 'Should be the crop_list due to order', 0), 1389200756: (0.0, 'Should be the crop_list due to order', 0.0), 1389200747: (0.0, 'Should be the crop_list due to order', 0), 1389200716: (0.0, 'Should be the crop_list due to order', 0), 1389200690: (0.0, 'Should be the crop_list due to order', 0), 1389200688: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] Looping around the photos to save general results len do output : 13 /1389200785.Didn't retrieve data . /1389200782.Didn't retrieve data . /1389200779.Didn't retrieve data . /1389200778.Didn't retrieve data . /1389200775.Didn't retrieve data . /1389200772.Didn't retrieve data . /1389200764.Didn't retrieve data . /1389200760.Didn't retrieve data . /1389200756.Didn't retrieve data . /1389200747.Didn't retrieve data . /1389200716.Didn't retrieve data . /1389200690.Didn't retrieve data . /1389200688.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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.03652143478393555 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.447258472442627 time spend to save output : 0.036928653717041016 total time spend for step 3 : 8.484187126159668 step4:ventilate_hashtags_in_portfolio Mon Oct 13 14:01:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27756455 get user id for portfolio 27756455 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`=27756455 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','carton','pehd','mal_croppe','metal','papier','flou','background','pet_clair','pet_fonce','environnement')) 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`=27756455 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','carton','pehd','mal_croppe','metal','papier','flou','background','pet_clair','pet_fonce','environnement')) 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`=27756455 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','carton','pehd','mal_croppe','metal','papier','flou','background','pet_clair','pet_fonce','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27756853,27756854,27756855,27756856,27756857,27756858,27756859,27756860,27756861,27756862,27756863?tags=autre,carton,pehd,mal_croppe,metal,papier,flou,background,pet_clair,pet_fonce,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] Looping around the photos to save general results len do output : 1 /27756455. 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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.04098105430603027 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.585811853408813 time spend to save output : 0.041287899017333984 total time spend for step 4 : 9.627099752426147 step5:final Mon Oct 13 14:01:41 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 : {1389200785: ('0.08950602445394115',), 1389200782: ('0.08950602445394115',), 1389200779: ('0.08950602445394115',), 1389200778: ('0.08950602445394115',), 1389200775: ('0.08950602445394115',), 1389200772: ('0.08950602445394115',), 1389200764: ('0.08950602445394115',), 1389200760: ('0.08950602445394115',), 1389200756: ('0.08950602445394115',), 1389200747: ('0.08950602445394115',), 1389200716: ('0.08950602445394115',), 1389200690: ('0.08950602445394115',), 1389200688: ('0.08950602445394115',)} new output for save of step final : {1389200785: ('0.08950602445394115',), 1389200782: ('0.08950602445394115',), 1389200779: ('0.08950602445394115',), 1389200778: ('0.08950602445394115',), 1389200775: ('0.08950602445394115',), 1389200772: ('0.08950602445394115',), 1389200764: ('0.08950602445394115',), 1389200760: ('0.08950602445394115',), 1389200756: ('0.08950602445394115',), 1389200747: ('0.08950602445394115',), 1389200716: ('0.08950602445394115',), 1389200690: ('0.08950602445394115',), 1389200688: ('0.08950602445394115',)} [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] Looping around the photos to save general results len do output : 13 /1389200785.Didn't retrieve data . /1389200782.Didn't retrieve data . /1389200779.Didn't retrieve data . /1389200778.Didn't retrieve data . /1389200775.Didn't retrieve data . /1389200772.Didn't retrieve data . /1389200764.Didn't retrieve data . /1389200760.Didn't retrieve data . /1389200756.Didn't retrieve data . /1389200747.Didn't retrieve data . /1389200716.Didn't retrieve data . /1389200690.Didn't retrieve data . /1389200688.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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.037575483322143555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3800215721130371 time spend to save output : 0.03817486763000488 total time spend for step 5 : 0.418196439743042 step6:blur_detection Mon Oct 13 14:01:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108.jpg resize: (1080, 1920) 1389200785 0.46521980085795256 treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028.jpg resize: (1080, 1920) 1389200782 -0.42089758926782694 treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400.jpg resize: (1080, 1920) 1389200779 0.5406528075316598 treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244.jpg resize: (1080, 1920) 1389200778 -3.403945899041492 treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa.jpg resize: (1080, 1920) 1389200775 -0.4300213287594909 treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06.jpg resize: (1080, 1920) 1389200772 -4.008279809434963 treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00.jpg resize: (1080, 1920) 1389200764 0.03710049168917374 treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820.jpg resize: (1080, 1920) 1389200760 -0.4827017900292567 treat image : temp/1760356829_2220314_1389200756_ed02023271402e4f3a4a6a6edb217a09.jpg resize: (1080, 1920) 1389200756 -0.36931342033299097 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38.jpg resize: (1080, 1920) 1389200747 -3.8649044347428703 treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936.jpg resize: (1080, 1920) 1389200716 -0.7638082212504698 treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90.jpg resize: (1080, 1920) 1389200690 -0.48397671837590067 treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84.jpg resize: (1080, 1920) 1389200688 -2.1244891090416202 treat image : temp/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250437_0.png resize: (64, 173) 1389218614 1.3923504046594781 treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250439_0.png resize: (157, 143) 1389218615 -0.8288857089799601 treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250442_0.png resize: (110, 109) 1389218616 -0.30253777417847816 treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250449_0.png resize: (144, 74) 1389218617 -2.7287041852405713 treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250451_0.png resize: (127, 155) 1389218618 0.7924478343894255 treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250456_0.png resize: (178, 192) 1389218619 -1.4606122776523849 treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250455_0.png resize: (55, 207) 1389218620 -1.2572381478134047 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250465_0.png resize: (107, 133) 1389218621 -3.1888646591796475 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250459_0.png resize: (72, 96) 1389218622 -0.5122404449712781 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250461_0.png resize: (90, 62) 1389218623 8.258124766683917 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250460_0.png resize: (87, 106) 1389218624 -2.193826901196056 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250462_0.png resize: (161, 83) 1389218625 -1.4520558704570707 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250458_0.png resize: (116, 138) 1389218626 -1.587457658654715 treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250467_0.png resize: (48, 54) 1389218633 0.2908172929126843 treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250469_0.png resize: (177, 244) 1389218647 -0.5620104089879511 treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250476_0.png resize: (173, 219) 1389218661 -2.205324570113956 treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250473_0.png resize: (141, 252) 1389218668 -1.9638181878617045 treat image : temp/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250438_0.png resize: (77, 81) 1389218671 1.855271231350723 treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250440_0.png resize: (119, 119) 1389218673 0.8123923284697238 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250463_0.png resize: (556, 367) 1389218674 0.0326095340972713 treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250472_0.png resize: (166, 241) 1389218675 -2.0674010086771792 treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250443_0.png resize: (108, 54) 1389218676 -2.1009273071863657 treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250444_0.png resize: (184, 94) 1389218893 -0.03398081270492682 treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250441_0.png resize: (800, 957) 1389218894 0.5410472699586685 treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250445_0.png resize: (111, 323) 1389218895 -2.7045567798869232 treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250446_0.png resize: (548, 330) 1389218896 0.31612294195406226 treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250447_0.png resize: (959, 603) 1389218897 -0.8341022201559224 treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250448_0.png resize: (123, 172) 1389218898 -1.9595966030231824 treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250450_0.png resize: (170, 91) 1389218899 -0.7929563955569027 treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250453_0.png resize: (961, 912) 1389218900 0.5971595139332004 treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250452_0.png resize: (78, 74) 1389218901 -2.6400418537372796 treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250454_0.png resize: (327, 385) 1389218902 -0.8323119714672673 treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250457_0.png resize: (109, 80) 1389218903 -4.263287345649895 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250464_0.png resize: (94, 93) 1389218904 -5.1913654844766555 treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250468_0.png resize: (548, 306) 1389218905 -0.6986294809907667 treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250471_0.png resize: (98, 348) 1389218906 -1.76759982233745 treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250470_0.png resize: (508, 314) 1389218907 -0.002327077939681656 treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250466_0.png resize: (58, 61) 1389218935 -1.7013215186585422 treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250474_0.png resize: (379, 112) 1389218936 -1.240464382744349 treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250475_0.png resize: (78, 79) 1389218939 1.0597276922524055 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 : 53 time used for this insertion : 0.04087495803833008 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 53 time used for this insertion : 0.03697490692138672 save missing photos in datou_result : time spend for datou_step_exec : 11.387301206588745 time spend to save output : 0.09654498100280762 total time spend for step 6 : 11.483846187591553 step7:brightness Mon Oct 13 14:01:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108.jpg treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028.jpg treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400.jpg treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244.jpg treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa.jpg treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06.jpg treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00.jpg treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820.jpg treat image : temp/1760356829_2220314_1389200756_ed02023271402e4f3a4a6a6edb217a09.jpg treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38.jpg treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936.jpg treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90.jpg treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84.jpg treat image : temp/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250437_0.png treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250439_0.png treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250442_0.png treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250449_0.png treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250451_0.png treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250456_0.png treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250455_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250465_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250459_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250461_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250460_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250462_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250458_0.png treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250467_0.png treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250469_0.png treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250476_0.png treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250473_0.png treat image : temp/1760356829_2220314_1389200785_98b8cb28e0b9fb0a1503c2512151d108_rle_crop_3996250438_0.png treat image : temp/1760356829_2220314_1389200782_ed811236fd82505b2dabc4c664f9a028_rle_crop_3996250440_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250463_0.png treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250472_0.png treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250443_0.png treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250444_0.png treat image : temp/1760356829_2220314_1389200779_67e1621bff27cb39a5b6508d35de9400_rle_crop_3996250441_0.png treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250445_0.png treat image : temp/1760356829_2220314_1389200778_d94c478703ac5ca05c958ddab3d6f244_rle_crop_3996250446_0.png treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250447_0.png treat image : temp/1760356829_2220314_1389200775_c747820b03b1149bb31f4b44203676fa_rle_crop_3996250448_0.png treat image : temp/1760356829_2220314_1389200772_fa8d065668753109a266db5ffb835e06_rle_crop_3996250450_0.png treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250453_0.png treat image : temp/1760356829_2220314_1389200764_80af7d726203fd043444a25ef109ce00_rle_crop_3996250452_0.png treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250454_0.png treat image : temp/1760356829_2220314_1389200760_826c6a9d76ca2c7f2ddb2737723f1820_rle_crop_3996250457_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250464_0.png treat image : temp/1760356829_2220314_1389200716_43a7244b64142e688801500bdcc78936_rle_crop_3996250468_0.png treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250471_0.png treat image : temp/1760356829_2220314_1389200690_c3c6aa3f2f2b27e93357c44ea942eb90_rle_crop_3996250470_0.png treat image : temp/1760356829_2220314_1389200747_a8e3de03683ab581f5342db087751c38_rle_crop_3996250466_0.png treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250474_0.png treat image : temp/1760356829_2220314_1389200688_964fbbffd12b0843edda3686b1b5de84_rle_crop_3996250475_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 : 53 time used for this insertion : 0.04007720947265625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 53 time used for this insertion : 0.037505388259887695 save missing photos in datou_result : time spend for datou_step_exec : 3.2897210121154785 time spend to save output : 0.09537959098815918 total time spend for step 7 : 3.3851006031036377 step8:velours_tree Mon Oct 13 14:01:57 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.13345670700073242 time spend to save output : 3.457069396972656e-05 total time spend for step 8 : 0.13349127769470215 step9:send_mail_cod Mon Oct 13 14:01:57 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_P27756455_13-10-2025_14_01_57.pdf 27756853 change filename to text .change filename to text .imagette277568531760356917 27756854 change filename to text .change filename to text .change filename to text .change filename to text .imagette277568541760356917 27756855 change filename to text .imagette277568551760356917 27756856 imagette277568561760356917 27756857 change filename to text .imagette277568571760356917 27756858 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 .imagette277568581760356917 27756859 imagette277568591760356919 27756860 imagette277568601760356919 27756861 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 .imagette277568611760356919 27756862 imagette277568621760356920 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27756455 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27756853,27756854,27756855,27756856,27756857,27756858,27756859,27756860,27756861,27756862,27756863?tags=autre,carton,pehd,mal_croppe,metal,papier,flou,background,pet_clair,pet_fonce,environnement args[1389200785] : ((1389200785, 0.46521980085795256, 492688767), (1389200785, 0.5475097798135489, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200782] : ((1389200782, -0.42089758926782694, 492688767), (1389200782, 0.2942840452346856, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200779] : ((1389200779, 0.5406528075316598, 492688767), (1389200779, 0.9095853998747161, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200778] : ((1389200778, -3.403945899041492, 492609224), (1389200778, 0.5084610864950733, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200775] : ((1389200775, -0.4300213287594909, 492688767), (1389200775, 0.6751297203023021, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200772] : ((1389200772, -4.008279809434963, 492609224), (1389200772, 0.5302134789459615, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200764] : ((1389200764, 0.03710049168917374, 492688767), (1389200764, 0.6204631488265296, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200760] : ((1389200760, -0.4827017900292567, 492688767), (1389200760, 0.6883129732824538, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200756] : ((1389200756, -0.36931342033299097, 492688767), (1389200756, 0.6039322673115383, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200747] : ((1389200747, -3.8649044347428703, 492609224), (1389200747, 0.40673501216389063, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200716] : ((1389200716, -0.7638082212504698, 492688767), (1389200716, 0.7542422039448832, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200690] : ((1389200690, -0.48397671837590067, 492688767), (1389200690, 0.42824652104068156, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com args[1389200688] : ((1389200688, -2.1244891090416202, 492609224), (1389200688, 0.47295074276019605, 2107752395), '0.08950602445394115') We are sending mail with results at report@fotonower.com refus_total : 0.08950602445394115 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27756455 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_P27756455_13-10-2025_14_01_57.pdf results_Auto_P27756455_13-10-2025_14_01_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756455_13-10-2025_14_01_57.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','27756455','results_Auto_P27756455_13-10-2025_14_01_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756455_13-10-2025_14_01_57.pdf','pdf','','0.37','0.08950602445394115') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27756455

https://www.fotonower.com/image?json=false&list_photos_id=1389200785
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200782
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200779
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200778
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200775
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200772
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200764
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200760
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200756
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200747
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200716
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200690
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200688
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/27756853?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27756854?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/27756855?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27756857?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27756858?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27756861?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756455_13-10-2025_14_01_57.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27756853,27756854,27756855,27756856,27756857,27756858,27756859,27756860,27756861,27756862,27756863?tags=autre,carton,pehd,mal_croppe,metal,papier,flou,background,pet_clair,pet_fonce,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 13 Oct 2025 12:02:03 GMT Content-Length: 0 Connection: close X-Message-Id: bRSoIDWdTomxBPXcavoLZA 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 [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] 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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.0422060489654541 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.939103603363037 time spend to save output : 0.04248666763305664 total time spend for step 9 : 5.981590270996094 step10:split_time_score Mon Oct 13 14:02:03 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'}] (('11', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13102025 27756455 Nombre de photos uploadées : 13 / 23040 (0%) 13102025 27756455 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 13102025 27756455 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006227493286132812 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6434149742126465 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.0486033950617284 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749759_13-10-2025_10_31_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749759 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`=27749759 AND mptpi.`type`=3594 To do Qualite : 0.05129379734848485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749761 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`=27749761 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756449 order by id desc limit 1 Qualite : 0.0960733989197531 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756454_13-10-2025_13_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756454 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`=27756454 AND mptpi.`type`=3594 To do Qualite : 0.08950602445394115 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756455_13-10-2025_14_01_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756455 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`=27756455 AND mptpi.`type`=3594 To do Qualite : 0.17526720839763377 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756456 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`=27756456 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13102025': {'nb_upload': 13, '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 [1389200785, 1389200782, 1389200779, 1389200778, 1389200775, 1389200772, 1389200764, 1389200760, 1389200756, 1389200747, 1389200716, 1389200690, 1389200688] Looping around the photos to save general results len do output : 1 /27756455Didn'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, '3933096') ('3318', '27756455', '1389200785', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200782', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200779', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200778', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200775', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200772', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200764', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200760', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200756', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200747', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200716', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200690', None, None, None, None, None, '3933096') ('3318', None, None, None, None, None, None, None, '3933096') ('3318', '27756455', '1389200688', None, None, None, None, None, '3933096') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.036667823791503906 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9262866973876953 time spend to save output : 0.03693866729736328 total time spend for step 10 : 2.9632253646850586 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 47.00user 14.18system 1:41.04elapsed 60%CPU (0avgtext+0avgdata 2884188maxresident)k 40560inputs+24824outputs (3major+1131658minor)pagefaults 0swaps