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 : 1009540 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 : ['3422017'] with mtr_portfolio_ids : ['25582614'] and first list_photo_ids : [] new path : /proc/1009540/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 0.9736106395721436 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 1 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-01 12:40:32.022372: 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-01 12:40:32.047320: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-01 12:40:32.049301: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2370000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-01 12:40:32.049348: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-01 12:40:32.052861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-01 12:40:32.217704: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3790ec60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-01 12:40:32.217752: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-01 12:40:32.219084: 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-01 12:40:32.219492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:40:32.222521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:40:32.225149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:40:32.225646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:40:32.228764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:40:32.229973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:40:32.234859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:40:32.236547: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:40:32.236606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:40:32.237343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 12:40:32.237357: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 12:40:32.237366: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 12:40:32.238682: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-01 12:40:32.482480: 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-01 12:40:32.482572: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:40:32.482600: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:40:32.482629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:40:32.482654: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:40:32.482679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:40:32.482702: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:40:32.482728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:40:32.484805: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:40:32.485871: 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-01 12:40:32.485901: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 12:40:32.485917: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:40:32.485932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 12:40:32.485947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 12:40:32.485961: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 12:40:32.485976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 12:40:32.485991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 12:40:32.487188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 12:40:32.487214: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 12:40:32.487222: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 12:40:32.487229: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 12:40:32.488465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-01 12:40:40.129787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 12:40:40.305087: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 8.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: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 13.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.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 : 10 Detection mask done ! Trying to reset tf kernel 1010176 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4866 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 9919 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.00017523765563964844 nb_pixel_total : 4884 time to create 1 rle with old method : 0.006063938140869141 length of segment : 79 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 7408 time to create 1 rle with old method : 0.008993864059448242 length of segment : 96 time for calcul the mask position with numpy : 0.00029087066650390625 nb_pixel_total : 14023 time to create 1 rle with old method : 0.017215251922607422 length of segment : 178 time for calcul the mask position with numpy : 0.0004410743713378906 nb_pixel_total : 22974 time to create 1 rle with old method : 0.026300668716430664 length of segment : 190 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 20865 time to create 1 rle with old method : 0.023798227310180664 length of segment : 143 time for calcul the mask position with numpy : 0.00013494491577148438 nb_pixel_total : 5492 time to create 1 rle with old method : 0.0068666934967041016 length of segment : 88 time for calcul the mask position with numpy : 0.00019311904907226562 nb_pixel_total : 11334 time to create 1 rle with old method : 0.01354074478149414 length of segment : 99 time for calcul the mask position with numpy : 0.012012243270874023 nb_pixel_total : 748035 time to create 1 rle with new method : 0.022916793823242188 length of segment : 986 time for calcul the mask position with numpy : 0.00023317337036132812 nb_pixel_total : 13339 time to create 1 rle with old method : 0.015413045883178711 length of segment : 106 time for calcul the mask position with numpy : 0.00042700767517089844 nb_pixel_total : 27186 time to create 1 rle with old method : 0.03180336952209473 length of segment : 180 time for calcul the mask position with numpy : 0.00035858154296875 nb_pixel_total : 21354 time to create 1 rle with old method : 0.025649547576904297 length of segment : 133 time for calcul the mask position with numpy : 0.00021529197692871094 nb_pixel_total : 7114 time to create 1 rle with old method : 0.008449316024780273 length of segment : 117 time for calcul the mask position with numpy : 0.0002532005310058594 nb_pixel_total : 12792 time to create 1 rle with old method : 0.014487504959106445 length of segment : 237 time for calcul the mask position with numpy : 0.0002200603485107422 nb_pixel_total : 13177 time to create 1 rle with old method : 0.014789581298828125 length of segment : 132 time for calcul the mask position with numpy : 0.000125885009765625 nb_pixel_total : 6300 time to create 1 rle with old method : 0.007366180419921875 length of segment : 68 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 12323 time to create 1 rle with old method : 0.014052391052246094 length of segment : 105 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 3059 time to create 1 rle with old method : 0.003681659698486328 length of segment : 62 time for calcul the mask position with numpy : 0.00041222572326660156 nb_pixel_total : 17178 time to create 1 rle with old method : 0.01949143409729004 length of segment : 212 time for calcul the mask position with numpy : 0.0016450881958007812 nb_pixel_total : 108217 time to create 1 rle with old method : 0.12041950225830078 length of segment : 545 time for calcul the mask position with numpy : 0.00020575523376464844 nb_pixel_total : 8021 time to create 1 rle with old method : 0.009433984756469727 length of segment : 105 time for calcul the mask position with numpy : 0.00012731552124023438 nb_pixel_total : 6545 time to create 1 rle with old method : 0.007953166961669922 length of segment : 54 time for calcul the mask position with numpy : 0.00011539459228515625 nb_pixel_total : 4583 time to create 1 rle with old method : 0.005603790283203125 length of segment : 76 time for calcul the mask position with numpy : 0.0002624988555908203 nb_pixel_total : 14566 time to create 1 rle with old method : 0.01710224151611328 length of segment : 147 time for calcul the mask position with numpy : 0.00018405914306640625 nb_pixel_total : 13715 time to create 1 rle with old method : 0.019843101501464844 length of segment : 141 time for calcul the mask position with numpy : 0.0013349056243896484 nb_pixel_total : 51685 time to create 1 rle with old method : 0.05729484558105469 length of segment : 226 time for calcul the mask position with numpy : 0.000766754150390625 nb_pixel_total : 15399 time to create 1 rle with old method : 0.01726698875427246 length of segment : 236 time for calcul the mask position with numpy : 0.0003960132598876953 nb_pixel_total : 10897 time to create 1 rle with old method : 0.012763261795043945 length of segment : 93 time for calcul the mask position with numpy : 0.00024819374084472656 nb_pixel_total : 5847 time to create 1 rle with old method : 0.007434844970703125 length of segment : 66 time for calcul the mask position with numpy : 0.00016355514526367188 nb_pixel_total : 5503 time to create 1 rle with old method : 0.006704568862915039 length of segment : 60 time for calcul the mask position with numpy : 0.0004975795745849609 nb_pixel_total : 14865 time to create 1 rle with old method : 0.0173037052154541 length of segment : 148 time for calcul the mask position with numpy : 0.00034308433532714844 nb_pixel_total : 8366 time to create 1 rle with old method : 0.009843587875366211 length of segment : 102 time for calcul the mask position with numpy : 0.0003871917724609375 nb_pixel_total : 10041 time to create 1 rle with old method : 0.012230157852172852 length of segment : 98 time for calcul the mask position with numpy : 0.0025091171264648438 nb_pixel_total : 94782 time to create 1 rle with old method : 0.10759663581848145 length of segment : 519 time for calcul the mask position with numpy : 0.00040531158447265625 nb_pixel_total : 7107 time to create 1 rle with old method : 0.009237289428710938 length of segment : 98 time for calcul the mask position with numpy : 0.0005230903625488281 nb_pixel_total : 17731 time to create 1 rle with old method : 0.021826505661010742 length of segment : 115 time spent for convertir_results : 1.9613409042358398 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 6040 save missing photos in datou_result : time spend for datou_step_exec : 26.03765034675598 time spend to save output : 0.8709826469421387 total time spend for step 1 : 26.90863299369812 step2:crop_condition Fri Aug 1 12:40:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 35 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754044857_1009540 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 18 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.860051393508911 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/1754044863_1009540 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.7430541515350342 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 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 ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754044868_1009540 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 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.254150867462158 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754044871_1009540 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.8531308174133301 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754044872_1009540 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6114664077758789 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] Looping around the photos to save general results len do output : 35 /1374769087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769111Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374769123Didn'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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 113 time used for this insertion : 0.2634775638580322 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.983060598373413 time spend to save output : 0.2649869918823242 total time spend for step 2 : 17.248047590255737 step3:rle_unique_nms_with_priority Fri Aug 1 12:41:13 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 35 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 0.993546724319458 time for calcul the mask position with numpy : 0.04476594924926758 nb_pixel_total : 1244731 time to create 1 rle with new method : 0.23113346099853516 time for calcul the mask position with numpy : 0.006209611892700195 nb_pixel_total : 13339 time to create 1 rle with old method : 0.015272140502929688 time for calcul the mask position with numpy : 0.013929605484008789 nb_pixel_total : 748035 time to create 1 rle with new method : 0.09059858322143555 time for calcul the mask position with numpy : 0.0059278011322021484 nb_pixel_total : 11334 time to create 1 rle with old method : 0.012779474258422852 time for calcul the mask position with numpy : 0.00605320930480957 nb_pixel_total : 5492 time to create 1 rle with old method : 0.006155490875244141 time for calcul the mask position with numpy : 0.005925178527832031 nb_pixel_total : 1380 time to create 1 rle with old method : 0.0017466545104980469 time for calcul the mask position with numpy : 0.006093740463256836 nb_pixel_total : 22974 time to create 1 rle with old method : 0.026529788970947266 time for calcul the mask position with numpy : 0.006219148635864258 nb_pixel_total : 14023 time to create 1 rle with old method : 0.015900850296020508 time for calcul the mask position with numpy : 0.005967378616333008 nb_pixel_total : 7408 time to create 1 rle with old method : 0.008421182632446289 time for calcul the mask position with numpy : 0.0063397884368896484 nb_pixel_total : 4884 time to create 1 rle with old method : 0.005724668502807617 create new chi : 0.5374100208282471 time to delete rle : 0.021122455596923828 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 4828 TO DO : save crop sub photo not yet done ! save time : 0.48734545707702637 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.0848989486694336 time for calcul the mask position with numpy : 0.222275972366333 nb_pixel_total : 2012082 time to create 1 rle with new method : 0.23133182525634766 time for calcul the mask position with numpy : 0.005931377410888672 nb_pixel_total : 12792 time to create 1 rle with old method : 0.014305830001831055 time for calcul the mask position with numpy : 0.006409645080566406 nb_pixel_total : 186 time to create 1 rle with old method : 0.00029158592224121094 time for calcul the mask position with numpy : 0.005872964859008789 nb_pixel_total : 21354 time to create 1 rle with old method : 0.02329707145690918 time for calcul the mask position with numpy : 0.005829334259033203 nb_pixel_total : 27186 time to create 1 rle with old method : 0.030136823654174805 create new chi : 0.5460402965545654 time to delete rle : 0.00030684471130371094 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2214 TO DO : save crop sub photo not yet done ! save time : 0.1866774559020996 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.08568572998046875 time for calcul the mask position with numpy : 0.01794719696044922 nb_pixel_total : 1905325 time to create 1 rle with new method : 0.06459331512451172 time for calcul the mask position with numpy : 0.005700111389160156 nb_pixel_total : 8021 time to create 1 rle with old method : 0.008701324462890625 time for calcul the mask position with numpy : 0.006070375442504883 nb_pixel_total : 108217 time to create 1 rle with old method : 0.11731171607971191 time for calcul the mask position with numpy : 0.005844593048095703 nb_pixel_total : 17178 time to create 1 rle with old method : 0.01857900619506836 time for calcul the mask position with numpy : 0.005562543869018555 nb_pixel_total : 3059 time to create 1 rle with old method : 0.0033478736877441406 time for calcul the mask position with numpy : 0.005849123001098633 nb_pixel_total : 12323 time to create 1 rle with old method : 0.013843297958374023 time for calcul the mask position with numpy : 0.0057353973388671875 nb_pixel_total : 6300 time to create 1 rle with old method : 0.006968498229980469 time for calcul the mask position with numpy : 0.0056416988372802734 nb_pixel_total : 13177 time to create 1 rle with old method : 0.014426708221435547 create new chi : 0.30666232109069824 time to delete rle : 0.00041484832763671875 batch 1 Loaded 15 chid ids of type : 3594 +++++++++++Number RLEs to save : 3538 TO DO : save crop sub photo not yet done ! save time : 0.39441776275634766 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04239082336425781 time for calcul the mask position with numpy : 0.018840312957763672 nb_pixel_total : 2067055 time to create 1 rle with new method : 0.03571963310241699 time for calcul the mask position with numpy : 0.005598306655883789 nb_pixel_total : 6545 time to create 1 rle with old method : 0.0071909427642822266 create new chi : 0.06754732131958008 time to delete rle : 0.00019931793212890625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1188 TO DO : save crop sub photo not yet done ! save time : 0.1609501838684082 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.30065298080444336 time for calcul the mask position with numpy : 0.18857049942016602 nb_pixel_total : 2053849 time to create 1 rle with new method : 0.09383106231689453 time for calcul the mask position with numpy : 0.005872964859008789 nb_pixel_total : 602 time to create 1 rle with old method : 0.0007631778717041016 time for calcul the mask position with numpy : 0.005934000015258789 nb_pixel_total : 14566 time to create 1 rle with old method : 0.01705455780029297 time for calcul the mask position with numpy : 0.006235837936401367 nb_pixel_total : 4583 time to create 1 rle with old method : 0.005351066589355469 create new chi : 0.3339047431945801 time to delete rle : 0.0002422332763671875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1628 TO DO : save crop sub photo not yet done ! save time : 0.1568739414215088 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.21394968032836914 time for calcul the mask position with numpy : 0.16570067405700684 nb_pixel_total : 1969404 time to create 1 rle with new method : 0.09299969673156738 time for calcul the mask position with numpy : 0.005888462066650391 nb_pixel_total : 14865 time to create 1 rle with old method : 0.016024112701416016 time for calcul the mask position with numpy : 0.005613088607788086 nb_pixel_total : 5503 time to create 1 rle with old method : 0.006116628646850586 time for calcul the mask position with numpy : 0.005760908126831055 nb_pixel_total : 5847 time to create 1 rle with old method : 0.006655693054199219 time for calcul the mask position with numpy : 0.0057430267333984375 nb_pixel_total : 10897 time to create 1 rle with old method : 0.011973857879638672 time for calcul the mask position with numpy : 0.005778312683105469 nb_pixel_total : 15399 time to create 1 rle with old method : 0.01680278778076172 time for calcul the mask position with numpy : 0.006203651428222656 nb_pixel_total : 51685 time to create 1 rle with old method : 0.055457115173339844 create new chi : 0.41735267639160156 time to delete rle : 0.00033593177795410156 batch 1 Loaded 13 chid ids of type : 3594 +++++++++Number RLEs to save : 2738 TO DO : save crop sub photo not yet done ! save time : 0.6092884540557861 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.049460411071777344 time for calcul the mask position with numpy : 0.018105745315551758 nb_pixel_total : 1960411 time to create 1 rle with new method : 0.271822452545166 time for calcul the mask position with numpy : 0.006636142730712891 nb_pixel_total : 94782 time to create 1 rle with old method : 0.10540199279785156 time for calcul the mask position with numpy : 0.0060880184173583984 nb_pixel_total : 10041 time to create 1 rle with old method : 0.011266946792602539 time for calcul the mask position with numpy : 0.005869150161743164 nb_pixel_total : 8366 time to create 1 rle with old method : 0.00942540168762207 create new chi : 0.4349939823150635 time to delete rle : 0.00037384033203125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2518 TO DO : save crop sub photo not yet done ! save time : 0.22141504287719727 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.2555081844329834 time for calcul the mask position with numpy : 0.07442235946655273 nb_pixel_total : 2048762 time to create 1 rle with new method : 0.21676421165466309 time for calcul the mask position with numpy : 0.006058454513549805 nb_pixel_total : 17731 time to create 1 rle with old method : 0.019746780395507812 time for calcul the mask position with numpy : 0.00597691535949707 nb_pixel_total : 7107 time to create 1 rle with old method : 0.007964611053466797 create new chi : 0.3406517505645752 time to delete rle : 0.00023174285888671875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1506 TO DO : save crop sub photo not yet done ! save time : 0.22636723518371582 map_output_result : {1374736749: (0.0, 'Should be the crop_list due to order', 0), 1374732446: (0.0, 'Should be the crop_list due to order', 0), 1374732417: (0.0, 'Should be the crop_list due to order', 0), 1374732376: (0.0, 'Should be the crop_list due to order', 0), 1374732352: (0.0, 'Should be the crop_list due to order', 0), 1374732326: (0.0, 'Should be the crop_list due to order', 0), 1374731044: (0.0, 'Should be the crop_list due to order', 0), 1374731043: (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 [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] Looping around the photos to save general results len do output : 8 /1374736749.Didn't retrieve data . /1374732446.Didn't retrieve data . /1374732417.Didn't retrieve data . /1374732376.Didn't retrieve data . /1374732352.Didn't retrieve data . /1374732326.Didn't retrieve data . /1374731044.Didn't retrieve data . /1374731043.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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016711711883544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.011699676513672 time spend to save output : 0.01712489128112793 total time spend for step 3 : 8.0288245677948 step4:ventilate_hashtags_in_portfolio Fri Aug 1 12:41:21 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 : 25582614 get user id for portfolio 25582614 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`=25582614 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','autre','environnement','flou','carton','metal','pet_fonce','background','pet_clair','mal_croppe','papier')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25582614 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','autre','environnement','flou','carton','metal','pet_fonce','background','pet_clair','mal_croppe','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25582614 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','autre','environnement','flou','carton','metal','pet_fonce','background','pet_clair','mal_croppe','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25583073,25583074,25583075,25583076,25583078,25583079,25583080,25583081,25583082,25583083,25583084?tags=pehd,autre,environnement,flou,carton,metal,pet_fonce,background,pet_clair,mal_croppe,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] Looping around the photos to save general results len do output : 1 /25582614. 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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01421976089477539 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9127812385559082 time spend to save output : 0.014490604400634766 total time spend for step 4 : 1.927271842956543 step5:final Fri Aug 1 12:41:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1374736749: ('0.08000464168595678',), 1374732446: ('0.08000464168595678',), 1374732417: ('0.08000464168595678',), 1374732376: ('0.08000464168595678',), 1374732352: ('0.08000464168595678',), 1374732326: ('0.08000464168595678',), 1374731044: ('0.08000464168595678',), 1374731043: ('0.08000464168595678',)} new output for save of step final : {1374736749: ('0.08000464168595678',), 1374732446: ('0.08000464168595678',), 1374732417: ('0.08000464168595678',), 1374732376: ('0.08000464168595678',), 1374732352: ('0.08000464168595678',), 1374732326: ('0.08000464168595678',), 1374731044: ('0.08000464168595678',), 1374731043: ('0.08000464168595678',)} [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] Looping around the photos to save general results len do output : 8 /1374736749.Didn't retrieve data . /1374732446.Didn't retrieve data . /1374732417.Didn't retrieve data . /1374732376.Didn't retrieve data . /1374732352.Didn't retrieve data . /1374732326.Didn't retrieve data . /1374731044.Didn't retrieve data . /1374731043.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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016063451766967773 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1304011344909668 time spend to save output : 0.016457080841064453 total time spend for step 5 : 0.14685821533203125 step6:blur_detection Fri Aug 1 12:41:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507.jpg resize: (1080, 1920) 1374736749 -0.19881436359852026 treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f.jpg resize: (1080, 1920) 1374732446 1.4903957395526555 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b.jpg resize: (1080, 1920) 1374732417 -4.311571439103624 treat image : temp/1754044828_1009540_1374732376_60bb821d0674bf2f8d69277e88fbf576.jpg resize: (1080, 1920) 1374732376 -1.0223249564377186 treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62.jpg resize: (1080, 1920) 1374732352 -2.9129704139715513 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840.jpg resize: (1080, 1920) 1374732326 -4.226027238616007 treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589.jpg resize: (1080, 1920) 1374731044 -0.017901976385053642 treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb.jpg resize: (1080, 1920) 1374731043 0.010839758011267126 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396193_0.png resize: (128, 284) 1374769087 -2.866184132979421 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396191_0.png resize: (96, 120) 1374769088 -1.6590653223814384 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396192_0.png resize: (120, 238) 1374769089 -2.628974721581781 treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396202_0.png resize: (183, 121) 1374769090 -2.1422702807326917 treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396199_0.png resize: (178, 295) 1374769091 -2.6619670486241653 treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396201_0.png resize: (117, 135) 1374769092 -2.598001771465102 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396206_0.png resize: (60, 100) 1374769093 -1.263940731828506 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396204_0.png resize: (68, 124) 1374769094 -5.569029493426048 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396205_0.png resize: (105, 157) 1374769095 -4.21381929727029 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396209_0.png resize: (84, 146) 1374769096 -3.4960150007231725 treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396211_0.png resize: (76, 105) 1374769097 -1.9369548205694336 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396215_0.png resize: (170, 155) 1374769098 -5.067950265748189 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396217_0.png resize: (63, 133) 1374769099 -1.2902389501817717 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396218_0.png resize: (54, 131) 1374769100 -4.693297853931956 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396214_0.png resize: (225, 257) 1374769101 -1.119089671784895 treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396220_0.png resize: (102, 138) 1374769103 -2.7775832323931007 treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396221_0.png resize: (97, 142) 1374769104 0.6138935601593234 treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb_rle_crop_3900396223_0.png resize: (92, 130) 1374769105 -0.2307219056534296 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396195_0.png resize: (88, 99) 1374769106 -1.8597472096502066 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396190_0.png resize: (79, 110) 1374769107 -1.8598320143584208 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396197_0.png resize: (984, 953) 1374769109 -0.024599679911157083 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396196_0.png resize: (91, 191) 1374769110 -1.9608974772321468 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396194_0.png resize: (132, 278) 1374769111 -2.7984437356976875 treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396200_0.png resize: (122, 239) 1374769112 0.44784577064504905 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396207_0.png resize: (141, 225) 1374769113 -4.141808005863164 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396203_0.png resize: (128, 138) 1374769114 -3.696865571370144 treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396208_0.png resize: (538, 319) 1374769115 -0.048471233181579955 treat image : temp/1754044828_1009540_1374732376_60bb821d0674bf2f8d69277e88fbf576_rle_crop_3900396210_0.png resize: (54, 148) 1374769116 0.016711077755800136 treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396212_0.png resize: (144, 137) 1374769117 -3.3133071194643686 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396216_0.png resize: (93, 176) 1374769118 -2.919374624442142 treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396222_0.png resize: (503, 323) 1374769119 -0.4553520713180869 treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb_rle_crop_3900396224_0.png resize: (110, 211) 1374769120 -3.5342727345009854 treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396213_0.png resize: (136, 135) 1374769121 -3.3036088077559427 treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396219_0.png resize: (133, 147) 1374769122 -3.801303496544195 treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396198_0.png resize: (106, 173) 1374769123 -1.169267975161132 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 : 43 time used for this insertion : 0.02002406120300293 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.01687026023864746 save missing photos in datou_result : time spend for datou_step_exec : 7.550871133804321 time spend to save output : 0.04098916053771973 total time spend for step 6 : 7.591860294342041 step7:brightness Fri Aug 1 12:41:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507.jpg treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f.jpg treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b.jpg treat image : temp/1754044828_1009540_1374732376_60bb821d0674bf2f8d69277e88fbf576.jpg treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62.jpg treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840.jpg treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589.jpg treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb.jpg treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396193_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396191_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396192_0.png treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396202_0.png treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396199_0.png treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396201_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396206_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396204_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396205_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396209_0.png treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396211_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396215_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396217_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396218_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396214_0.png treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396220_0.png treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396221_0.png treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb_rle_crop_3900396223_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396195_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396190_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396197_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396196_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396194_0.png treat image : temp/1754044828_1009540_1374732446_27ec18db3f78a73c85b768bdd2ec193f_rle_crop_3900396200_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396207_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396203_0.png treat image : temp/1754044828_1009540_1374732417_c36e5e4662b5acd7b0b434d02b3b6d4b_rle_crop_3900396208_0.png treat image : temp/1754044828_1009540_1374732376_60bb821d0674bf2f8d69277e88fbf576_rle_crop_3900396210_0.png treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396212_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396216_0.png treat image : temp/1754044828_1009540_1374731044_b3531f1d91ed2758f73eb8b128eb4589_rle_crop_3900396222_0.png treat image : temp/1754044828_1009540_1374731043_aba1cd45c8e5eb092bdeea6da25fc2bb_rle_crop_3900396224_0.png treat image : temp/1754044828_1009540_1374732352_f9c5416c53d6cb41f414aff6d0e40c62_rle_crop_3900396213_0.png treat image : temp/1754044828_1009540_1374732326_9543bad1b21b2cee11b6be7ffd932840_rle_crop_3900396219_0.png treat image : temp/1754044828_1009540_1374736749_8a6fa6370639cff155c3ffc9dac81507_rle_crop_3900396198_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 : 43 time used for this insertion : 0.01903533935546875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.017407894134521484 save missing photos in datou_result : time spend for datou_step_exec : 2.064145565032959 time spend to save output : 0.04157900810241699 total time spend for step 7 : 2.105724573135376 step8:velours_tree Fri Aug 1 12:41:33 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.1419057846069336 time spend to save output : 3.457069396972656e-05 total time spend for step 8 : 0.14194035530090332 step9:send_mail_cod Fri Aug 1 12:41:33 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_P25582614_01-08-2025_12_41_33.pdf 25583073 change filename to text .imagette255830731754044893 25583074 change filename to text .change filename to text .imagette255830741754044893 25583076 imagette255830761754044893 25583078 change filename to text .change filename to text .imagette255830781754044893 25583079 imagette255830791754044893 25583080 imagette255830801754044893 25583081 imagette255830811754044893 25583082 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 .imagette255830821754044893 25583083 imagette255830831754044894 25583084 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette255830841754044894 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25582614 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25583073,25583074,25583075,25583076,25583078,25583079,25583080,25583081,25583082,25583083,25583084?tags=pehd,autre,environnement,flou,carton,metal,pet_fonce,background,pet_clair,mal_croppe,papier args[1374736749] : ((1374736749, -0.19881436359852026, 492688767), (1374736749, 0.26765304879269125, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374732446] : ((1374732446, 1.4903957395526555, 492688767), (1374732446, 0.11854811256464427, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374732417] : ((1374732417, -4.311571439103624, 492609224), (1374732417, 0.3933033646474877, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374732376] : ((1374732376, -1.0223249564377186, 492688767), (1374732376, 0.3718657257028964, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374732352] : ((1374732352, -2.9129704139715513, 492609224), (1374732352, 0.4173808886786512, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374732326] : ((1374732326, -4.226027238616007, 492609224), (1374732326, 0.44566336098229115, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374731044] : ((1374731044, -0.017901976385053642, 492688767), (1374731044, 0.6100785922938541, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com args[1374731043] : ((1374731043, 0.010839758011267126, 492688767), (1374731043, 0.2914635295785264, 2107752395), '0.08000464168595678') We are sending mail with results at report@fotonower.com refus_total : 0.08000464168595678 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=25582614 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_P25582614_01-08-2025_12_41_33.pdf results_Auto_P25582614_01-08-2025_12_41_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582614_01-08-2025_12_41_33.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','25582614','results_Auto_P25582614_01-08-2025_12_41_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582614_01-08-2025_12_41_33.pdf','pdf','','0.23','0.08000464168595678') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25582614

https://www.fotonower.com/image?json=false&list_photos_id=1374736749
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374732446
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4903957395526555)
https://www.fotonower.com/image?json=false&list_photos_id=1374732417
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374732376
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374732352
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374732326
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374731044
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374731043
Bravo, la photo est bien prise.

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

exemples de contaminants: pehd: https://www.fotonower.com/view/25583073?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25583074?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25583078?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25583082?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25583084?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582614_01-08-2025_12_41_33.pdf.

Lien vers velours :https://www.fotonower.com/velours/25583073,25583074,25583075,25583076,25583078,25583079,25583080,25583081,25583082,25583083,25583084?tags=pehd,autre,environnement,flou,carton,metal,pet_fonce,background,pet_clair,mal_croppe,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 01 Aug 2025 10:41:37 GMT Content-Length: 0 Connection: close X-Message-Id: j5HzuCSyTDq4ZmwvKV0y_A 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 [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] 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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.023103713989257812 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.033395051956177 time spend to save output : 0.0232696533203125 total time spend for step 9 : 4.056664705276489 step10:split_time_score Fri Aug 1 12:41:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('07', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01082025 25582614 Nombre de photos uploadées : 8 / 23040 (0%) 01082025 25582614 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 01082025 25582614 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0004315376281738281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2178809642791748 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.129726261091821 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581210_01-08-2025_11_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581210 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`=25581210 AND mptpi.`type`=3594 To do Qualite : 0.08000464168595678 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582614_01-08-2025_12_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582614 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`=25582614 AND mptpi.`type`=3594 To do Qualite : 0.20749459187610225 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581212 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`=25581212 AND mptpi.`type`=3594 To do Qualite : 0.24190254870756175 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581213_01-08-2025_10_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581213 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`=25581213 AND mptpi.`type`=3594 To do Qualite : 0.05313503689236112 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581215_01-08-2025_10_42_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581215 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`=25581215 AND mptpi.`type`=3594 To do Qualite : 0.0346822193287037 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582617_01-08-2025_12_32_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582617 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`=25582617 AND mptpi.`type`=3594 To do Qualite : 0.05554378419612791 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582619_01-08-2025_12_22_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582619 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`=25582619 AND mptpi.`type`=3594 To do Qualite : 0.11536986132544579 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25582621_01-08-2025_12_12_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25582621 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`=25582621 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01082025': {'nb_upload': 8, '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 [1374736749, 1374732446, 1374732417, 1374732376, 1374732352, 1374732326, 1374731044, 1374731043] Looping around the photos to save general results len do output : 1 /25582614Didn'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, '3422017') ('3318', '25582614', '1374736749', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732446', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732417', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732376', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732352', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374732326', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731044', None, None, None, None, None, '3422017') ('3318', None, None, None, None, None, None, None, '3422017') ('3318', '25582614', '1374731043', None, None, None, None, None, '3422017') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.03083491325378418 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5069501399993896 time spend to save output : 0.0310518741607666 total time spend for step 10 : 1.5380020141601562 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 33.57user 21.15system 1:14.00elapsed 73%CPU (0avgtext+0avgdata 2765096maxresident)k 21368inputs+17008outputs (1465major+1415704minor)pagefaults 0swaps