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 : 2245418 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 : ['3634206'] with mtr_portfolio_ids : ['26319809'] and first list_photo_ids : [] new path : /proc/2245418/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.2663555145263672 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 29 08:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10604 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 08:50:32.534733: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-29 08:50:32.560500: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 08:50:32.562324: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7500000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 08:50:32.562354: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 08:50:32.566392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 08:50:32.686325: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1a6077a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 08:50:32.686382: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 08:50:32.687642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 08:50:32.688106: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 08:50:32.691276: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 08:50:32.694250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 08:50:32.694774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 08:50:32.697981: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 08:50:32.699064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 08:50:32.703673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 08:50:32.705268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 08:50:32.705347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 08:50:32.706139: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 08:50:32.706155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 08:50:32.706165: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 08:50:32.707548: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9679 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-29 08:50:32.966076: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 08:50:32.966171: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 08:50:32.966192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 08:50:32.966211: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 08:50:32.966229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 08:50:32.966247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 08:50:32.966265: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 08:50:32.966283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 08:50:32.967869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 08:50:32.969291: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 08:50:32.969341: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 08:50:32.969357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 08:50:32.969371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 08:50:32.969385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 08:50:32.969398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 08:50:32.969412: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 08:50:32.969426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 08:50:32.970700: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 08:50:32.970727: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 08:50:32.970736: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 08:50:32.970744: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 08:50:32.972071: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9679 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-29 08:50:42.787264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 08:50:42.990468: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 2245981 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 551 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5632 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.0002307891845703125 nb_pixel_total : 5577 time to create 1 rle with old method : 0.007938146591186523 length of segment : 141 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 2493 time to create 1 rle with old method : 0.0029153823852539062 length of segment : 91 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 8028 time to create 1 rle with old method : 0.008958816528320312 length of segment : 100 time for calcul the mask position with numpy : 0.00018978118896484375 nb_pixel_total : 8287 time to create 1 rle with old method : 0.010560035705566406 length of segment : 141 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 14706 time to create 1 rle with old method : 0.01600360870361328 length of segment : 175 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 4031 time to create 1 rle with old method : 0.004565715789794922 length of segment : 94 time for calcul the mask position with numpy : 0.0005619525909423828 nb_pixel_total : 29653 time to create 1 rle with old method : 0.033220767974853516 length of segment : 118 time for calcul the mask position with numpy : 0.0020623207092285156 nb_pixel_total : 121397 time to create 1 rle with old method : 0.13045549392700195 length of segment : 533 time for calcul the mask position with numpy : 0.0001201629638671875 nb_pixel_total : 3895 time to create 1 rle with old method : 0.004456043243408203 length of segment : 78 time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 4243 time to create 1 rle with old method : 0.004822254180908203 length of segment : 71 time for calcul the mask position with numpy : 9.274482727050781e-05 nb_pixel_total : 3918 time to create 1 rle with old method : 0.0043332576751708984 length of segment : 79 time for calcul the mask position with numpy : 0.00012445449829101562 nb_pixel_total : 2404 time to create 1 rle with old method : 0.0027418136596679688 length of segment : 120 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 12219 time to create 1 rle with old method : 0.01403188705444336 length of segment : 156 time for calcul the mask position with numpy : 0.001544952392578125 nb_pixel_total : 98384 time to create 1 rle with old method : 0.10718727111816406 length of segment : 504 time for calcul the mask position with numpy : 0.00015997886657714844 nb_pixel_total : 5352 time to create 1 rle with old method : 0.006027698516845703 length of segment : 83 time for calcul the mask position with numpy : 0.00035452842712402344 nb_pixel_total : 18703 time to create 1 rle with old method : 0.022716045379638672 length of segment : 152 time for calcul the mask position with numpy : 0.00033092498779296875 nb_pixel_total : 8109 time to create 1 rle with old method : 0.009477615356445312 length of segment : 125 time for calcul the mask position with numpy : 0.0001304149627685547 nb_pixel_total : 3641 time to create 1 rle with old method : 0.004240989685058594 length of segment : 74 time for calcul the mask position with numpy : 0.0018835067749023438 nb_pixel_total : 107504 time to create 1 rle with old method : 0.12104034423828125 length of segment : 510 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 3021 time to create 1 rle with old method : 0.003552675247192383 length of segment : 57 time for calcul the mask position with numpy : 0.0003867149353027344 nb_pixel_total : 22279 time to create 1 rle with old method : 0.024424076080322266 length of segment : 225 time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 11538 time to create 1 rle with old method : 0.013016462326049805 length of segment : 150 time for calcul the mask position with numpy : 0.00012183189392089844 nb_pixel_total : 3895 time to create 1 rle with old method : 0.00458836555480957 length of segment : 58 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 5479 time to create 1 rle with old method : 0.006402730941772461 length of segment : 133 time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 8101 time to create 1 rle with old method : 0.00952601432800293 length of segment : 125 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 8302 time to create 1 rle with old method : 0.009277820587158203 length of segment : 127 time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 5682 time to create 1 rle with old method : 0.0065762996673583984 length of segment : 91 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 2985 time to create 1 rle with old method : 0.0036559104919433594 length of segment : 52 time for calcul the mask position with numpy : 0.0016868114471435547 nb_pixel_total : 104188 time to create 1 rle with old method : 0.11527466773986816 length of segment : 507 time for calcul the mask position with numpy : 0.00011777877807617188 nb_pixel_total : 4348 time to create 1 rle with old method : 0.004767417907714844 length of segment : 94 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 5476 time to create 1 rle with old method : 0.006011962890625 length of segment : 86 time for calcul the mask position with numpy : 9.059906005859375e-05 nb_pixel_total : 4736 time to create 1 rle with old method : 0.0052337646484375 length of segment : 70 time for calcul the mask position with numpy : 0.0006356239318847656 nb_pixel_total : 20044 time to create 1 rle with old method : 0.020955562591552734 length of segment : 202 time for calcul the mask position with numpy : 0.0003333091735839844 nb_pixel_total : 10534 time to create 1 rle with old method : 0.011365652084350586 length of segment : 182 time for calcul the mask position with numpy : 0.0005350112915039062 nb_pixel_total : 28009 time to create 1 rle with old method : 0.029853105545043945 length of segment : 188 time for calcul the mask position with numpy : 0.0002613067626953125 nb_pixel_total : 3870 time to create 1 rle with old method : 0.004348039627075195 length of segment : 111 time for calcul the mask position with numpy : 0.00021910667419433594 nb_pixel_total : 6332 time to create 1 rle with old method : 0.006940126419067383 length of segment : 118 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 3439 time to create 1 rle with old method : 0.0038557052612304688 length of segment : 61 time for calcul the mask position with numpy : 0.00021648406982421875 nb_pixel_total : 7064 time to create 1 rle with old method : 0.007736682891845703 length of segment : 96 time spent for convertir_results : 1.8737409114837646 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 39 chid ids of type : 3594 Number RLEs to save : 6078 save missing photos in datou_result : time spend for datou_step_exec : 23.85000967979431 time spend to save output : 4.4603471755981445 total time spend for step 1 : 28.310356855392456 step2:crop_condition Fri Aug 29 08:50:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 39 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 ! 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 : 29 About to insert : list_path_to_insert length 29 new photo from crops ! About to upload 29 photos upload in portfolio : 3736932 init cache_photo without model_param we have 29 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756450260_2245418 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 29 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.517252206802368 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 ! 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/1756450267_2245418 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.6031122207641602 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756450268_2245418 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2756052017211914 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756450272_2245418 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9582746028900146 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 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] Looping around the photos to save general results len do output : 39 /1380056105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380056147Didn'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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 127 time used for this insertion : 0.5513832569122314 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.607123136520386 time spend to save output : 0.5530540943145752 total time spend for step 2 : 16.16017723083496 step3:rle_unique_nms_with_priority Fri Aug 29 08:51:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.572601318359375 time for calcul the mask position with numpy : 0.2508127689361572 nb_pixel_total : 2065530 time to create 1 rle with new method : 0.29261112213134766 time for calcul the mask position with numpy : 0.00578761100769043 nb_pixel_total : 2493 time to create 1 rle with old method : 0.0025565624237060547 time for calcul the mask position with numpy : 0.005631685256958008 nb_pixel_total : 5577 time to create 1 rle with old method : 0.005746364593505859 create new chi : 0.5729830265045166 time to delete rle : 0.025795459747314453 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1544 TO DO : save crop sub photo not yet done ! save time : 2.509188652038574 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.24872851371765137 time for calcul the mask position with numpy : 0.1629958152770996 nb_pixel_total : 2042579 time to create 1 rle with new method : 0.06958174705505371 time for calcul the mask position with numpy : 0.006062984466552734 nb_pixel_total : 14706 time to create 1 rle with old method : 0.015263080596923828 time for calcul the mask position with numpy : 0.006015300750732422 nb_pixel_total : 8287 time to create 1 rle with old method : 0.009012222290039062 time for calcul the mask position with numpy : 0.006238698959350586 nb_pixel_total : 8028 time to create 1 rle with old method : 0.008625268936157227 create new chi : 0.2934432029724121 time to delete rle : 0.0003006458282470703 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1912 TO DO : save crop sub photo not yet done ! save time : 2.353457450866699 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.3309965133666992 time for calcul the mask position with numpy : 0.05523109436035156 nb_pixel_total : 1904059 time to create 1 rle with new method : 0.7503585815429688 time for calcul the mask position with numpy : 0.012228965759277344 nb_pixel_total : 2404 time to create 1 rle with old method : 0.003101348876953125 time for calcul the mask position with numpy : 0.011563301086425781 nb_pixel_total : 3918 time to create 1 rle with old method : 0.004596233367919922 time for calcul the mask position with numpy : 0.011314153671264648 nb_pixel_total : 4243 time to create 1 rle with old method : 0.004787445068359375 time for calcul the mask position with numpy : 0.0068094730377197266 nb_pixel_total : 3895 time to create 1 rle with old method : 0.004399776458740234 time for calcul the mask position with numpy : 0.007669925689697266 nb_pixel_total : 121397 time to create 1 rle with old method : 0.13574457168579102 time for calcul the mask position with numpy : 0.007436513900756836 nb_pixel_total : 29653 time to create 1 rle with old method : 0.034656524658203125 time for calcul the mask position with numpy : 0.006856203079223633 nb_pixel_total : 4031 time to create 1 rle with old method : 0.004615306854248047 create new chi : 1.0725741386413574 time to delete rle : 0.0004973411560058594 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 3266 TO DO : save crop sub photo not yet done ! save time : 4.910543441772461 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06477761268615723 time for calcul the mask position with numpy : 0.02761697769165039 nb_pixel_total : 1962997 time to create 1 rle with new method : 0.2095644474029541 time for calcul the mask position with numpy : 0.006386280059814453 nb_pixel_total : 98384 time to create 1 rle with old method : 0.1086571216583252 time for calcul the mask position with numpy : 0.0060901641845703125 nb_pixel_total : 12219 time to create 1 rle with old method : 0.02114415168762207 create new chi : 0.3798666000366211 time to delete rle : 0.0005593299865722656 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2400 TO DO : save crop sub photo not yet done ! save time : 5.886660099029541 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 1.0043563842773438 time for calcul the mask position with numpy : 0.10718631744384766 nb_pixel_total : 1880466 time to create 1 rle with new method : 0.08918952941894531 time for calcul the mask position with numpy : 0.006584882736206055 nb_pixel_total : 8101 time to create 1 rle with old method : 0.009206771850585938 time for calcul the mask position with numpy : 0.006479024887084961 nb_pixel_total : 5479 time to create 1 rle with old method : 0.006105661392211914 time for calcul the mask position with numpy : 0.006264686584472656 nb_pixel_total : 3895 time to create 1 rle with old method : 0.0043790340423583984 time for calcul the mask position with numpy : 0.0060138702392578125 nb_pixel_total : 7050 time to create 1 rle with old method : 0.007709026336669922 time for calcul the mask position with numpy : 0.006173133850097656 nb_pixel_total : 22279 time to create 1 rle with old method : 0.0236361026763916 time for calcul the mask position with numpy : 0.006242990493774414 nb_pixel_total : 3021 time to create 1 rle with old method : 0.0033118724822998047 time for calcul the mask position with numpy : 0.006650209426879883 nb_pixel_total : 107504 time to create 1 rle with old method : 0.11601519584655762 time for calcul the mask position with numpy : 0.006737232208251953 nb_pixel_total : 3641 time to create 1 rle with old method : 0.0040967464447021484 time for calcul the mask position with numpy : 0.006392478942871094 nb_pixel_total : 8109 time to create 1 rle with old method : 0.008852243423461914 time for calcul the mask position with numpy : 0.0069577693939208984 nb_pixel_total : 18703 time to create 1 rle with old method : 0.020495891571044922 time for calcul the mask position with numpy : 0.00628352165222168 nb_pixel_total : 5352 time to create 1 rle with old method : 0.006083965301513672 create new chi : 0.4885106086730957 time to delete rle : 0.0005445480346679688 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++Number RLEs to save : 4384 TO DO : save crop sub photo not yet done ! save time : 4.6515443325042725 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.08307766914367676 time for calcul the mask position with numpy : 0.017880678176879883 nb_pixel_total : 1937883 time to create 1 rle with new method : 0.047377824783325195 time for calcul the mask position with numpy : 0.005979299545288086 nb_pixel_total : 4736 time to create 1 rle with old method : 0.005005359649658203 time for calcul the mask position with numpy : 0.005789995193481445 nb_pixel_total : 5476 time to create 1 rle with old method : 0.005939960479736328 time for calcul the mask position with numpy : 0.005716800689697266 nb_pixel_total : 4348 time to create 1 rle with old method : 0.004742145538330078 time for calcul the mask position with numpy : 0.0063931941986083984 nb_pixel_total : 104188 time to create 1 rle with old method : 0.11149454116821289 time for calcul the mask position with numpy : 0.006005287170410156 nb_pixel_total : 2985 time to create 1 rle with old method : 0.0032393932342529297 time for calcul the mask position with numpy : 0.005835056304931641 nb_pixel_total : 5682 time to create 1 rle with old method : 0.005933046340942383 time for calcul the mask position with numpy : 0.0056498050689697266 nb_pixel_total : 8302 time to create 1 rle with old method : 0.00917959213256836 create new chi : 0.2526862621307373 time to delete rle : 0.0004107952117919922 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 3134 TO DO : save crop sub photo not yet done ! save time : 2.6647047996520996 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06356024742126465 time for calcul the mask position with numpy : 0.022677898406982422 nb_pixel_total : 2015013 time to create 1 rle with new method : 0.034412384033203125 time for calcul the mask position with numpy : 0.006629467010498047 nb_pixel_total : 28009 time to create 1 rle with old method : 0.03369760513305664 time for calcul the mask position with numpy : 0.006568431854248047 nb_pixel_total : 10534 time to create 1 rle with old method : 0.01162862777709961 time for calcul the mask position with numpy : 0.006273031234741211 nb_pixel_total : 20044 time to create 1 rle with old method : 0.021732568740844727 create new chi : 0.1441025733947754 time to delete rle : 0.00034046173095703125 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2224 TO DO : save crop sub photo not yet done ! save time : 1.883986473083496 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0776827335357666 time for calcul the mask position with numpy : 0.20339274406433105 nb_pixel_total : 2069730 time to create 1 rle with new method : 0.24596738815307617 time for calcul the mask position with numpy : 0.006889820098876953 nb_pixel_total : 3870 time to create 1 rle with old method : 0.006471872329711914 create new chi : 0.4744746685028076 time to delete rle : 0.0003483295440673828 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1302 TO DO : save crop sub photo not yet done ! save time : 1.7860662937164307 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.16384601593017578 time for calcul the mask position with numpy : 0.0613100528717041 nb_pixel_total : 2063829 time to create 1 rle with new method : 0.20155954360961914 time for calcul the mask position with numpy : 0.006214618682861328 nb_pixel_total : 3439 time to create 1 rle with old method : 0.0037093162536621094 time for calcul the mask position with numpy : 0.006491899490356445 nb_pixel_total : 6332 time to create 1 rle with old method : 0.006841897964477539 create new chi : 0.29642605781555176 time to delete rle : 0.00024366378784179688 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1438 TO DO : save crop sub photo not yet done ! save time : 1.3360605239868164 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03752613067626953 time for calcul the mask position with numpy : 0.04094195365905762 nb_pixel_total : 2066536 time to create 1 rle with new method : 0.24160003662109375 time for calcul the mask position with numpy : 0.0060994625091552734 nb_pixel_total : 7064 time to create 1 rle with old method : 0.007822513580322266 create new chi : 0.3047056198120117 time to delete rle : 0.00026679039001464844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1272 TO DO : save crop sub photo not yet done ! save time : 0.7715961933135986 map_output_result : {1380046805: (0.0, 'Should be the crop_list due to order', 0), 1380046779: (0.0, 'Should be the crop_list due to order', 0), 1380046754: (0.0, 'Should be the crop_list due to order', 0), 1380046724: (0.0, 'Should be the crop_list due to order', 0), 1380046709: (0.0, 'Should be the crop_list due to order', 0), 1380046707: (0.0, 'Should be the crop_list due to order', 0), 1380046670: (0.0, 'Should be the crop_list due to order', 0), 1380046659: (0.0, 'Should be the crop_list due to order', 0), 1380046658: (0.0, 'Should be the crop_list due to order', 0), 1380046656: (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 [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] Looping around the photos to save general results len do output : 10 /1380046805.Didn't retrieve data . /1380046779.Didn't retrieve data . /1380046754.Didn't retrieve data . /1380046724.Didn't retrieve data . /1380046709.Didn't retrieve data . /1380046707.Didn't retrieve data . /1380046670.Didn't retrieve data . /1380046659.Didn't retrieve data . /1380046658.Didn't retrieve data . /1380046656.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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015815019607543945 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.12157487869263 time spend to save output : 0.01624274253845215 total time spend for step 3 : 36.13781762123108 step4:ventilate_hashtags_in_portfolio Fri Aug 29 08:51:50 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 : 26319809 get user id for portfolio 26319809 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`=26319809 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','autre','papier','carton','pet_fonce','pehd','flou','metal','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26319809 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','autre','papier','carton','pet_fonce','pehd','flou','metal','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26319809 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','autre','papier','carton','pet_fonce','pehd','flou','metal','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26320120,26320121,26320122,26320123,26320124,26320125,26320126,26320127,26320128,26320129,26320130?tags=pet_clair,autre,papier,carton,pet_fonce,pehd,flou,metal,mal_croppe,background,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] Looping around the photos to save general results len do output : 1 /26319809. 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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.07996249198913574 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8414695262908936 time spend to save output : 0.08022809028625488 total time spend for step 4 : 1.9216976165771484 step5:final Fri Aug 29 08:51:52 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 : {1380046805: ('0.03507802854938272',), 1380046779: ('0.03507802854938272',), 1380046754: ('0.03507802854938272',), 1380046724: ('0.03507802854938272',), 1380046709: ('0.03507802854938272',), 1380046707: ('0.03507802854938272',), 1380046670: ('0.03507802854938272',), 1380046659: ('0.03507802854938272',), 1380046658: ('0.03507802854938272',), 1380046656: ('0.03507802854938272',)} new output for save of step final : {1380046805: ('0.03507802854938272',), 1380046779: ('0.03507802854938272',), 1380046754: ('0.03507802854938272',), 1380046724: ('0.03507802854938272',), 1380046709: ('0.03507802854938272',), 1380046707: ('0.03507802854938272',), 1380046670: ('0.03507802854938272',), 1380046659: ('0.03507802854938272',), 1380046658: ('0.03507802854938272',), 1380046656: ('0.03507802854938272',)} [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] Looping around the photos to save general results len do output : 10 /1380046805.Didn't retrieve data . /1380046779.Didn't retrieve data . /1380046754.Didn't retrieve data . /1380046724.Didn't retrieve data . /1380046709.Didn't retrieve data . /1380046707.Didn't retrieve data . /1380046670.Didn't retrieve data . /1380046659.Didn't retrieve data . /1380046658.Didn't retrieve data . /1380046656.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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01792144775390625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12304568290710449 time spend to save output : 0.01842021942138672 total time spend for step 5 : 0.1414659023284912 step6:blur_detection Fri Aug 29 08:51:52 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/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa.jpg resize: (1080, 1920) 1380046805 1.3988934096203285 treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2.jpg resize: (1080, 1920) 1380046779 0.6004658660713181 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067.jpg resize: (1080, 1920) 1380046754 -4.063662390494041 treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2.jpg resize: (1080, 1920) 1380046724 0.9269073661358064 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986.jpg resize: (1080, 1920) 1380046709 -1.5179995750757604 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726.jpg resize: (1080, 1920) 1380046707 -0.1616358755455151 treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc.jpg resize: (1080, 1920) 1380046670 0.4640294129319089 treat image : temp/1756450228_2245418_1380046659_3e48f4463cf17c71765c9a5a265e5731.jpg resize: (1080, 1920) 1380046659 -0.3040615096759902 treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78.jpg resize: (1080, 1920) 1380046658 1.232572985822202 treat image : temp/1756450228_2245418_1380046656_cfa57b3e03f7cf645f3b5cc73efcdc30.jpg resize: (1080, 1920) 1380046656 0.46118137445431195 treat image : temp/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa_rle_crop_3935125319_0.png resize: (91, 71) 1380056105 -2.4091868697851013 treat image : temp/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa_rle_crop_3935125318_0.png resize: (140, 87) 1380056106 -0.40401937437061014 treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125320_0.png resize: (94, 113) 1380056107 0.9405200190230889 treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125322_0.png resize: (175, 115) 1380056108 -0.569951164572723 treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125321_0.png resize: (141, 99) 1380056109 -0.615927795654036 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125329_0.png resize: (120, 63) 1380056110 -2.7800738444046624 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125328_0.png resize: (79, 66) 1380056111 -1.2903572257925457 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125323_0.png resize: (94, 109) 1380056112 -2.2197901752937037 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125324_0.png resize: (116, 386) 1380056113 -4.210961049481123 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125326_0.png resize: (65, 80) 1380056114 -2.1525245842603624 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125327_0.png resize: (67, 103) 1380056115 -3.849766816432166 treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2_rle_crop_3935125330_0.png resize: (152, 87) 1380056116 7.126644289021398 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125333_0.png resize: (132, 262) 1380056117 -2.7334889347044005 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125337_0.png resize: (55, 67) 1380056118 0.09260868919982033 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125341_0.png resize: (117, 88) 1380056119 -2.3382392170404622 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125334_0.png resize: (125, 96) 1380056120 -1.1079015138992603 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125332_0.png resize: (82, 107) 1380056121 -1.0387749676482938 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125339_0.png resize: (141, 145) 1380056122 -3.0827581618884534 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125342_0.png resize: (112, 158) 1380056123 -2.8047847234798735 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125349_0.png resize: (70, 84) 1380056124 -2.0238356622930738 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125347_0.png resize: (94, 60) 1380056125 -1.4531709241538544 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125343_0.png resize: (127, 95) 1380056126 -1.197436831202024 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125344_0.png resize: (91, 106) 1380056127 -2.60582441805648 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125348_0.png resize: (86, 87) 1380056128 -0.5369659540355473 treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125351_0.png resize: (182, 115) 1380056129 -1.457305097605319 treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125350_0.png resize: (202, 159) 1380056130 -1.103149137278166 treat image : temp/1756450228_2245418_1380046659_3e48f4463cf17c71765c9a5a265e5731_rle_crop_3935125353_0.png resize: (110, 76) 1380056131 -1.4655497552564416 treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78_rle_crop_3935125354_0.png resize: (117, 84) 1380056132 -1.0372379548289001 treat image : temp/1756450228_2245418_1380046656_cfa57b3e03f7cf645f3b5cc73efcdc30_rle_crop_3935125356_0.png resize: (96, 102) 1380056133 -0.39248498027573187 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125340_0.png resize: (55, 106) 1380056136 -0.8047220109566285 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125335_0.png resize: (74, 65) 1380056137 -3.440050339680937 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125345_0.png resize: (52, 84) 1380056138 -3.502402012387389 treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125325_0.png resize: (532, 334) 1380056141 0.11058953153011673 treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2_rle_crop_3935125331_0.png resize: (499, 343) 1380056142 -0.12662788230854388 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125338_0.png resize: (224, 138) 1380056143 -2.450942965918121 treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125336_0.png resize: (510, 333) 1380056144 0.4226535467205868 treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125346_0.png resize: (502, 357) 1380056145 -0.23194783927470172 treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125352_0.png resize: (169, 254) 1380056146 -1.399688471823536 treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78_rle_crop_3935125355_0.png resize: (60, 68) 1380056147 -0.895667449585714 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 : 49 time used for this insertion : 0.016668081283569336 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.25066256523132324 save missing photos in datou_result : time spend for datou_step_exec : 8.010231018066406 time spend to save output : 0.2721095085144043 total time spend for step 6 : 8.28234052658081 step7:brightness Fri Aug 29 08:52:00 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/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa.jpg treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2.jpg treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067.jpg treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2.jpg treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986.jpg treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726.jpg treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc.jpg treat image : temp/1756450228_2245418_1380046659_3e48f4463cf17c71765c9a5a265e5731.jpg treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78.jpg treat image : temp/1756450228_2245418_1380046656_cfa57b3e03f7cf645f3b5cc73efcdc30.jpg treat image : temp/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa_rle_crop_3935125319_0.png treat image : temp/1756450228_2245418_1380046805_fcedca8278bfe73b60ae59dbf15e55fa_rle_crop_3935125318_0.png treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125320_0.png treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125322_0.png treat image : temp/1756450228_2245418_1380046779_5f898cc4cafa41de39c5788d9d4c35b2_rle_crop_3935125321_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125329_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125328_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125323_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125324_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125326_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125327_0.png treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2_rle_crop_3935125330_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125333_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125337_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125341_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125334_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125332_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125339_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125342_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125349_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125347_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125343_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125344_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125348_0.png treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125351_0.png treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125350_0.png treat image : temp/1756450228_2245418_1380046659_3e48f4463cf17c71765c9a5a265e5731_rle_crop_3935125353_0.png treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78_rle_crop_3935125354_0.png treat image : temp/1756450228_2245418_1380046656_cfa57b3e03f7cf645f3b5cc73efcdc30_rle_crop_3935125356_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125340_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125335_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125345_0.png treat image : temp/1756450228_2245418_1380046754_0c7f02ee57e0130ba41718608c1af067_rle_crop_3935125325_0.png treat image : temp/1756450228_2245418_1380046724_91289430f2a801f7db9d7d89276c9fe2_rle_crop_3935125331_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125338_0.png treat image : temp/1756450228_2245418_1380046709_b02129b8bf6678b9482d271d9baf9986_rle_crop_3935125336_0.png treat image : temp/1756450228_2245418_1380046707_b9992448bf0dfdf2c17f83d9e233f726_rle_crop_3935125346_0.png treat image : temp/1756450228_2245418_1380046670_c476115dc057006d7215b7adace487cc_rle_crop_3935125352_0.png treat image : temp/1756450228_2245418_1380046658_7c1cef60a367242d077066a1cbf08a78_rle_crop_3935125355_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 : 49 time used for this insertion : 0.01641392707824707 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.2459108829498291 save missing photos in datou_result : time spend for datou_step_exec : 2.485956907272339 time spend to save output : 0.2673666477203369 total time spend for step 7 : 2.753323554992676 step8:velours_tree Fri Aug 29 08:52:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.12824249267578125 time spend to save output : 4.57763671875e-05 total time spend for step 8 : 0.12828826904296875 step9:send_mail_cod Fri Aug 29 08:52:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26319809_29-08-2025_08_52_03.pdf 26320120 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 .imagette263201201756450323 26320121 imagette263201211756450324 26320122 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 .imagette263201221756450324 26320123 change filename to text .imagette263201231756450325 26320124 imagette263201241756450325 26320125 imagette263201251756450325 26320126 imagette263201261756450325 26320127 change filename to text .change filename to text .imagette263201271756450325 26320128 imagette263201281756450325 26320129 imagette263201291756450325 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26319809 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26320120,26320121,26320122,26320123,26320124,26320125,26320126,26320127,26320128,26320129,26320130?tags=pet_clair,autre,papier,carton,pet_fonce,pehd,flou,metal,mal_croppe,background,environnement args[1380046805] : ((1380046805, 1.3988934096203285, 492688767), (1380046805, 0.9303282310061993, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046779] : ((1380046779, 0.6004658660713181, 492688767), (1380046779, 1.0115641819749714, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046754] : ((1380046754, -4.063662390494041, 492609224), (1380046754, 0.584107692963871, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046724] : ((1380046724, 0.9269073661358064, 492688767), (1380046724, 0.6477416480010192, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046709] : ((1380046709, -1.5179995750757604, 492688767), (1380046709, 0.5119070588650655, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046707] : ((1380046707, -0.1616358755455151, 492688767), (1380046707, 0.25984915844907874, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046670] : ((1380046670, 0.4640294129319089, 492688767), (1380046670, 0.4779951099320561, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046659] : ((1380046659, -0.3040615096759902, 492688767), (1380046659, 0.8551553936790237, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046658] : ((1380046658, 1.232572985822202, 492688767), (1380046658, 0.6402295861453905, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com args[1380046656] : ((1380046656, 0.46118137445431195, 492688767), (1380046656, 0.6500539483369477, 2107752395), '0.03507802854938272') We are sending mail with results at report@fotonower.com refus_total : 0.03507802854938272 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26319809 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_P26319809_29-08-2025_08_52_03.pdf results_Auto_P26319809_29-08-2025_08_52_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.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','26319809','results_Auto_P26319809_29-08-2025_08_52_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf','pdf','','0.18','0.03507802854938272') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26319809

https://www.fotonower.com/image?json=false&list_photos_id=1380046805
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3988934096203285)
https://www.fotonower.com/image?json=false&list_photos_id=1380046779
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046754
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046724
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046709
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046707
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046670
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046659
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380046658
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.232572985822202)
https://www.fotonower.com/image?json=false&list_photos_id=1380046656
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26320120?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26320122?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26320123?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26320127?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf.

Lien vers velours :https://www.fotonower.com/velours/26320120,26320121,26320122,26320123,26320124,26320125,26320126,26320127,26320128,26320129,26320130?tags=pet_clair,autre,papier,carton,pet_fonce,pehd,flou,metal,mal_croppe,background,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 29 Aug 2025 06:52:07 GMT Content-Length: 0 Connection: close X-Message-Id: mLuFOD5_Q9SdtsMSqQ_eXQ 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 [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] 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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.12054872512817383 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.984567642211914 time spend to save output : 0.12081551551818848 total time spend for step 9 : 4.1053831577301025 step10:split_time_score Fri Aug 29 08:52:07 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'}] (('07', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26319809 Nombre de photos uploadées : 10 / 23040 (0%) 29082025 26319809 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 29082025 26319809 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.000606536865234375 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20691752433776855 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.03507802854938272 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319809 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`=26319809 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380046805, 1380046779, 1380046754, 1380046724, 1380046709, 1380046707, 1380046670, 1380046659, 1380046658, 1380046656] Looping around the photos to save general results len do output : 1 /26319809Didn'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, '3634206') ('3318', '26319809', '1380046805', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046779', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046754', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046724', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046709', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046707', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046670', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046659', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046658', None, None, None, None, None, '3634206') ('3318', None, None, None, None, None, None, None, '3634206') ('3318', '26319809', '1380046656', None, None, None, None, None, '3634206') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.020247936248779297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.452434778213501 time spend to save output : 0.02050185203552246 total time spend for step 10 : 0.47293663024902344 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 33.42user 19.12system 1:43.15elapsed 50%CPU (0avgtext+0avgdata 2769908maxresident)k 501544inputs+11992outputs (12major+1420149minor)pagefaults 0swaps