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 : 2477612 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 : ['3449050'] with mtr_portfolio_ids : ['25683849'] and first list_photo_ids : [] new path : /proc/2477612/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.4934537410736084 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 Tue Aug 5 12:40: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 : 10512 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-05 12:40:32.563581: 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-05 12:40:32.591398: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-05 12:40:32.593253: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd6b8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-05 12:40:32.593301: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-05 12:40:32.596658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-05 12:40:32.747759: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x20f639f0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-05 12:40:32.747819: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-05 12:40:32.749019: 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-05 12:40:32.749617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 12:40:32.751987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 12:40:32.754696: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 12:40:32.755148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 12:40:32.759283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 12:40:32.761286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 12:40:32.768413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 12:40:32.770344: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 12:40:32.770450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 12:40:32.771407: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-05 12:40:32.771428: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-05 12:40:32.771438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-05 12:40:32.773505: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9739 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-05 12:40:33.067447: 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-05 12:40:33.067564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 12:40:33.067584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 12:40:33.067599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 12:40:33.067616: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 12:40:33.067632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 12:40:33.067646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 12:40:33.067660: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 12:40:33.068949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 12:40:33.070263: 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-05 12:40:33.070308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-05 12:40:33.070326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 12:40:33.070344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-05 12:40:33.070365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-05 12:40:33.070381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-05 12:40:33.070396: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-05 12:40:33.070413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-05 12:40:33.071670: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-05 12:40:33.071726: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-05 12:40:33.071740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-05 12:40:33.071752: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-05 12:40:33.073033: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9739 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-05 12:40:42.478643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-05 12:40:42.682114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 17 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 2478257 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 647 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5936 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.0002105236053466797 nb_pixel_total : 2098 time to create 1 rle with old method : 0.003330230712890625 length of segment : 48 time for calcul the mask position with numpy : 0.00031304359436035156 nb_pixel_total : 5623 time to create 1 rle with old method : 0.00748753547668457 length of segment : 131 time for calcul the mask position with numpy : 0.0005402565002441406 nb_pixel_total : 12187 time to create 1 rle with old method : 0.014254570007324219 length of segment : 117 time for calcul the mask position with numpy : 0.00038743019104003906 nb_pixel_total : 8322 time to create 1 rle with old method : 0.00986337661743164 length of segment : 96 time for calcul the mask position with numpy : 0.002946615219116211 nb_pixel_total : 97486 time to create 1 rle with old method : 0.11330389976501465 length of segment : 499 time for calcul the mask position with numpy : 0.00045561790466308594 nb_pixel_total : 8710 time to create 1 rle with old method : 0.010111808776855469 length of segment : 155 time for calcul the mask position with numpy : 0.0002987384796142578 nb_pixel_total : 5546 time to create 1 rle with old method : 0.006707906723022461 length of segment : 94 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 1811 time to create 1 rle with old method : 0.0021522045135498047 length of segment : 71 time for calcul the mask position with numpy : 0.00033020973205566406 nb_pixel_total : 9954 time to create 1 rle with old method : 0.012160301208496094 length of segment : 80 time for calcul the mask position with numpy : 0.0006341934204101562 nb_pixel_total : 14644 time to create 1 rle with old method : 0.017132282257080078 length of segment : 185 time for calcul the mask position with numpy : 0.0002512931823730469 nb_pixel_total : 4059 time to create 1 rle with old method : 0.004948139190673828 length of segment : 93 time for calcul the mask position with numpy : 0.0005505084991455078 nb_pixel_total : 17230 time to create 1 rle with old method : 0.023452043533325195 length of segment : 164 time for calcul the mask position with numpy : 0.0029730796813964844 nb_pixel_total : 113708 time to create 1 rle with old method : 0.12944602966308594 length of segment : 544 time for calcul the mask position with numpy : 0.00046753883361816406 nb_pixel_total : 10117 time to create 1 rle with old method : 0.011912107467651367 length of segment : 159 time for calcul the mask position with numpy : 0.00016188621520996094 nb_pixel_total : 2762 time to create 1 rle with old method : 0.0033800601959228516 length of segment : 67 time for calcul the mask position with numpy : 0.0004780292510986328 nb_pixel_total : 18566 time to create 1 rle with old method : 0.021563053131103516 length of segment : 169 time for calcul the mask position with numpy : 0.00040411949157714844 nb_pixel_total : 10032 time to create 1 rle with old method : 0.011729955673217773 length of segment : 112 time for calcul the mask position with numpy : 0.0009789466857910156 nb_pixel_total : 55057 time to create 1 rle with old method : 0.06251358985900879 length of segment : 326 time for calcul the mask position with numpy : 0.00042366981506347656 nb_pixel_total : 13180 time to create 1 rle with old method : 0.015386581420898438 length of segment : 140 time for calcul the mask position with numpy : 0.0002455711364746094 nb_pixel_total : 11716 time to create 1 rle with old method : 0.013965606689453125 length of segment : 126 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 7461 time to create 1 rle with old method : 0.00902104377746582 length of segment : 73 time for calcul the mask position with numpy : 0.0004782676696777344 nb_pixel_total : 23085 time to create 1 rle with old method : 0.02663254737854004 length of segment : 246 time for calcul the mask position with numpy : 0.0001735687255859375 nb_pixel_total : 5878 time to create 1 rle with old method : 0.0073049068450927734 length of segment : 45 time for calcul the mask position with numpy : 0.00017881393432617188 nb_pixel_total : 5725 time to create 1 rle with old method : 0.0067501068115234375 length of segment : 107 time for calcul the mask position with numpy : 0.0017244815826416016 nb_pixel_total : 103427 time to create 1 rle with old method : 0.1178290843963623 length of segment : 536 time for calcul the mask position with numpy : 0.00011658668518066406 nb_pixel_total : 2641 time to create 1 rle with old method : 0.0031266212463378906 length of segment : 64 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 10758 time to create 1 rle with old method : 0.012402772903442383 length of segment : 87 time for calcul the mask position with numpy : 0.0002384185791015625 nb_pixel_total : 13774 time to create 1 rle with old method : 0.01573634147644043 length of segment : 138 time for calcul the mask position with numpy : 0.0002853870391845703 nb_pixel_total : 12910 time to create 1 rle with old method : 0.01539301872253418 length of segment : 137 time for calcul the mask position with numpy : 0.00012159347534179688 nb_pixel_total : 3117 time to create 1 rle with old method : 0.0037763118743896484 length of segment : 71 time for calcul the mask position with numpy : 0.0059108734130859375 nb_pixel_total : 368227 time to create 1 rle with new method : 0.014554262161254883 length of segment : 638 time for calcul the mask position with numpy : 0.0003991127014160156 nb_pixel_total : 17988 time to create 1 rle with old method : 0.021124601364135742 length of segment : 252 time for calcul the mask position with numpy : 0.00043129920959472656 nb_pixel_total : 23380 time to create 1 rle with old method : 0.02746415138244629 length of segment : 176 time for calcul the mask position with numpy : 0.00011467933654785156 nb_pixel_total : 3226 time to create 1 rle with old method : 0.0038030147552490234 length of segment : 100 time for calcul the mask position with numpy : 0.00017118453979492188 nb_pixel_total : 10398 time to create 1 rle with old method : 0.012178659439086914 length of segment : 127 time for calcul the mask position with numpy : 0.0017490386962890625 nb_pixel_total : 99406 time to create 1 rle with old method : 0.11552286148071289 length of segment : 568 time for calcul the mask position with numpy : 0.00019884109497070312 nb_pixel_total : 10660 time to create 1 rle with old method : 0.012466192245483398 length of segment : 111 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 19521 time to create 1 rle with old method : 0.022117137908935547 length of segment : 262 time for calcul the mask position with numpy : 0.0006694793701171875 nb_pixel_total : 39730 time to create 1 rle with old method : 0.04574847221374512 length of segment : 302 time for calcul the mask position with numpy : 0.00020933151245117188 nb_pixel_total : 9102 time to create 1 rle with old method : 0.010714292526245117 length of segment : 154 time for calcul the mask position with numpy : 7.82012939453125e-05 nb_pixel_total : 1719 time to create 1 rle with old method : 0.0023136138916015625 length of segment : 55 time spent for convertir_results : 2.834308385848999 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 7625 save missing photos in datou_result : time spend for datou_step_exec : 31.0785129070282 time spend to save output : 1.140230655670166 total time spend for step 1 : 32.218743562698364 step2:crop_condition Tue Aug 5 12:41:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754390463_2477612 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.368862867355347 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754390469_2477612 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 : 0.8267018795013428 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/1754390470_2477612 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.0536775588989258 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754390475_2477612 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 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.928722620010376 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754390481_2477612 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0349931716918945 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1754390482_2477612 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 : 2.4422545433044434 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] Looping around the photos to save general results len do output : 41 /1375292231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375292274Didn'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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 time used for this insertion : 0.03394746780395508 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.552478075027466 time spend to save output : 0.03530168533325195 total time spend for step 2 : 22.587779760360718 step3:rle_unique_nms_with_priority Tue Aug 5 12:41:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.33275389671325684 time for calcul the mask position with numpy : 0.10753130912780762 nb_pixel_total : 2071502 time to create 1 rle with new method : 0.6963825225830078 time for calcul the mask position with numpy : 0.007697343826293945 nb_pixel_total : 2098 time to create 1 rle with old method : 0.002398967742919922 create new chi : 0.8252699375152588 time to delete rle : 0.01797628402709961 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1176 TO DO : save crop sub photo not yet done ! save time : 0.17623353004455566 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 1.857867956161499 time for calcul the mask position with numpy : 0.12337160110473633 nb_pixel_total : 1925488 time to create 1 rle with new method : 0.2608606815338135 time for calcul the mask position with numpy : 0.006951332092285156 nb_pixel_total : 9954 time to create 1 rle with old method : 0.01126551628112793 time for calcul the mask position with numpy : 0.006241321563720703 nb_pixel_total : 284 time to create 1 rle with old method : 0.0003814697265625 time for calcul the mask position with numpy : 0.006425619125366211 nb_pixel_total : 5546 time to create 1 rle with old method : 0.006288766860961914 time for calcul the mask position with numpy : 0.0065572261810302734 nb_pixel_total : 8710 time to create 1 rle with old method : 0.010041475296020508 time for calcul the mask position with numpy : 0.009309530258178711 nb_pixel_total : 97486 time to create 1 rle with old method : 0.11692452430725098 time for calcul the mask position with numpy : 0.006688833236694336 nb_pixel_total : 8322 time to create 1 rle with old method : 0.009252786636352539 time for calcul the mask position with numpy : 0.006479501724243164 nb_pixel_total : 12187 time to create 1 rle with old method : 0.014341592788696289 time for calcul the mask position with numpy : 0.0065653324127197266 nb_pixel_total : 5623 time to create 1 rle with old method : 0.007964611053466797 create new chi : 0.6286542415618896 time to delete rle : 0.0005159378051757812 batch 1 Loaded 17 chid ids of type : 3594 +++++++++Number RLEs to save : 3457 TO DO : save crop sub photo not yet done ! save time : 0.2732694149017334 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08074378967285156 time for calcul the mask position with numpy : 0.02277517318725586 nb_pixel_total : 1923959 time to create 1 rle with new method : 0.0334932804107666 time for calcul the mask position with numpy : 0.0077724456787109375 nb_pixel_total : 113708 time to create 1 rle with old method : 0.1245572566986084 time for calcul the mask position with numpy : 0.006205320358276367 nb_pixel_total : 17230 time to create 1 rle with old method : 0.019184589385986328 time for calcul the mask position with numpy : 0.006140232086181641 nb_pixel_total : 4059 time to create 1 rle with old method : 0.004447221755981445 time for calcul the mask position with numpy : 0.006386756896972656 nb_pixel_total : 14644 time to create 1 rle with old method : 0.015682697296142578 create new chi : 0.2471785545349121 time to delete rle : 0.00041747093200683594 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 3052 TO DO : save crop sub photo not yet done ! save time : 0.2231743335723877 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.058524370193481445 time for calcul the mask position with numpy : 0.021538257598876953 nb_pixel_total : 2042155 time to create 1 rle with new method : 0.030026912689208984 time for calcul the mask position with numpy : 0.007080078125 nb_pixel_total : 18566 time to create 1 rle with old method : 0.020339250564575195 time for calcul the mask position with numpy : 0.006089210510253906 nb_pixel_total : 2762 time to create 1 rle with old method : 0.0029985904693603516 time for calcul the mask position with numpy : 0.006052494049072266 nb_pixel_total : 10117 time to create 1 rle with old method : 0.011111259460449219 create new chi : 0.1056070327758789 time to delete rle : 0.00043964385986328125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1870 TO DO : save crop sub photo not yet done ! save time : 0.16292428970336914 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05455279350280762 time for calcul the mask position with numpy : 0.02411818504333496 nb_pixel_total : 2008511 time to create 1 rle with new method : 0.03413581848144531 time for calcul the mask position with numpy : 0.00738978385925293 nb_pixel_total : 55057 time to create 1 rle with old method : 0.06570863723754883 time for calcul the mask position with numpy : 0.0075299739837646484 nb_pixel_total : 10032 time to create 1 rle with old method : 0.011818408966064453 create new chi : 0.15114593505859375 time to delete rle : 0.00046539306640625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1956 TO DO : save crop sub photo not yet done ! save time : 0.2321300506591797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.19263935089111328 time for calcul the mask position with numpy : 0.2841527462005615 nb_pixel_total : 2060420 time to create 1 rle with new method : 0.1285550594329834 time for calcul the mask position with numpy : 0.008199453353881836 nb_pixel_total : 13180 time to create 1 rle with old method : 0.018206357955932617 create new chi : 0.4554731845855713 time to delete rle : 0.0002684593200683594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1360 TO DO : save crop sub photo not yet done ! save time : 0.17893385887145996 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 1.113800048828125 time for calcul the mask position with numpy : 0.10059380531311035 nb_pixel_total : 1902966 time to create 1 rle with new method : 0.49085450172424316 time for calcul the mask position with numpy : 0.006470918655395508 nb_pixel_total : 10701 time to create 1 rle with old method : 0.011846065521240234 time for calcul the mask position with numpy : 0.006098270416259766 nb_pixel_total : 2641 time to create 1 rle with old method : 0.0029315948486328125 time for calcul the mask position with numpy : 0.006559848785400391 nb_pixel_total : 103427 time to create 1 rle with old method : 0.11251521110534668 time for calcul the mask position with numpy : 0.006121397018432617 nb_pixel_total : 5725 time to create 1 rle with old method : 0.0062944889068603516 time for calcul the mask position with numpy : 0.006501913070678711 nb_pixel_total : 5878 time to create 1 rle with old method : 0.006862163543701172 time for calcul the mask position with numpy : 0.006262302398681641 nb_pixel_total : 23085 time to create 1 rle with old method : 0.025137901306152344 time for calcul the mask position with numpy : 0.006814718246459961 nb_pixel_total : 7461 time to create 1 rle with old method : 0.007876396179199219 time for calcul the mask position with numpy : 0.0064525604248046875 nb_pixel_total : 11716 time to create 1 rle with old method : 0.012847900390625 create new chi : 0.8394947052001953 time to delete rle : 0.0005307197570800781 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 3637 TO DO : save crop sub photo not yet done ! save time : 0.34736013412475586 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.06909799575805664 time for calcul the mask position with numpy : 0.018110990524291992 nb_pixel_total : 1688168 time to create 1 rle with new method : 0.4510080814361572 time for calcul the mask position with numpy : 0.008385658264160156 nb_pixel_total : 368227 time to create 1 rle with new method : 0.028916597366333008 time for calcul the mask position with numpy : 0.006830930709838867 nb_pixel_total : 3117 time to create 1 rle with old method : 0.003458261489868164 time for calcul the mask position with numpy : 0.0072896480560302734 nb_pixel_total : 314 time to create 1 rle with old method : 0.0008487701416015625 time for calcul the mask position with numpy : 0.006400108337402344 nb_pixel_total : 13774 time to create 1 rle with old method : 0.01472163200378418 create new chi : 0.5464718341827393 time to delete rle : 0.0004596710205078125 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2904 TO DO : save crop sub photo not yet done ! save time : 0.3753852844238281 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.050539255142211914 time for calcul the mask position with numpy : 0.021698474884033203 nb_pixel_total : 2050190 time to create 1 rle with new method : 0.06023049354553223 time for calcul the mask position with numpy : 0.006272077560424805 nb_pixel_total : 5422 time to create 1 rle with old method : 0.006218671798706055 time for calcul the mask position with numpy : 0.00616908073425293 nb_pixel_total : 17988 time to create 1 rle with old method : 0.019794464111328125 create new chi : 0.12071514129638672 time to delete rle : 0.00031256675720214844 batch 1 Loaded 5 chid ids of type : 3594 ++++++Number RLEs to save : 1882 TO DO : save crop sub photo not yet done ! save time : 0.17008066177368164 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.47284841537475586 time for calcul the mask position with numpy : 0.1956346035003662 nb_pixel_total : 2059976 time to create 1 rle with new method : 0.33188915252685547 time for calcul the mask position with numpy : 0.006655693054199219 nb_pixel_total : 10398 time to create 1 rle with old method : 0.011853933334350586 time for calcul the mask position with numpy : 0.006949186325073242 nb_pixel_total : 3226 time to create 1 rle with old method : 0.0037162303924560547 create new chi : 0.5681157112121582 time to delete rle : 0.00028896331787109375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1534 TO DO : save crop sub photo not yet done ! save time : 0.7794251441955566 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.046781301498413086 time for calcul the mask position with numpy : 0.20694184303283691 nb_pixel_total : 1963534 time to create 1 rle with new method : 0.2649259567260742 time for calcul the mask position with numpy : 0.0068204402923583984 nb_pixel_total : 10660 time to create 1 rle with old method : 0.012096643447875977 time for calcul the mask position with numpy : 0.007099151611328125 nb_pixel_total : 99406 time to create 1 rle with old method : 0.10909819602966309 create new chi : 0.6191580295562744 time to delete rle : 0.0003643035888671875 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2438 TO DO : save crop sub photo not yet done ! save time : 0.18931078910827637 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.163787841796875 time for calcul the mask position with numpy : 0.09043693542480469 nb_pixel_total : 2003528 time to create 1 rle with new method : 0.17319774627685547 time for calcul the mask position with numpy : 0.006512880325317383 nb_pixel_total : 1719 time to create 1 rle with old method : 0.0020325183868408203 time for calcul the mask position with numpy : 0.006340503692626953 nb_pixel_total : 9102 time to create 1 rle with old method : 0.010271787643432617 time for calcul the mask position with numpy : 0.006266355514526367 nb_pixel_total : 39730 time to create 1 rle with old method : 0.0432438850402832 time for calcul the mask position with numpy : 0.006467580795288086 nb_pixel_total : 19521 time to create 1 rle with old method : 0.02114248275756836 create new chi : 0.3773972988128662 time to delete rle : 0.0004558563232421875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2626 TO DO : save crop sub photo not yet done ! save time : 0.42318153381347656 map_output_result : {1375264745: (0.0, 'Should be the crop_list due to order', 0), 1375264714: (0.0, 'Should be the crop_list due to order', 0), 1375264670: (0.0, 'Should be the crop_list due to order', 0), 1375264642: (0.0, 'Should be the crop_list due to order', 0), 1375264608: (0.0, 'Should be the crop_list due to order', 0), 1375264567: (0.0, 'Should be the crop_list due to order', 0), 1375264157: (0.0, 'Should be the crop_list due to order', 0), 1375264130: (0.0, 'Should be the crop_list due to order', 0), 1375264103: (0.0, 'Should be the crop_list due to order', 0), 1375264079: (0.0, 'Should be the crop_list due to order', 0), 1375264054: (0.0, 'Should be the crop_list due to order', 0), 1375264029: (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 [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] Looping around the photos to save general results len do output : 12 /1375264745.Didn't retrieve data . /1375264714.Didn't retrieve data . /1375264670.Didn't retrieve data . /1375264642.Didn't retrieve data . /1375264608.Didn't retrieve data . /1375264567.Didn't retrieve data . /1375264157.Didn't retrieve data . /1375264130.Didn't retrieve data . /1375264103.Didn't retrieve data . /1375264079.Didn't retrieve data . /1375264054.Didn't retrieve data . /1375264029.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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01652359962463379 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.982264041900635 time spend to save output : 0.01703619956970215 total time spend for step 3 : 13.999300241470337 step4:ventilate_hashtags_in_portfolio Tue Aug 5 12:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 25683849 get user id for portfolio 25683849 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`=25683849 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','environnement','pet_fonce','autre','flou','background','carton','metal','mal_croppe')) 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`=25683849 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','environnement','pet_fonce','autre','flou','background','carton','metal','mal_croppe')) 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`=25683849 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','environnement','pet_fonce','autre','flou','background','carton','metal','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25684057,25684058,25684059,25684060,25684061,25684062,25684063,25684064,25684065,25684066,25684067?tags=pehd,papier,pet_clair,environnement,pet_fonce,autre,flou,background,carton,metal,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] Looping around the photos to save general results len do output : 1 /25683849. 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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016460657119750977 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9753103256225586 time spend to save output : 0.016885757446289062 total time spend for step 4 : 1.9921960830688477 step5:final Tue Aug 5 12:41:40 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 : {1375264745: ('0.04753419978137861',), 1375264714: ('0.04753419978137861',), 1375264670: ('0.04753419978137861',), 1375264642: ('0.04753419978137861',), 1375264608: ('0.04753419978137861',), 1375264567: ('0.04753419978137861',), 1375264157: ('0.04753419978137861',), 1375264130: ('0.04753419978137861',), 1375264103: ('0.04753419978137861',), 1375264079: ('0.04753419978137861',), 1375264054: ('0.04753419978137861',), 1375264029: ('0.04753419978137861',)} new output for save of step final : {1375264745: ('0.04753419978137861',), 1375264714: ('0.04753419978137861',), 1375264670: ('0.04753419978137861',), 1375264642: ('0.04753419978137861',), 1375264608: ('0.04753419978137861',), 1375264567: ('0.04753419978137861',), 1375264157: ('0.04753419978137861',), 1375264130: ('0.04753419978137861',), 1375264103: ('0.04753419978137861',), 1375264079: ('0.04753419978137861',), 1375264054: ('0.04753419978137861',), 1375264029: ('0.04753419978137861',)} [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] Looping around the photos to save general results len do output : 12 /1375264745.Didn't retrieve data . /1375264714.Didn't retrieve data . /1375264670.Didn't retrieve data . /1375264642.Didn't retrieve data . /1375264608.Didn't retrieve data . /1375264567.Didn't retrieve data . /1375264157.Didn't retrieve data . /1375264130.Didn't retrieve data . /1375264103.Didn't retrieve data . /1375264079.Didn't retrieve data . /1375264054.Didn't retrieve data . /1375264029.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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.019575834274291992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12205958366394043 time spend to save output : 0.020418167114257812 total time spend for step 5 : 0.14247775077819824 step6:blur_detection Tue Aug 5 12:41:40 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/1754390428_2477612_1375264745_15ad0aeb95e956b7e880d8bd98b91bda.jpg resize: (1080, 1920) 1375264745 0.6596216149658931 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df.jpg resize: (1080, 1920) 1375264714 1.3699157112955032 treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576.jpg resize: (1080, 1920) 1375264670 1.003609020869438 treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7.jpg resize: (1080, 1920) 1375264642 1.5356358203737466 treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275.jpg resize: (1080, 1920) 1375264608 0.4382017548075219 treat image : temp/1754390428_2477612_1375264567_fd3d29742b63df5f3b97e8cc490b8657.jpg resize: (1080, 1920) 1375264567 2.1117614047594766 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6.jpg resize: (1080, 1920) 1375264157 3.038885947591267 treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6.jpg resize: (1080, 1920) 1375264130 1.8504157019621177 treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f.jpg resize: (1080, 1920) 1375264103 1.5621241897602758 treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5.jpg resize: (1080, 1920) 1375264079 1.850456687444751 treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782.jpg resize: (1080, 1920) 1375264054 0.6466142469390264 treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0.jpg resize: (1080, 1920) 1375264029 0.8330017825716366 treat image : temp/1754390428_2477612_1375264745_15ad0aeb95e956b7e880d8bd98b91bda_rle_crop_3903604087_0.png resize: (48, 53) 1375292231 4.008720455091971 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604090_0.png resize: (96, 140) 1375292232 -1.2587747420692779 treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604100_0.png resize: (146, 107) 1375292233 -1.491292259979614 treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604102_0.png resize: (154, 175) 1375292234 -1.3786857262283219 treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604101_0.png resize: (67, 59) 1375292235 -1.2711136530689398 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604106_0.png resize: (126, 141) 1375292236 1.6953429699612579 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604109_0.png resize: (45, 168) 1375292237 0.7905451116896987 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604110_0.png resize: (107, 112) 1375292238 -0.9171264223028841 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604112_0.png resize: (64, 62) 1375292239 -3.327566620292633 treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604116_0.png resize: (71, 70) 1375292240 -3.362644074710729 treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f_rle_crop_3903604118_0.png resize: (152, 223) 1375292241 -0.5108033069042908 treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5_rle_crop_3903604120_0.png resize: (100, 41) 1375292242 -1.6056707470528386 treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782_rle_crop_3903604123_0.png resize: (107, 133) 1375292243 0.7893283972502944 treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604126_0.png resize: (151, 83) 1375292244 -0.7660453743162391 treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604127_0.png resize: (51, 50) 1375292245 1.330113659410787 treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604124_0.png resize: (218, 151) 1375292246 -1.215531364115015 treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604097_0.png resize: (93, 64) 1375292247 -0.7337609512073867 treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5_rle_crop_3903604121_0.png resize: (127, 97) 1375292248 0.8906686306039071 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604093_0.png resize: (94, 78) 1375292250 -1.652034329601844 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604113_0.png resize: (87, 162) 1375292251 -1.6156877659038884 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604095_0.png resize: (79, 162) 1375292253 -0.2823402122563236 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604089_0.png resize: (111, 176) 1375292254 -1.3796017898119843 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604091_0.png resize: (475, 329) 1375292255 -0.453395629663251 treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604096_0.png resize: (184, 124) 1375292256 -1.6749852339379743 treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604098_0.png resize: (149, 182) 1375292257 -2.1667862938174935 treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604099_0.png resize: (527, 352) 1375292258 -0.5162034443753719 treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275_rle_crop_3903604103_0.png resize: (99, 137) 1375292259 -0.9293458128074236 treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275_rle_crop_3903604104_0.png resize: (325, 214) 1375292260 -0.1663214344082442 treat image : temp/1754390428_2477612_1375264567_fd3d29742b63df5f3b97e8cc490b8657_rle_crop_3903604105_0.png resize: (138, 136) 1375292261 0.7600832436859756 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604107_0.png resize: (72, 117) 1375292262 3.562840699732656 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604108_0.png resize: (166, 251) 1375292263 -1.734596536376113 treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604111_0.png resize: (523, 331) 1375292264 0.2566549112799455 treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604114_0.png resize: (131, 144) 1375292265 -3.0522186650397303 treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604117_0.png resize: (625, 733) 1375292266 -0.11757853774534077 treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f_rle_crop_3903604119_0.png resize: (159, 224) 1375292267 -0.12416196397571565 treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782_rle_crop_3903604122_0.png resize: (533, 326) 1375292268 -0.6566083931690565 treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604125_0.png resize: (302, 196) 1375292269 -0.4591857166842936 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604088_0.png resize: (131, 57) 1375292270 -1.3084269638412946 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604094_0.png resize: (73, 32) 1375292271 -0.07162698368071588 treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604115_0.png resize: (128, 148) 1375292272 -3.010500827232352 treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604092_0.png resize: (155, 78) 1375292274 0.13292539838003628 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 53 time used for this insertion : 0.016193866729736328 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 53 time used for this insertion : 0.6185789108276367 save missing photos in datou_result : time spend for datou_step_exec : 10.199501514434814 time spend to save output : 0.6393935680389404 total time spend for step 6 : 10.838895082473755 step7:brightness Tue Aug 5 12:41:51 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/1754390428_2477612_1375264745_15ad0aeb95e956b7e880d8bd98b91bda.jpg treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df.jpg treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576.jpg treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7.jpg treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275.jpg treat image : temp/1754390428_2477612_1375264567_fd3d29742b63df5f3b97e8cc490b8657.jpg treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6.jpg treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6.jpg treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f.jpg treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5.jpg treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782.jpg treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0.jpg treat image : temp/1754390428_2477612_1375264745_15ad0aeb95e956b7e880d8bd98b91bda_rle_crop_3903604087_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604090_0.png treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604100_0.png treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604102_0.png treat image : temp/1754390428_2477612_1375264642_01d4f00c2efccac25bbd9d684bdd1ff7_rle_crop_3903604101_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604106_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604109_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604110_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604112_0.png treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604116_0.png treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f_rle_crop_3903604118_0.png treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5_rle_crop_3903604120_0.png treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782_rle_crop_3903604123_0.png treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604126_0.png treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604127_0.png treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604124_0.png treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604097_0.png treat image : temp/1754390428_2477612_1375264079_6002c590a7bec8fe17428e4f7db4bff5_rle_crop_3903604121_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604093_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604113_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604095_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604089_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604091_0.png treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604096_0.png treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604098_0.png treat image : temp/1754390428_2477612_1375264670_05af882116333c349e329833ae018576_rle_crop_3903604099_0.png treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275_rle_crop_3903604103_0.png treat image : temp/1754390428_2477612_1375264608_bb76f9b2bd812a6bfbe602715e1cb275_rle_crop_3903604104_0.png treat image : temp/1754390428_2477612_1375264567_fd3d29742b63df5f3b97e8cc490b8657_rle_crop_3903604105_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604107_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604108_0.png treat image : temp/1754390428_2477612_1375264157_8072311694708fa67c102d75099c66c6_rle_crop_3903604111_0.png treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604114_0.png treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604117_0.png treat image : temp/1754390428_2477612_1375264103_d32138c92f112651dd1fa2fb9f3e513f_rle_crop_3903604119_0.png treat image : temp/1754390428_2477612_1375264054_a68a2b37a08121812efee0322697b782_rle_crop_3903604122_0.png treat image : temp/1754390428_2477612_1375264029_194a5d17397006aebf740f47018c48e0_rle_crop_3903604125_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604088_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604094_0.png treat image : temp/1754390428_2477612_1375264130_0907717b62221f2a4f044d6e6b1429b6_rle_crop_3903604115_0.png treat image : temp/1754390428_2477612_1375264714_a6010651316dcfa49421b208878c66df_rle_crop_3903604092_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 53 time used for this insertion : 0.019351720809936523 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 53 time used for this insertion : 0.14547181129455566 save missing photos in datou_result : time spend for datou_step_exec : 2.8901374340057373 time spend to save output : 0.1702282428741455 total time spend for step 7 : 3.060365676879883 step8:velours_tree Tue Aug 5 12:41:54 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.2573232650756836 time spend to save output : 6.508827209472656e-05 total time spend for step 8 : 0.2573883533477783 step9:send_mail_cod Tue Aug 5 12:41:54 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_P25683849_05-08-2025_12_41_54.pdf 25684057 imagette256840571754390514 25684058 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 .imagette256840581754390514 25684059 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 .imagette256840591754390515 25684061 change filename to text .imagette256840611754390516 25684062 change filename to text .change filename to text .change filename to text .imagette256840621754390517 25684063 imagette256840631754390517 25684064 imagette256840641754390517 25684065 change filename to text .change filename to text .imagette256840651754390517 25684066 change filename to text .change filename to text .imagette256840661754390517 25684067 imagette256840671754390517 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25683849 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25684057,25684058,25684059,25684060,25684061,25684062,25684063,25684064,25684065,25684066,25684067?tags=pehd,papier,pet_clair,environnement,pet_fonce,autre,flou,background,carton,metal,mal_croppe args[1375264745] : ((1375264745, 0.6596216149658931, 492688767), (1375264745, 0.555198771508551, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264714] : ((1375264714, 1.3699157112955032, 492688767), (1375264714, 0.5724855590550695, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264670] : ((1375264670, 1.003609020869438, 492688767), (1375264670, 0.360562715070107, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264642] : ((1375264642, 1.5356358203737466, 492688767), (1375264642, 0.5919345297451641, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264608] : ((1375264608, 0.4382017548075219, 492688767), (1375264608, 0.6137503312818898, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264567] : ((1375264567, 2.1117614047594766, 492688767), (1375264567, 0.5622502708419649, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264157] : ((1375264157, 3.038885947591267, 492688767), (1375264157, 0.40663003889315663, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264130] : ((1375264130, 1.8504157019621177, 492688767), (1375264130, 0.2994507200843388, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264103] : ((1375264103, 1.5621241897602758, 492688767), (1375264103, 0.5384274789122713, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264079] : ((1375264079, 1.850456687444751, 492688767), (1375264079, 0.684668003284399, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264054] : ((1375264054, 0.6466142469390264, 492688767), (1375264054, 0.7788642679449436, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com args[1375264029] : ((1375264029, 0.8330017825716366, 492688767), (1375264029, 0.5581007055270136, 2107752395), '0.04753419978137861') We are sending mail with results at report@fotonower.com refus_total : 0.04753419978137861 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=25683849 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_P25683849_05-08-2025_12_41_54.pdf results_Auto_P25683849_05-08-2025_12_41_54.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683849_05-08-2025_12_41_54.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','25683849','results_Auto_P25683849_05-08-2025_12_41_54.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683849_05-08-2025_12_41_54.pdf','pdf','','0.25','0.04753419978137861') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25683849

https://www.fotonower.com/image?json=false&list_photos_id=1375264745
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375264714
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3699157112955032)
https://www.fotonower.com/image?json=false&list_photos_id=1375264670
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.003609020869438)
https://www.fotonower.com/image?json=false&list_photos_id=1375264642
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5356358203737466)
https://www.fotonower.com/image?json=false&list_photos_id=1375264608
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375264567
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.1117614047594766)
https://www.fotonower.com/image?json=false&list_photos_id=1375264157
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.038885947591267)
https://www.fotonower.com/image?json=false&list_photos_id=1375264130
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.8504157019621177)
https://www.fotonower.com/image?json=false&list_photos_id=1375264103
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5621241897602758)
https://www.fotonower.com/image?json=false&list_photos_id=1375264079
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.850456687444751)
https://www.fotonower.com/image?json=false&list_photos_id=1375264054
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375264029
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25684058?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25684059?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/25684061?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25684062?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25684065?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25684066?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683849_05-08-2025_12_41_54.pdf.

Lien vers velours :https://www.fotonower.com/velours/25684057,25684058,25684059,25684060,25684061,25684062,25684063,25684064,25684065,25684066,25684067?tags=pehd,papier,pet_clair,environnement,pet_fonce,autre,flou,background,carton,metal,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 05 Aug 2025 10:41:59 GMT Content-Length: 0 Connection: close X-Message-Id: nFc2y61-RqqWhTNT5ntPuA 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 [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] 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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.04718923568725586 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.311830043792725 time spend to save output : 0.04751896858215332 total time spend for step 9 : 4.359349012374878 step10:split_time_score Tue Aug 5 12:41:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05082025 25683849 Nombre de photos uploadées : 12 / 23040 (0%) 05082025 25683849 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 05082025 25683849 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005841255187988281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2014303207397461 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683835 order by id desc limit 1 Qualite : 0.1160300925925926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678966_05-08-2025_11_32_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678966 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`=25678966 AND mptpi.`type`=3594 To do Qualite : 0.08013306166409463 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678972_05-08-2025_11_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678972 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`=25678972 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683843 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683845 order by id desc limit 1 Qualite : 0.04753419978137861 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683849_05-08-2025_12_41_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683849 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`=25683849 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05082025': {'nb_upload': 12, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1375264745, 1375264714, 1375264670, 1375264642, 1375264608, 1375264567, 1375264157, 1375264130, 1375264103, 1375264079, 1375264054, 1375264029] Looping around the photos to save general results len do output : 1 /25683849Didn'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, '3449050') ('3318', '25683849', '1375264745', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264714', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264670', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264642', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264608', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264567', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264157', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264130', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264103', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264079', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264054', None, None, None, None, None, '3449050') ('3318', None, None, None, None, None, None, None, '3449050') ('3318', '25683849', '1375264029', None, None, None, None, None, '3449050') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.013316154479980469 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5278117656707764 time spend to save output : 0.013786554336547852 total time spend for step 10 : 3.541598320007324 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 42.08user 27.81system 1:37.45elapsed 71%CPU (0avgtext+0avgdata 2960088maxresident)k 740312inputs+16064outputs (6211major+1756318minor)pagefaults 0swaps