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 : 1242180 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 : ['4076401'] with mtr_portfolio_ids : ['28700487'] and first list_photo_ids : [] new path : /proc/1242180/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 2.052380323410034 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Nov 19 09:50: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-11-19 09:50:34.388290: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-19 09:50:34.418498: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-19 09:50:34.420591: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3664000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-19 09:50:34.420635: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-19 09:50:34.424298: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-19 09:50:34.733808: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3b45f890 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-19 09:50:34.733853: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-19 09:50:34.735112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-19 09:50:34.735771: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-19 09:50:34.739666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-19 09:50:34.742573: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-19 09:50:34.743765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-19 09:50:34.745787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-19 09:50:34.747084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-19 09:50:34.752857: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-19 09:50:34.754657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-19 09:50:34.754732: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-19 09:50:34.755660: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-19 09:50:34.755678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-19 09:50:34.755688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-19 09:50:34.757363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-19 09:50:35.035479: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-19 09:50:35.035572: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-19 09:50:35.035590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-19 09:50:35.035604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-19 09:50:35.035618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-19 09:50:35.035631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-19 09:50:35.035644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-19 09:50:35.035657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-19 09:50:35.036873: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-19 09:50:35.037998: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-19 09:50:35.038024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-19 09:50:35.038037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-19 09:50:35.038050: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-19 09:50:35.038062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-19 09:50:35.038075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-19 09:50:35.038087: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-19 09:50:35.038100: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-19 09:50:35.039296: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-19 09:50:35.039326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-19 09:50:35.039334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-19 09:50:35.039341: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-19 09:50:35.040571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-19 09:50:42.878504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-19 09:50:43.069737: 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 : 15 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.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: 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: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 13.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 : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 40.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: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 Detection mask done ! Trying to reset tf kernel 1242747 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 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 : 10998 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.0002684593200683594 nb_pixel_total : 10792 time to create 1 rle with old method : 0.01233363151550293 length of segment : 119 time for calcul the mask position with numpy : 0.00035071372985839844 nb_pixel_total : 18026 time to create 1 rle with old method : 0.02109813690185547 length of segment : 305 time for calcul the mask position with numpy : 0.00013971328735351562 nb_pixel_total : 5921 time to create 1 rle with old method : 0.007132053375244141 length of segment : 75 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 8174 time to create 1 rle with old method : 0.0102996826171875 length of segment : 138 time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 7391 time to create 1 rle with old method : 0.008713722229003906 length of segment : 154 time for calcul the mask position with numpy : 0.001760244369506836 nb_pixel_total : 112110 time to create 1 rle with old method : 0.11784100532531738 length of segment : 565 time for calcul the mask position with numpy : 0.00013399124145507812 nb_pixel_total : 4774 time to create 1 rle with old method : 0.005512714385986328 length of segment : 101 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 10142 time to create 1 rle with old method : 0.01106405258178711 length of segment : 214 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 8568 time to create 1 rle with old method : 0.009874105453491211 length of segment : 117 time for calcul the mask position with numpy : 0.0002422332763671875 nb_pixel_total : 10679 time to create 1 rle with old method : 0.012561321258544922 length of segment : 151 time for calcul the mask position with numpy : 0.0005095005035400391 nb_pixel_total : 20578 time to create 1 rle with old method : 0.02352738380432129 length of segment : 274 time for calcul the mask position with numpy : 0.00024771690368652344 nb_pixel_total : 15515 time to create 1 rle with old method : 0.018201351165771484 length of segment : 130 time for calcul the mask position with numpy : 0.00015544891357421875 nb_pixel_total : 7166 time to create 1 rle with old method : 0.008758306503295898 length of segment : 80 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 5505 time to create 1 rle with old method : 0.006974935531616211 length of segment : 67 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 9817 time to create 1 rle with old method : 0.01643824577331543 length of segment : 147 time for calcul the mask position with numpy : 0.00026726722717285156 nb_pixel_total : 11744 time to create 1 rle with old method : 0.018918752670288086 length of segment : 101 time for calcul the mask position with numpy : 0.0005724430084228516 nb_pixel_total : 25017 time to create 1 rle with old method : 0.02928900718688965 length of segment : 213 time for calcul the mask position with numpy : 0.00020503997802734375 nb_pixel_total : 7211 time to create 1 rle with old method : 0.008754730224609375 length of segment : 104 time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 4406 time to create 1 rle with old method : 0.005417346954345703 length of segment : 107 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 7305 time to create 1 rle with old method : 0.00856328010559082 length of segment : 130 time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 6800 time to create 1 rle with old method : 0.008116483688354492 length of segment : 116 time for calcul the mask position with numpy : 0.00038909912109375 nb_pixel_total : 27615 time to create 1 rle with old method : 0.031577110290527344 length of segment : 227 time for calcul the mask position with numpy : 0.0008790493011474609 nb_pixel_total : 54708 time to create 1 rle with old method : 0.06110548973083496 length of segment : 230 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 3149 time to create 1 rle with old method : 0.0037322044372558594 length of segment : 101 time for calcul the mask position with numpy : 0.00015878677368164062 nb_pixel_total : 11096 time to create 1 rle with old method : 0.01261591911315918 length of segment : 144 time for calcul the mask position with numpy : 0.00011420249938964844 nb_pixel_total : 6940 time to create 1 rle with old method : 0.008291959762573242 length of segment : 78 time for calcul the mask position with numpy : 0.00016260147094726562 nb_pixel_total : 9479 time to create 1 rle with old method : 0.011159658432006836 length of segment : 167 time for calcul the mask position with numpy : 9.72747802734375e-05 nb_pixel_total : 4348 time to create 1 rle with old method : 0.005459785461425781 length of segment : 53 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 12830 time to create 1 rle with old method : 0.014909744262695312 length of segment : 203 time for calcul the mask position with numpy : 0.0003387928009033203 nb_pixel_total : 17429 time to create 1 rle with old method : 0.021358489990234375 length of segment : 147 time for calcul the mask position with numpy : 0.0002372264862060547 nb_pixel_total : 7768 time to create 1 rle with old method : 0.010608911514282227 length of segment : 64 time for calcul the mask position with numpy : 0.0001506805419921875 nb_pixel_total : 6909 time to create 1 rle with old method : 0.010223388671875 length of segment : 132 time for calcul the mask position with numpy : 0.0009672641754150391 nb_pixel_total : 48053 time to create 1 rle with old method : 0.06595563888549805 length of segment : 167 time for calcul the mask position with numpy : 0.014805793762207031 nb_pixel_total : 747153 time to create 1 rle with new method : 0.13892889022827148 length of segment : 955 time for calcul the mask position with numpy : 0.0004942417144775391 nb_pixel_total : 17947 time to create 1 rle with old method : 0.019890785217285156 length of segment : 213 time for calcul the mask position with numpy : 0.00011372566223144531 nb_pixel_total : 5526 time to create 1 rle with old method : 0.0065267086029052734 length of segment : 45 time for calcul the mask position with numpy : 0.00031495094299316406 nb_pixel_total : 8837 time to create 1 rle with old method : 0.009941816329956055 length of segment : 161 time for calcul the mask position with numpy : 0.00034308433532714844 nb_pixel_total : 15166 time to create 1 rle with old method : 0.01787710189819336 length of segment : 146 time for calcul the mask position with numpy : 0.00019502639770507812 nb_pixel_total : 5298 time to create 1 rle with old method : 0.006548881530761719 length of segment : 65 time for calcul the mask position with numpy : 0.0002071857452392578 nb_pixel_total : 8214 time to create 1 rle with old method : 0.00996088981628418 length of segment : 87 time spent for convertir_results : 2.1178553104400635 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 : 6793 save missing photos in datou_result : time spend for datou_step_exec : 25.16493272781372 time spend to save output : 0.4756755828857422 total time spend for step 1 : 25.640608310699463 step2:crop_condition Wed Nov 19 09:50: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 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 : 15 ! 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763542260_1242180 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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520668_0.png', 0, 120, 88, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520678_0.png', 0, 229, 213, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520675_0.png', 0, 121, 63, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520674_0.png', 0, 123, 78, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520669_0.png', 0, 65, 214, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520671_0.png', 0, 99, 151, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520672_0.png', 0, 194, 274, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520679_0.png', 0, 105, 98, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520680_0.png', 0, 72, 107, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160619_f1be931a81624ec74e1d790b5af19b5f_rle_crop_4038520681_0.png', 0, 72, 130, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520682_0.png', 0, 85, 115, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520684_0.png', 0, 377, 218, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520685_0.png', 0, 54, 101, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160611_bfc9acd9160f04b1596d70fed1030157_rle_crop_4038520686_0.png', 0, 105, 140, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520689_0.png', 0, 129, 52, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520688_0.png', 0, 109, 166, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520687_0.png', 0, 110, 78, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520694_0.png', 0, 479, 159, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520692_0.png', 0, 187, 58, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520693_0.png', 0, 66, 132, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520690_0.png', 0, 117, 203, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520691_0.png', 0, 242, 139, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520698_0.png', 0, 124, 119, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520700_0.png', 0, 146, 65, 0, 1763542263,'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(1763542263), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160566_dff99b7fec100eee38e4984e973a61a0_rle_crop_4038520701_0.png', 0, 165, 85, 0, 1763542263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.484575271606445 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763542265_1242180 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(1763542266), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520665_0.png', 0, 92, 133, 0, 1763542266,'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(1763542266), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520670_0.png', 0, 113, 114, 0, 1763542266,'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(1763542266), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520676_0.png', 0, 85, 147, 0, 1763542266,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1870977878570557 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/1763542267_1242180 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(1763542267), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520677_0.png', 0, 154, 99, 0, 1763542267,'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.5852534770965576 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763542271_1242180 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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520663_0.png', 0, 265, 155, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520664_0.png', 0, 145, 65, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160647_60bf9ea78d70ea5ed4bfe23d0f0b017a_rle_crop_4038520666_0.png', 0, 109, 133, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520667_0.png', 0, 340, 553, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520673_0.png', 0, 171, 130, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520683_0.png', 0, 158, 219, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520695_0.png', 0, 1101, 953, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520697_0.png', 0, 158, 42, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520696_0.png', 0, 112, 210, 0, 1763542273,'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(1763542273), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520699_0.png', 0, 140, 146, 0, 1763542273,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.922874927520752 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 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1763542275_1242180 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(1763542275), 0.0, 0.0, 14, '', 0, 0, '1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520662_0.png', 0, 154, 119, 0, 1763542275,'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.6676125526428223 we have finished the crop for the class : pet_fonce 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 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 [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] Looping around the photos to save general results len do output : 40 /1395169417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395169459Didn'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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 time used for this insertion : 0.02239537239074707 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.85037851333618 time spend to save output : 0.024282455444335938 total time spend for step 2 : 17.874660968780518 step3:rle_unique_nms_with_priority Wed Nov 19 09:51:15 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 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.19172191619873047 time for calcul the mask position with numpy : 0.13358759880065918 nb_pixel_total : 2044782 time to create 1 rle with new method : 0.07172489166259766 time for calcul the mask position with numpy : 0.006474733352661133 nb_pixel_total : 18026 time to create 1 rle with old method : 0.019644498825073242 time for calcul the mask position with numpy : 0.0060846805572509766 nb_pixel_total : 10792 time to create 1 rle with old method : 0.011879205703735352 create new chi : 0.25998353958129883 time to delete rle : 0.021115541458129883 batch 1 Loaded 5 chid ids of type : 3594 ++++++Number RLEs to save : 1928 TO DO : save crop sub photo not yet done ! save time : 0.16463994979858398 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.13481426239013672 time for calcul the mask position with numpy : 0.18631362915039062 nb_pixel_total : 2059505 time to create 1 rle with new method : 0.1268770694732666 time for calcul the mask position with numpy : 0.005931377410888672 nb_pixel_total : 8174 time to create 1 rle with old method : 0.00867462158203125 time for calcul the mask position with numpy : 0.00635075569152832 nb_pixel_total : 5921 time to create 1 rle with old method : 0.006246089935302734 create new chi : 0.34987449645996094 time to delete rle : 0.0002315044403076172 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1506 TO DO : save crop sub photo not yet done ! save time : 0.1368391513824463 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032434701919555664 time for calcul the mask position with numpy : 0.02699756622314453 nb_pixel_total : 2066209 time to create 1 rle with new method : 0.0762019157409668 time for calcul the mask position with numpy : 0.006090402603149414 nb_pixel_total : 7391 time to create 1 rle with old method : 0.00836944580078125 create new chi : 0.12880229949951172 time to delete rle : 0.0002582073211669922 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1388 TO DO : save crop sub photo not yet done ! save time : 0.13100790977478027 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10588240623474121 time for calcul the mask position with numpy : 0.08617162704467773 nb_pixel_total : 1956716 time to create 1 rle with new method : 0.07475113868713379 time for calcul the mask position with numpy : 0.006024360656738281 nb_pixel_total : 4774 time to create 1 rle with old method : 0.0052318572998046875 time for calcul the mask position with numpy : 0.006349802017211914 nb_pixel_total : 112110 time to create 1 rle with old method : 0.11423373222351074 create new chi : 0.30331921577453613 time to delete rle : 0.00033092498779296875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2412 TO DO : save crop sub photo not yet done ! save time : 0.1897871494293213 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 0.6720747947692871 time for calcul the mask position with numpy : 0.1666402816772461 nb_pixel_total : 1937252 time to create 1 rle with new method : 0.07156729698181152 time for calcul the mask position with numpy : 0.009985685348510742 nb_pixel_total : 4406 time to create 1 rle with old method : 0.004868745803833008 time for calcul the mask position with numpy : 0.007261991500854492 nb_pixel_total : 7211 time to create 1 rle with old method : 0.007941961288452148 time for calcul the mask position with numpy : 0.010390520095825195 nb_pixel_total : 25017 time to create 1 rle with old method : 0.026535987854003906 time for calcul the mask position with numpy : 0.009273529052734375 nb_pixel_total : 11744 time to create 1 rle with old method : 0.012603998184204102 time for calcul the mask position with numpy : 0.009679794311523438 nb_pixel_total : 9817 time to create 1 rle with old method : 0.010318517684936523 time for calcul the mask position with numpy : 0.009272575378417969 nb_pixel_total : 5505 time to create 1 rle with old method : 0.006102800369262695 time for calcul the mask position with numpy : 0.009225130081176758 nb_pixel_total : 7166 time to create 1 rle with old method : 0.00787210464477539 time for calcul the mask position with numpy : 0.009340524673461914 nb_pixel_total : 15515 time to create 1 rle with old method : 0.01666402816772461 time for calcul the mask position with numpy : 0.009409666061401367 nb_pixel_total : 20578 time to create 1 rle with old method : 0.022266387939453125 time for calcul the mask position with numpy : 0.00872802734375 nb_pixel_total : 10679 time to create 1 rle with old method : 0.01159524917602539 time for calcul the mask position with numpy : 0.007395029067993164 nb_pixel_total : 8568 time to create 1 rle with old method : 0.009352922439575195 time for calcul the mask position with numpy : 0.006433010101318359 nb_pixel_total : 10142 time to create 1 rle with old method : 0.010972261428833008 create new chi : 0.5015609264373779 time to delete rle : 0.0005908012390136719 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++Number RLEs to save : 4490 TO DO : save crop sub photo not yet done ! save time : 0.2893695831298828 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.056456804275512695 time for calcul the mask position with numpy : 0.01977849006652832 nb_pixel_total : 2066295 time to create 1 rle with new method : 0.02811288833618164 time for calcul the mask position with numpy : 0.0060346126556396484 nb_pixel_total : 7305 time to create 1 rle with old method : 0.008182287216186523 create new chi : 0.06816387176513672 time to delete rle : 0.00022101402282714844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1340 TO DO : save crop sub photo not yet done ! save time : 0.11640119552612305 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04768013954162598 time for calcul the mask position with numpy : 0.018264055252075195 nb_pixel_total : 2039185 time to create 1 rle with new method : 0.06963634490966797 time for calcul the mask position with numpy : 0.006200075149536133 nb_pixel_total : 27615 time to create 1 rle with old method : 0.02919483184814453 time for calcul the mask position with numpy : 0.005905628204345703 nb_pixel_total : 6800 time to create 1 rle with old method : 0.007498502731323242 create new chi : 0.14396023750305176 time to delete rle : 0.00028395652770996094 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.15678858757019043 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.1322779655456543 time for calcul the mask position with numpy : 0.05019330978393555 nb_pixel_total : 2015743 time to create 1 rle with new method : 0.15037178993225098 time for calcul the mask position with numpy : 0.00583195686340332 nb_pixel_total : 3149 time to create 1 rle with old method : 0.0033614635467529297 time for calcul the mask position with numpy : 0.005819559097290039 nb_pixel_total : 54708 time to create 1 rle with old method : 0.05572390556335449 create new chi : 0.2814812660217285 time to delete rle : 0.0002856254577636719 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1742 TO DO : save crop sub photo not yet done ! save time : 0.14490032196044922 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05546164512634277 time for calcul the mask position with numpy : 0.1269242763519287 nb_pixel_total : 2062504 time to create 1 rle with new method : 0.1533496379852295 time for calcul the mask position with numpy : 0.0056591033935546875 nb_pixel_total : 11096 time to create 1 rle with old method : 0.01125478744506836 create new chi : 0.30826306343078613 time to delete rle : 0.00024175643920898438 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1368 TO DO : save crop sub photo not yet done ! save time : 0.11467385292053223 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.08264827728271484 time for calcul the mask position with numpy : 0.12053227424621582 nb_pixel_total : 2052833 time to create 1 rle with new method : 0.15167999267578125 time for calcul the mask position with numpy : 0.006063222885131836 nb_pixel_total : 4348 time to create 1 rle with old method : 0.0045795440673828125 time for calcul the mask position with numpy : 0.006020307540893555 nb_pixel_total : 9479 time to create 1 rle with old method : 0.00998067855834961 time for calcul the mask position with numpy : 0.005822658538818359 nb_pixel_total : 6940 time to create 1 rle with old method : 0.00749659538269043 create new chi : 0.32253479957580566 time to delete rle : 0.0002963542938232422 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1676 TO DO : save crop sub photo not yet done ! save time : 0.15457797050476074 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.20346283912658691 time for calcul the mask position with numpy : 0.03677487373352051 nb_pixel_total : 1233458 time to create 1 rle with new method : 0.14972639083862305 time for calcul the mask position with numpy : 0.01121211051940918 nb_pixel_total : 747153 time to create 1 rle with new method : 0.06786489486694336 time for calcul the mask position with numpy : 0.006121158599853516 nb_pixel_total : 48053 time to create 1 rle with old method : 0.04922366142272949 time for calcul the mask position with numpy : 0.005551815032958984 nb_pixel_total : 6909 time to create 1 rle with old method : 0.007053375244140625 time for calcul the mask position with numpy : 0.005472421646118164 nb_pixel_total : 7768 time to create 1 rle with old method : 0.008029937744140625 time for calcul the mask position with numpy : 0.005628824234008789 nb_pixel_total : 17429 time to create 1 rle with old method : 0.018290996551513672 time for calcul the mask position with numpy : 0.005704164505004883 nb_pixel_total : 12830 time to create 1 rle with old method : 0.01316380500793457 create new chi : 0.3992881774902344 time to delete rle : 0.0005745887756347656 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4416 TO DO : save crop sub photo not yet done ! save time : 0.2999236583709717 No data in photo_id : 1395160576 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04988718032836914 time for calcul the mask position with numpy : 0.01971149444580078 nb_pixel_total : 2041290 time to create 1 rle with new method : 0.02837061882019043 time for calcul the mask position with numpy : 0.006176471710205078 nb_pixel_total : 8837 time to create 1 rle with old method : 0.009991884231567383 time for calcul the mask position with numpy : 0.0059452056884765625 nb_pixel_total : 5526 time to create 1 rle with old method : 0.006237030029296875 time for calcul the mask position with numpy : 0.0062940120697021484 nb_pixel_total : 17947 time to create 1 rle with old method : 0.02004098892211914 create new chi : 0.10996174812316895 time to delete rle : 0.00031256675720214844 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 1918 TO DO : save crop sub photo not yet done ! save time : 0.14919829368591309 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03962540626525879 time for calcul the mask position with numpy : 0.019227266311645508 nb_pixel_total : 2053136 time to create 1 rle with new method : 0.11715984344482422 time for calcul the mask position with numpy : 0.006264686584472656 nb_pixel_total : 5298 time to create 1 rle with old method : 0.005952358245849609 time for calcul the mask position with numpy : 0.006002664566040039 nb_pixel_total : 15166 time to create 1 rle with old method : 0.016891956329345703 create new chi : 0.18060922622680664 time to delete rle : 0.0002646446228027344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1502 TO DO : save crop sub photo not yet done ! save time : 0.13808965682983398 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06169629096984863 time for calcul the mask position with numpy : 0.09009671211242676 nb_pixel_total : 2065386 time to create 1 rle with new method : 0.08467745780944824 time for calcul the mask position with numpy : 0.006546735763549805 nb_pixel_total : 8214 time to create 1 rle with old method : 0.00945425033569336 create new chi : 0.20196247100830078 time to delete rle : 0.0002276897430419922 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1254 TO DO : save crop sub photo not yet done ! save time : 0.12158441543579102 map_output_result : {1395160655: (0.0, 'Should be the crop_list due to order', 0), 1395160652: (0.0, 'Should be the crop_list due to order', 0), 1395160647: (0.0, 'Should be the crop_list due to order', 0), 1395160643: (0.0, 'Should be the crop_list due to order', 0), 1395160641: (0.0, 'Should be the crop_list due to order', 0), 1395160619: (0.0, 'Should be the crop_list due to order', 0), 1395160617: (0.0, 'Should be the crop_list due to order', 0), 1395160615: (0.0, 'Should be the crop_list due to order', 0), 1395160611: (0.0, 'Should be the crop_list due to order', 0), 1395160609: (0.0, 'Should be the crop_list due to order', 0), 1395160604: (0.0, 'Should be the crop_list due to order', 0), 1395160576: (0.0, 'Should be the crop_list due to order', 0.0), 1395160574: (0.0, 'Should be the crop_list due to order', 0), 1395160570: (0.0, 'Should be the crop_list due to order', 0), 1395160566: (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 [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] Looping around the photos to save general results len do output : 15 /1395160655.Didn't retrieve data . /1395160652.Didn't retrieve data . /1395160647.Didn't retrieve data . /1395160643.Didn't retrieve data . /1395160641.Didn't retrieve data . /1395160619.Didn't retrieve data . /1395160617.Didn't retrieve data . /1395160615.Didn't retrieve data . /1395160611.Didn't retrieve data . /1395160609.Didn't retrieve data . /1395160604.Didn't retrieve data . /1395160576.Didn't retrieve data . /1395160574.Didn't retrieve data . /1395160570.Didn't retrieve data . /1395160566.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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.015975475311279297 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.179340362548828 time spend to save output : 0.01663947105407715 total time spend for step 3 : 8.195979833602905 step4:ventilate_hashtags_in_portfolio Wed Nov 19 09:51:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28700487 get user id for portfolio 28700487 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`=28700487 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','pet_clair','autre','papier','carton','pehd','environnement','flou','metal','pet_fonce')) 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`=28700487 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','pet_clair','autre','papier','carton','pehd','environnement','flou','metal','pet_fonce')) 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`=28700487 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','mal_croppe','pet_clair','autre','papier','carton','pehd','environnement','flou','metal','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28700937,28700938,28700939,28700940,28700941,28700942,28700943,28700944,28700945,28700946,28700947?tags=background,mal_croppe,pet_clair,autre,papier,carton,pehd,environnement,flou,metal,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] Looping around the photos to save general results len do output : 1 /28700487. 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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.05865025520324707 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.787111759185791 time spend to save output : 0.058960676193237305 total time spend for step 4 : 1.8460724353790283 step5:final Wed Nov 19 09:51:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1395160655: ('0.04295608281893003',), 1395160652: ('0.04295608281893003',), 1395160647: ('0.04295608281893003',), 1395160643: ('0.04295608281893003',), 1395160641: ('0.04295608281893003',), 1395160619: ('0.04295608281893003',), 1395160617: ('0.04295608281893003',), 1395160615: ('0.04295608281893003',), 1395160611: ('0.04295608281893003',), 1395160609: ('0.04295608281893003',), 1395160604: ('0.04295608281893003',), 1395160576: ('0.04295608281893003',), 1395160574: ('0.04295608281893003',), 1395160570: ('0.04295608281893003',), 1395160566: ('0.04295608281893003',)} new output for save of step final : {1395160655: ('0.04295608281893003',), 1395160652: ('0.04295608281893003',), 1395160647: ('0.04295608281893003',), 1395160643: ('0.04295608281893003',), 1395160641: ('0.04295608281893003',), 1395160619: ('0.04295608281893003',), 1395160617: ('0.04295608281893003',), 1395160615: ('0.04295608281893003',), 1395160611: ('0.04295608281893003',), 1395160609: ('0.04295608281893003',), 1395160604: ('0.04295608281893003',), 1395160576: ('0.04295608281893003',), 1395160574: ('0.04295608281893003',), 1395160570: ('0.04295608281893003',), 1395160566: ('0.04295608281893003',)} [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] Looping around the photos to save general results len do output : 15 /1395160655.Didn't retrieve data . /1395160652.Didn't retrieve data . /1395160647.Didn't retrieve data . /1395160643.Didn't retrieve data . /1395160641.Didn't retrieve data . /1395160619.Didn't retrieve data . /1395160617.Didn't retrieve data . /1395160615.Didn't retrieve data . /1395160611.Didn't retrieve data . /1395160609.Didn't retrieve data . /1395160604.Didn't retrieve data . /1395160576.Didn't retrieve data . /1395160574.Didn't retrieve data . /1395160570.Didn't retrieve data . /1395160566.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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.013467788696289062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12012672424316406 time spend to save output : 0.014065980911254883 total time spend for step 5 : 0.13419270515441895 step6:blur_detection Wed Nov 19 09:51:25 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec.jpg resize: (1080, 1920) 1395160655 -0.6450292461926911 treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970.jpg resize: (1080, 1920) 1395160652 1.0236936229569038 treat image : temp/1763542229_1242180_1395160647_60bf9ea78d70ea5ed4bfe23d0f0b017a.jpg resize: (1080, 1920) 1395160647 1.1201659942278412 treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764.jpg resize: (1080, 1920) 1395160643 -2.7999821938984133 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c.jpg resize: (1080, 1920) 1395160641 -0.34733314148273464 treat image : temp/1763542229_1242180_1395160619_f1be931a81624ec74e1d790b5af19b5f.jpg resize: (1080, 1920) 1395160619 3.0507441592498497 treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611.jpg resize: (1080, 1920) 1395160617 -0.18036086876959914 treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529.jpg resize: (1080, 1920) 1395160615 2.2809906987654016 treat image : temp/1763542229_1242180_1395160611_bfc9acd9160f04b1596d70fed1030157.jpg resize: (1080, 1920) 1395160611 2.74697923132946 treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a.jpg resize: (1080, 1920) 1395160609 1.1898932416795969 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e.jpg resize: (1080, 1920) 1395160604 0.9352966287424177 treat image : temp/1763542229_1242180_1395160576_0ad0f608f984c32f9518f7efc04a9fd9.jpg resize: (1080, 1920) 1395160576 1.449696158339836 treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5.jpg resize: (1080, 1920) 1395160574 0.6136048526306075 treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479.jpg resize: (1080, 1920) 1395160570 2.143929407452581 treat image : temp/1763542229_1242180_1395160566_dff99b7fec100eee38e4984e973a61a0.jpg resize: (1080, 1920) 1395160566 0.7621830708238128 treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520668_0.png resize: (88, 120) 1395169417 -3.6729128948937033 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520678_0.png resize: (213, 229) 1395169418 -0.9530845846394699 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520675_0.png resize: (63, 121) 1395169419 -0.15778441076216765 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520674_0.png resize: (78, 123) 1395169420 -0.12971561551561195 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520669_0.png resize: (214, 65) 1395169421 -0.9298188362145344 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520671_0.png resize: (151, 99) 1395169422 -1.2353713824564192 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520672_0.png resize: (274, 194) 1395169423 -1.539922966473342 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520679_0.png resize: (98, 105) 1395169424 -1.4854815841817934 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520680_0.png resize: (107, 72) 1395169425 -2.1383200100853763 treat image : temp/1763542229_1242180_1395160619_f1be931a81624ec74e1d790b5af19b5f_rle_crop_4038520681_0.png resize: (130, 72) 1395169426 -0.48494889636566735 treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520682_0.png resize: (115, 85) 1395169427 -1.5943800320573625 treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520684_0.png resize: (218, 377) 1395169428 0.00813071832487247 treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520685_0.png resize: (101, 54) 1395169429 -0.953363553292507 treat image : temp/1763542229_1242180_1395160611_bfc9acd9160f04b1596d70fed1030157_rle_crop_4038520686_0.png resize: (140, 105) 1395169430 0.6574099147272158 treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520689_0.png resize: (52, 129) 1395169431 -0.309616239875326 treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520688_0.png resize: (166, 109) 1395169432 -1.4117116619930241 treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520687_0.png resize: (78, 110) 1395169433 -0.4890911019212117 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520694_0.png resize: (159, 479) 1395169434 0.048632793266969676 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520692_0.png resize: (58, 187) 1395169435 -0.6525041029343515 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520693_0.png resize: (132, 66) 1395169436 4.0803616913377105 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520690_0.png resize: (203, 117) 1395169437 -1.3436803258790133 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520691_0.png resize: (139, 242) 1395169438 -1.8001118108551126 treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520698_0.png resize: (119, 124) 1395169439 -0.6924707143041064 treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520700_0.png resize: (65, 146) 1395169440 -2.009346315457941 treat image : temp/1763542229_1242180_1395160566_dff99b7fec100eee38e4984e973a61a0_rle_crop_4038520701_0.png resize: (85, 165) 1395169441 -0.026847494656952995 treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520665_0.png resize: (133, 92) 1395169443 -1.5641167411260177 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520670_0.png resize: (114, 113) 1395169444 -1.6854772018928394 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520676_0.png resize: (147, 85) 1395169445 -0.5106627659771623 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520677_0.png resize: (99, 154) 1395169447 -1.9006616882945342 treat image : temp/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520663_0.png resize: (155, 265) 1395169449 -3.079820966364837 treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520664_0.png resize: (65, 145) 1395169450 -1.8171825650686468 treat image : temp/1763542229_1242180_1395160647_60bf9ea78d70ea5ed4bfe23d0f0b017a_rle_crop_4038520666_0.png resize: (133, 109) 1395169451 -1.5369586445681194 treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520667_0.png resize: (553, 340) 1395169452 0.07740192840271061 treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520673_0.png resize: (130, 171) 1395169453 -1.2582536629177432 treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520683_0.png resize: (219, 158) 1395169454 -0.6620321588727798 treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520695_0.png resize: (953, 1101) 1395169455 0.22714845004213993 treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520697_0.png resize: (42, 158) 1395169456 0.7286996688511433 treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520696_0.png resize: (210, 112) 1395169457 -1.6800889150822778 treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520699_0.png resize: (146, 140) 1395169458 0.02055268898869987 treat image : temp/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520662_0.png resize: (119, 154) 1395169459 -1.2776416720443666 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 : 55 time used for this insertion : 0.016262531280517578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 55 time used for this insertion : 0.017994165420532227 save missing photos in datou_result : time spend for datou_step_exec : 12.014612913131714 time spend to save output : 0.039653778076171875 total time spend for step 6 : 12.054266691207886 step7:brightness Wed Nov 19 09:51:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec.jpg treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970.jpg treat image : temp/1763542229_1242180_1395160647_60bf9ea78d70ea5ed4bfe23d0f0b017a.jpg treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764.jpg treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c.jpg treat image : temp/1763542229_1242180_1395160619_f1be931a81624ec74e1d790b5af19b5f.jpg treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611.jpg treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529.jpg treat image : temp/1763542229_1242180_1395160611_bfc9acd9160f04b1596d70fed1030157.jpg treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a.jpg treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e.jpg treat image : temp/1763542229_1242180_1395160576_0ad0f608f984c32f9518f7efc04a9fd9.jpg treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5.jpg treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479.jpg treat image : temp/1763542229_1242180_1395160566_dff99b7fec100eee38e4984e973a61a0.jpg treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520668_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520678_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520675_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520674_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520669_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520671_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520672_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520679_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520680_0.png treat image : temp/1763542229_1242180_1395160619_f1be931a81624ec74e1d790b5af19b5f_rle_crop_4038520681_0.png treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520682_0.png treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520684_0.png treat image : temp/1763542229_1242180_1395160615_f0c3ca1b553f1e2864cb4c2bbfba1529_rle_crop_4038520685_0.png treat image : temp/1763542229_1242180_1395160611_bfc9acd9160f04b1596d70fed1030157_rle_crop_4038520686_0.png treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520689_0.png treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520688_0.png treat image : temp/1763542229_1242180_1395160609_22f9c6d6e9b8d8767d6a5acbebd3532a_rle_crop_4038520687_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520694_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520692_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520693_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520690_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520691_0.png treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520698_0.png treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520700_0.png treat image : temp/1763542229_1242180_1395160566_dff99b7fec100eee38e4984e973a61a0_rle_crop_4038520701_0.png treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520665_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520670_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520676_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520677_0.png treat image : temp/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520663_0.png treat image : temp/1763542229_1242180_1395160652_525581437eb2f6b35ee51c9f95715970_rle_crop_4038520664_0.png treat image : temp/1763542229_1242180_1395160647_60bf9ea78d70ea5ed4bfe23d0f0b017a_rle_crop_4038520666_0.png treat image : temp/1763542229_1242180_1395160643_3e14c9d19e906c545c1519234bcd6764_rle_crop_4038520667_0.png treat image : temp/1763542229_1242180_1395160641_61f3e8d6facef41b598c4cfee53b871c_rle_crop_4038520673_0.png treat image : temp/1763542229_1242180_1395160617_20c7b35c8f8fe112215b16e9ad268611_rle_crop_4038520683_0.png treat image : temp/1763542229_1242180_1395160604_83b883e2eed09fc83eb0322b0ba5d57e_rle_crop_4038520695_0.png treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520697_0.png treat image : temp/1763542229_1242180_1395160574_517d6a01c24eacc970e1d08c262528a5_rle_crop_4038520696_0.png treat image : temp/1763542229_1242180_1395160570_3435762cac9d15d00374d2f5e11d1479_rle_crop_4038520699_0.png treat image : temp/1763542229_1242180_1395160655_b01edbc7a4bc15ef46049d502e6f3bec_rle_crop_4038520662_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 : 55 time used for this insertion : 0.015547990798950195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 55 time used for this insertion : 0.016271114349365234 save missing photos in datou_result : time spend for datou_step_exec : 3.5962862968444824 time spend to save output : 0.0364079475402832 total time spend for step 7 : 3.6326942443847656 step8:velours_tree Wed Nov 19 09:51: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 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.12844133377075195 time spend to save output : 3.337860107421875e-05 total time spend for step 8 : 0.12847471237182617 step9:send_mail_cod Wed Nov 19 09:51: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 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_P28700487_19-11-2025_09_51_41.pdf 28700937 imagette287009371763542301 28700938 imagette287009381763542301 28700939 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 .imagette287009391763542301 28700940 imagette287009401763542302 28700941 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette287009411763542302 28700942 change filename to text .change filename to text .change filename to text .imagette287009421763542303 28700943 imagette287009431763542303 28700945 imagette287009451763542303 28700946 change filename to text .imagette287009461763542303 28700947 change filename to text .imagette287009471763542303 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28700487 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28700937,28700938,28700939,28700940,28700941,28700942,28700943,28700944,28700945,28700946,28700947?tags=background,mal_croppe,pet_clair,autre,papier,carton,pehd,environnement,flou,metal,pet_fonce args[1395160655] : ((1395160655, -0.6450292461926911, 492688767), (1395160655, 0.7513374674259579, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160652] : ((1395160652, 1.0236936229569038, 492688767), (1395160652, 0.932870592064012, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160647] : ((1395160647, 1.1201659942278412, 492688767), (1395160647, 0.383100307502508, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160643] : ((1395160643, -2.7999821938984133, 492609224), (1395160643, 0.17748161604420323, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160641] : ((1395160641, -0.34733314148273464, 492688767), (1395160641, 0.4169663828219019, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160619] : ((1395160619, 3.0507441592498497, 492688767), (1395160619, 0.502935371113402, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160617] : ((1395160617, -0.18036086876959914, 492688767), (1395160617, 0.8225505873317183, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160615] : ((1395160615, 2.2809906987654016, 492688767), (1395160615, 0.7594390559236388, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160611] : ((1395160611, 2.74697923132946, 492688767), (1395160611, 0.7806094916144819, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160609] : ((1395160609, 1.1898932416795969, 492688767), (1395160609, 0.681070512666648, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160604] : ((1395160604, 0.9352966287424177, 492688767), (1395160604, 0.48303643579089084, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160576] : ((1395160576, 1.449696158339836, 492688767), (1395160576, 0.4794386345936833, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160574] : ((1395160574, 0.6136048526306075, 492688767), (1395160574, 0.642563010268264, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160570] : ((1395160570, 2.143929407452581, 492688767), (1395160570, 0.7244356409150002, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com args[1395160566] : ((1395160566, 0.7621830708238128, 492688767), (1395160566, 0.4032757575352346, 2107752395), '0.04295608281893003') We are sending mail with results at report@fotonower.com refus_total : 0.04295608281893003 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=28700487 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_P28700487_19-11-2025_09_51_41.pdf results_Auto_P28700487_19-11-2025_09_51_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28700487_19-11-2025_09_51_41.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','28700487','results_Auto_P28700487_19-11-2025_09_51_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28700487_19-11-2025_09_51_41.pdf','pdf','','0.26','0.04295608281893003') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28700487

https://www.fotonower.com/image?json=false&list_photos_id=1395160655
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160652
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0236936229569038)
https://www.fotonower.com/image?json=false&list_photos_id=1395160647
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1201659942278412)
https://www.fotonower.com/image?json=false&list_photos_id=1395160643
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160641
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160619
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.0507441592498497)
https://www.fotonower.com/image?json=false&list_photos_id=1395160617
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160615
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.2809906987654016)
https://www.fotonower.com/image?json=false&list_photos_id=1395160611
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.74697923132946)
https://www.fotonower.com/image?json=false&list_photos_id=1395160609
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1898932416795969)
https://www.fotonower.com/image?json=false&list_photos_id=1395160604
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160576
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.449696158339836)
https://www.fotonower.com/image?json=false&list_photos_id=1395160574
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395160570
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.143929407452581)
https://www.fotonower.com/image?json=false&list_photos_id=1395160566
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28700939?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28700941?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28700942?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28700946?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/28700947?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28700487_19-11-2025_09_51_41.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28700937,28700938,28700939,28700940,28700941,28700942,28700943,28700944,28700945,28700946,28700947?tags=background,mal_croppe,pet_clair,autre,papier,carton,pehd,environnement,flou,metal,pet_fonce.


L'équipe Fotonower 202 b'' Date: Wed, 19 Nov 2025 08:51:45 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: CeINBIZBQp6ZubojHlQDZw 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 [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] 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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01723766326904297 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.604977130889893 time spend to save output : 0.017450809478759766 total time spend for step 9 : 4.622427940368652 step10:split_time_score Wed Nov 19 09:51:45 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'}] (('08', 15),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19112025 28700487 Nombre de photos uploadées : 15 / 23040 (0%) 19112025 28700487 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 19112025 28700487 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006167888641357422 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20000028610229492 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28699660 order by id desc limit 1 Qualite : 0.13480699159807957 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28699663_19-11-2025_09_31_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28699663 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`=28699663 AND mptpi.`type`=3594 To do Qualite : 0.05604196807484568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28699667_19-11-2025_09_21_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28699667 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`=28699667 AND mptpi.`type`=3594 To do Qualite : 0.11329287765775035 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28699668_19-11-2025_09_11_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28699668 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`=28699668 AND mptpi.`type`=3594 To do Qualite : 0.04295608281893003 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28700487_19-11-2025_09_51_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28700487 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`=28700487 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28700488 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19112025': {'nb_upload': 15, '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 [1395160655, 1395160652, 1395160647, 1395160643, 1395160641, 1395160619, 1395160617, 1395160615, 1395160611, 1395160609, 1395160604, 1395160576, 1395160574, 1395160570, 1395160566] Looping around the photos to save general results len do output : 1 /28700487Didn'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, '4076401') ('3318', '28700487', '1395160655', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160652', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160647', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160643', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160641', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160619', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160617', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160615', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160611', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160609', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160604', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160576', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160574', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160570', None, None, None, None, None, '4076401') ('3318', None, None, None, None, None, None, None, '4076401') ('3318', '28700487', '1395160566', None, None, None, None, None, '4076401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.020418882369995117 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0256507396698 time spend to save output : 0.020600080490112305 total time spend for step 10 : 3.046250820159912 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 42.07user 20.49system 1:23.30elapsed 75%CPU (0avgtext+0avgdata 2906420maxresident)k 26464inputs+16920outputs (279major+1828428minor)pagefaults 0swaps