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 : 1226817 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 : ['3630146'] with mtr_portfolio_ids : ['26311632'] and first list_photo_ids : [] new path : /proc/1226817/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.4285337924957275 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 29 01: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 : 10605 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 01:40:31.944049: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-29 01:40:31.968571: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 01:40:31.970516: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0998000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 01:40:31.970571: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 01:40:31.973203: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 01:40:32.142469: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x308f1ac0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 01:40:32.142522: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 01:40:32.143435: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 01:40:32.143747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 01:40:32.146027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 01:40:32.148260: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 01:40:32.148646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 01:40:32.151040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 01:40:32.152133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 01:40:32.156790: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 01:40:32.158250: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 01:40:32.158334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 01:40:32.159099: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 01:40:32.159115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 01:40:32.159124: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 01:40:32.160436: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-29 01:40:32.502379: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 01:40:32.502492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 01:40:32.502526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 01:40:32.502558: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 01:40:32.502588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 01:40:32.502618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 01:40:32.502649: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 01:40:32.502679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 01:40:32.507570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 01:40:32.510166: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-29 01:40:32.510253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 01:40:32.510278: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 01:40:32.510299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 01:40:32.510319: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 01:40:32.510337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 01:40:32.510355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 01:40:32.510377: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 01:40:32.511736: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 01:40:32.511770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 01:40:32.511779: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 01:40:32.511787: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 01:40:32.513183: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-29 01:40:40.892809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 01:40:41.128904: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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: 44.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: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 26 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 1227449 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1131 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 6026 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.0024645328521728516 nb_pixel_total : 106381 time to create 1 rle with old method : 0.11972975730895996 length of segment : 536 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 11791 time to create 1 rle with old method : 0.013384342193603516 length of segment : 111 time for calcul the mask position with numpy : 0.0005276203155517578 nb_pixel_total : 17960 time to create 1 rle with old method : 0.021724700927734375 length of segment : 274 time for calcul the mask position with numpy : 0.00046706199645996094 nb_pixel_total : 28824 time to create 1 rle with old method : 0.03328847885131836 length of segment : 302 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 3475 time to create 1 rle with old method : 0.004514932632446289 length of segment : 47 time for calcul the mask position with numpy : 0.0003368854522705078 nb_pixel_total : 13567 time to create 1 rle with old method : 0.015826702117919922 length of segment : 193 time for calcul the mask position with numpy : 0.00019311904907226562 nb_pixel_total : 9191 time to create 1 rle with old method : 0.010830402374267578 length of segment : 121 time for calcul the mask position with numpy : 0.00018835067749023438 nb_pixel_total : 9630 time to create 1 rle with old method : 0.011595010757446289 length of segment : 110 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 16192 time to create 1 rle with old method : 0.018801212310791016 length of segment : 191 time for calcul the mask position with numpy : 0.0003504753112792969 nb_pixel_total : 17000 time to create 1 rle with old method : 0.01952195167541504 length of segment : 142 time for calcul the mask position with numpy : 0.022705554962158203 nb_pixel_total : 1064088 time to create 1 rle with new method : 0.20542144775390625 length of segment : 1632 time for calcul the mask position with numpy : 0.0005278587341308594 nb_pixel_total : 22828 time to create 1 rle with old method : 0.026388168334960938 length of segment : 308 time for calcul the mask position with numpy : 0.000293731689453125 nb_pixel_total : 16820 time to create 1 rle with old method : 0.0189669132232666 length of segment : 156 time for calcul the mask position with numpy : 0.00032067298889160156 nb_pixel_total : 17093 time to create 1 rle with old method : 0.019785165786743164 length of segment : 143 time for calcul the mask position with numpy : 0.0004258155822753906 nb_pixel_total : 21959 time to create 1 rle with old method : 0.02666950225830078 length of segment : 238 time for calcul the mask position with numpy : 0.001979351043701172 nb_pixel_total : 102309 time to create 1 rle with old method : 0.11400246620178223 length of segment : 534 time for calcul the mask position with numpy : 0.00010752677917480469 nb_pixel_total : 3029 time to create 1 rle with old method : 0.00353240966796875 length of segment : 68 time for calcul the mask position with numpy : 0.0002880096435546875 nb_pixel_total : 7281 time to create 1 rle with old method : 0.008699178695678711 length of segment : 177 time for calcul the mask position with numpy : 0.0003325939178466797 nb_pixel_total : 17864 time to create 1 rle with old method : 0.021024703979492188 length of segment : 189 time for calcul the mask position with numpy : 0.0004582405090332031 nb_pixel_total : 24722 time to create 1 rle with old method : 0.029215097427368164 length of segment : 215 time for calcul the mask position with numpy : 0.0001659393310546875 nb_pixel_total : 7785 time to create 1 rle with old method : 0.009693145751953125 length of segment : 124 time for calcul the mask position with numpy : 0.0002124309539794922 nb_pixel_total : 4887 time to create 1 rle with old method : 0.0067517757415771484 length of segment : 47 time for calcul the mask position with numpy : 0.00030684471130371094 nb_pixel_total : 10260 time to create 1 rle with old method : 0.012659788131713867 length of segment : 109 time for calcul the mask position with numpy : 0.0010724067687988281 nb_pixel_total : 47843 time to create 1 rle with old method : 0.05747079849243164 length of segment : 210 time for calcul the mask position with numpy : 0.0005817413330078125 nb_pixel_total : 13408 time to create 1 rle with old method : 0.018868684768676758 length of segment : 188 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 8238 time to create 1 rle with old method : 0.00977182388305664 length of segment : 173 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 13775 time to create 1 rle with old method : 0.01652216911315918 length of segment : 99 time for calcul the mask position with numpy : 0.0004341602325439453 nb_pixel_total : 9909 time to create 1 rle with old method : 0.011718511581420898 length of segment : 123 time for calcul the mask position with numpy : 0.0005662441253662109 nb_pixel_total : 13019 time to create 1 rle with old method : 0.015218973159790039 length of segment : 299 time for calcul the mask position with numpy : 0.00048828125 nb_pixel_total : 13350 time to create 1 rle with old method : 0.015545368194580078 length of segment : 140 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 7382 time to create 1 rle with old method : 0.008896112442016602 length of segment : 100 time for calcul the mask position with numpy : 0.0002682209014892578 nb_pixel_total : 6957 time to create 1 rle with old method : 0.008209466934204102 length of segment : 85 time for calcul the mask position with numpy : 0.00021791458129882812 nb_pixel_total : 10302 time to create 1 rle with old method : 0.012191295623779297 length of segment : 121 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 3241 time to create 1 rle with old method : 0.0038106441497802734 length of segment : 63 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 14421 time to create 1 rle with old method : 0.016400814056396484 length of segment : 110 time for calcul the mask position with numpy : 0.0002815723419189453 nb_pixel_total : 11737 time to create 1 rle with old method : 0.013207197189331055 length of segment : 190 time for calcul the mask position with numpy : 0.000701904296875 nb_pixel_total : 14909 time to create 1 rle with old method : 0.01724982261657715 length of segment : 390 time for calcul the mask position with numpy : 0.0005855560302734375 nb_pixel_total : 12585 time to create 1 rle with old method : 0.014099836349487305 length of segment : 193 time for calcul the mask position with numpy : 0.0005090236663818359 nb_pixel_total : 13530 time to create 1 rle with old method : 0.015691280364990234 length of segment : 152 time for calcul the mask position with numpy : 0.0017592906951904297 nb_pixel_total : 66950 time to create 1 rle with old method : 0.0763862133026123 length of segment : 319 time for calcul the mask position with numpy : 0.0024232864379882812 nb_pixel_total : 107316 time to create 1 rle with old method : 0.12085986137390137 length of segment : 560 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 9106 time to create 1 rle with old method : 0.010586738586425781 length of segment : 103 time for calcul the mask position with numpy : 0.0002884864807128906 nb_pixel_total : 13606 time to create 1 rle with old method : 0.015772104263305664 length of segment : 161 time for calcul the mask position with numpy : 0.0005910396575927734 nb_pixel_total : 23006 time to create 1 rle with old method : 0.02612900733947754 length of segment : 225 time for calcul the mask position with numpy : 0.00015163421630859375 nb_pixel_total : 3398 time to create 1 rle with old method : 0.004084587097167969 length of segment : 67 time for calcul the mask position with numpy : 0.0016689300537109375 nb_pixel_total : 112994 time to create 1 rle with old method : 0.12901592254638672 length of segment : 528 time for calcul the mask position with numpy : 0.0005371570587158203 nb_pixel_total : 30139 time to create 1 rle with old method : 0.035465240478515625 length of segment : 235 time for calcul the mask position with numpy : 0.0008394718170166016 nb_pixel_total : 17966 time to create 1 rle with old method : 0.03013324737548828 length of segment : 208 time for calcul the mask position with numpy : 0.0003523826599121094 nb_pixel_total : 8793 time to create 1 rle with old method : 0.011087656021118164 length of segment : 72 time for calcul the mask position with numpy : 0.0007624626159667969 nb_pixel_total : 20753 time to create 1 rle with old method : 0.024857521057128906 length of segment : 163 time for calcul the mask position with numpy : 0.0006699562072753906 nb_pixel_total : 21473 time to create 1 rle with old method : 0.025500774383544922 length of segment : 223 time for calcul the mask position with numpy : 0.000446319580078125 nb_pixel_total : 24662 time to create 1 rle with old method : 0.02818751335144043 length of segment : 155 time for calcul the mask position with numpy : 0.0008809566497802734 nb_pixel_total : 51988 time to create 1 rle with old method : 0.05878615379333496 length of segment : 334 time spent for convertir_results : 3.4752631187438965 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 53 chid ids of type : 3594 Number RLEs to save : 11956 save missing photos in datou_result : time spend for datou_step_exec : 30.160458087921143 time spend to save output : 1.9467003345489502 total time spend for step 1 : 32.10715842247009 step2:crop_condition Fri Aug 29 01:41:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 9 ! batch 1 Loaded 53 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756424464_1226817 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 8.519444227218628 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756424472_1226817 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.6119191646575928 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756424473_1226817 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.6203274726867676 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 24 About to insert : list_path_to_insert length 24 new photo from crops ! About to upload 24 photos upload in portfolio : 3736932 init cache_photo without model_param we have 24 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756424482_1226817 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 24 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.811742544174194 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 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/1756424489_1226817 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.9818217754364014 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 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/1756424490_1226817 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.5891356468200684 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] Looping around the photos to save general results len do output : 53 /1380013411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380013479Didn'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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 168 time used for this insertion : 0.034438133239746094 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.89614510536194 time spend to save output : 0.03671622276306152 total time spend for step 2 : 29.932861328125 step3:rle_unique_nms_with_priority Fri Aug 29 01: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 53 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.5864968299865723 time for calcul the mask position with numpy : 0.10514664649963379 nb_pixel_total : 1905175 time to create 1 rle with new method : 0.08380627632141113 time for calcul the mask position with numpy : 0.006220102310180664 nb_pixel_total : 3475 time to create 1 rle with old method : 0.003914833068847656 time for calcul the mask position with numpy : 0.0067462921142578125 nb_pixel_total : 28818 time to create 1 rle with old method : 0.03217577934265137 time for calcul the mask position with numpy : 0.006378650665283203 nb_pixel_total : 17960 time to create 1 rle with old method : 0.020835399627685547 time for calcul the mask position with numpy : 0.007484912872314453 nb_pixel_total : 11791 time to create 1 rle with old method : 0.014752388000488281 time for calcul the mask position with numpy : 0.008070707321166992 nb_pixel_total : 106381 time to create 1 rle with old method : 0.11815309524536133 create new chi : 0.42459940910339355 time to delete rle : 0.017526626586914062 batch 1 Loaded 11 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3620 TO DO : save crop sub photo not yet done ! save time : 0.7827224731445312 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.3656883239746094 time for calcul the mask position with numpy : 0.03961825370788574 nb_pixel_total : 969662 time to create 1 rle with new method : 0.10013675689697266 time for calcul the mask position with numpy : 0.006872653961181641 nb_pixel_total : 1892 time to create 1 rle with old method : 0.002278566360473633 time for calcul the mask position with numpy : 0.015023469924926758 nb_pixel_total : 1036466 time to create 1 rle with new method : 0.28223752975463867 time for calcul the mask position with numpy : 0.007523775100708008 nb_pixel_total : 17000 time to create 1 rle with old method : 0.01992630958557129 time for calcul the mask position with numpy : 0.006883859634399414 nb_pixel_total : 16192 time to create 1 rle with old method : 0.0189208984375 time for calcul the mask position with numpy : 0.006674766540527344 nb_pixel_total : 9630 time to create 1 rle with old method : 0.011367082595825195 time for calcul the mask position with numpy : 0.00679779052734375 nb_pixel_total : 9191 time to create 1 rle with old method : 0.010600566864013672 time for calcul the mask position with numpy : 0.00665593147277832 nb_pixel_total : 13567 time to create 1 rle with old method : 0.016170501708984375 create new chi : 0.5764303207397461 time to delete rle : 0.0008349418640136719 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++Number RLEs to save : 5731 TO DO : save crop sub photo not yet done ! save time : 1.2113518714904785 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06392693519592285 time for calcul the mask position with numpy : 0.019490718841552734 nb_pixel_total : 1915419 time to create 1 rle with new method : 0.07363271713256836 time for calcul the mask position with numpy : 0.0067136287689208984 nb_pixel_total : 102309 time to create 1 rle with old method : 0.11391735076904297 time for calcul the mask position with numpy : 0.006320953369140625 nb_pixel_total : 21959 time to create 1 rle with old method : 0.02618408203125 time for calcul the mask position with numpy : 0.00620722770690918 nb_pixel_total : 17093 time to create 1 rle with old method : 0.01958155632019043 time for calcul the mask position with numpy : 0.006188869476318359 nb_pixel_total : 16820 time to create 1 rle with old method : 0.01882195472717285 create new chi : 0.297562837600708 time to delete rle : 0.0004601478576660156 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3222 TO DO : save crop sub photo not yet done ! save time : 0.728428840637207 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.2301769256591797 time for calcul the mask position with numpy : 0.1517481803894043 nb_pixel_total : 1997772 time to create 1 rle with new method : 0.07988119125366211 time for calcul the mask position with numpy : 0.0062143802642822266 nb_pixel_total : 10260 time to create 1 rle with old method : 0.010973691940307617 time for calcul the mask position with numpy : 0.006124973297119141 nb_pixel_total : 4887 time to create 1 rle with old method : 0.005544900894165039 time for calcul the mask position with numpy : 0.005924701690673828 nb_pixel_total : 7785 time to create 1 rle with old method : 0.008865833282470703 time for calcul the mask position with numpy : 0.00624537467956543 nb_pixel_total : 24722 time to create 1 rle with old method : 0.027234554290771484 time for calcul the mask position with numpy : 0.005826711654663086 nb_pixel_total : 17864 time to create 1 rle with old method : 0.01988053321838379 time for calcul the mask position with numpy : 0.005960702896118164 nb_pixel_total : 7281 time to create 1 rle with old method : 0.008392095565795898 time for calcul the mask position with numpy : 0.0066645145416259766 nb_pixel_total : 3029 time to create 1 rle with old method : 0.0034322738647460938 create new chi : 0.36900854110717773 time to delete rle : 0.0004992485046386719 batch 1 Loaded 15 chid ids of type : 3594 +++++++++Number RLEs to save : 2938 TO DO : save crop sub photo not yet done ! save time : 0.4527552127838135 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 0.11274528503417969 time for calcul the mask position with numpy : 0.07312488555908203 nb_pixel_total : 1939719 time to create 1 rle with new method : 0.1968982219696045 time for calcul the mask position with numpy : 0.006531715393066406 nb_pixel_total : 6957 time to create 1 rle with old method : 0.00818324089050293 time for calcul the mask position with numpy : 0.006292104721069336 nb_pixel_total : 7382 time to create 1 rle with old method : 0.008710145950317383 time for calcul the mask position with numpy : 0.006482124328613281 nb_pixel_total : 13350 time to create 1 rle with old method : 0.016323089599609375 time for calcul the mask position with numpy : 0.006219387054443359 nb_pixel_total : 13019 time to create 1 rle with old method : 0.0154266357421875 time for calcul the mask position with numpy : 0.006060123443603516 nb_pixel_total : 9909 time to create 1 rle with old method : 0.010901927947998047 time for calcul the mask position with numpy : 0.005815267562866211 nb_pixel_total : 13775 time to create 1 rle with old method : 0.016345500946044922 time for calcul the mask position with numpy : 0.006399869918823242 nb_pixel_total : 8238 time to create 1 rle with old method : 0.00931239128112793 time for calcul the mask position with numpy : 0.005938291549682617 nb_pixel_total : 13408 time to create 1 rle with old method : 0.015223264694213867 time for calcul the mask position with numpy : 0.006762027740478516 nb_pixel_total : 47843 time to create 1 rle with old method : 0.05401873588562012 create new chi : 0.49237990379333496 time to delete rle : 0.0005850791931152344 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++Number RLEs to save : 3914 TO DO : save crop sub photo not yet done ! save time : 0.293964147567749 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.06556367874145508 time for calcul the mask position with numpy : 0.02020120620727539 nb_pixel_total : 2018990 time to create 1 rle with new method : 0.17711877822875977 time for calcul the mask position with numpy : 0.0064754486083984375 nb_pixel_total : 14909 time to create 1 rle with old method : 0.018104076385498047 time for calcul the mask position with numpy : 0.006781339645385742 nb_pixel_total : 11737 time to create 1 rle with old method : 0.014727354049682617 time for calcul the mask position with numpy : 0.006705045700073242 nb_pixel_total : 14421 time to create 1 rle with old method : 0.017214536666870117 time for calcul the mask position with numpy : 0.006620168685913086 nb_pixel_total : 3241 time to create 1 rle with old method : 0.004274129867553711 time for calcul the mask position with numpy : 0.0065801143646240234 nb_pixel_total : 10302 time to create 1 rle with old method : 0.012446880340576172 create new chi : 0.2978358268737793 time to delete rle : 0.0004978179931640625 batch 1 Loaded 11 chid ids of type : 3594 +++++++++Number RLEs to save : 2828 TO DO : save crop sub photo not yet done ! save time : 0.6887485980987549 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.0780177116394043 time for calcul the mask position with numpy : 0.06412744522094727 nb_pixel_total : 1873219 time to create 1 rle with new method : 0.17946362495422363 time for calcul the mask position with numpy : 0.011134624481201172 nb_pixel_total : 107316 time to create 1 rle with old method : 0.12967777252197266 time for calcul the mask position with numpy : 0.010997295379638672 nb_pixel_total : 66950 time to create 1 rle with old method : 0.08637595176696777 time for calcul the mask position with numpy : 0.01145625114440918 nb_pixel_total : 13530 time to create 1 rle with old method : 0.017644405364990234 time for calcul the mask position with numpy : 0.010480880737304688 nb_pixel_total : 12585 time to create 1 rle with old method : 0.016171932220458984 create new chi : 0.5483095645904541 time to delete rle : 0.0005812644958496094 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 3528 TO DO : save crop sub photo not yet done ! save time : 0.4136233329772949 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 0.3491964340209961 time for calcul the mask position with numpy : 0.05415487289428711 nb_pixel_total : 1833839 time to create 1 rle with new method : 0.23626112937927246 time for calcul the mask position with numpy : 0.010354042053222656 nb_pixel_total : 20753 time to create 1 rle with old method : 0.023052692413330078 time for calcul the mask position with numpy : 0.0059051513671875 nb_pixel_total : 8793 time to create 1 rle with old method : 0.010381221771240234 time for calcul the mask position with numpy : 0.010290861129760742 nb_pixel_total : 17966 time to create 1 rle with old method : 0.01970076560974121 time for calcul the mask position with numpy : 0.01040339469909668 nb_pixel_total : 30139 time to create 1 rle with old method : 0.03366684913635254 time for calcul the mask position with numpy : 0.010813713073730469 nb_pixel_total : 112994 time to create 1 rle with old method : 0.12533187866210938 time for calcul the mask position with numpy : 0.006134748458862305 nb_pixel_total : 3398 time to create 1 rle with old method : 0.0041925907135009766 time for calcul the mask position with numpy : 0.005924701690673828 nb_pixel_total : 23006 time to create 1 rle with old method : 0.028232812881469727 time for calcul the mask position with numpy : 0.0059702396392822266 nb_pixel_total : 13606 time to create 1 rle with old method : 0.01728534698486328 time for calcul the mask position with numpy : 0.0062520503997802734 nb_pixel_total : 9106 time to create 1 rle with old method : 0.011328697204589844 create new chi : 0.6462235450744629 time to delete rle : 0.0008087158203125 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++Number RLEs to save : 4604 TO DO : save crop sub photo not yet done ! save time : 0.6814215183258057 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.07612991333007812 time for calcul the mask position with numpy : 0.024231672286987305 nb_pixel_total : 1975477 time to create 1 rle with new method : 0.03708767890930176 time for calcul the mask position with numpy : 0.011300325393676758 nb_pixel_total : 51988 time to create 1 rle with old method : 0.06075596809387207 time for calcul the mask position with numpy : 0.006683349609375 nb_pixel_total : 24662 time to create 1 rle with old method : 0.028679609298706055 time for calcul the mask position with numpy : 0.0068743228912353516 nb_pixel_total : 21473 time to create 1 rle with old method : 0.025244951248168945 create new chi : 0.2088758945465088 time to delete rle : 0.0004487037658691406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2504 TO DO : save crop sub photo not yet done ! save time : 0.21941900253295898 map_output_result : {1379832491: (0.0, 'Should be the crop_list due to order', 0), 1379832488: (0.0, 'Should be the crop_list due to order', 0), 1379832484: (0.0, 'Should be the crop_list due to order', 0), 1379832464: (0.0, 'Should be the crop_list due to order', 0), 1379832447: (0.0, 'Should be the crop_list due to order', 0), 1379832424: (0.0, 'Should be the crop_list due to order', 0), 1379832399: (0.0, 'Should be the crop_list due to order', 0), 1379832397: (0.0, 'Should be the crop_list due to order', 0), 1379832396: (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 [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] Looping around the photos to save general results len do output : 9 /1379832491.Didn't retrieve data . /1379832488.Didn't retrieve data . /1379832484.Didn't retrieve data . /1379832464.Didn't retrieve data . /1379832447.Didn't retrieve data . /1379832424.Didn't retrieve data . /1379832399.Didn't retrieve data . /1379832397.Didn't retrieve data . /1379832396.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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.015161991119384766 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.647381782531738 time spend to save output : 0.015630722045898438 total time spend for step 3 : 11.663012504577637 step4:ventilate_hashtags_in_portfolio Fri Aug 29 01:41:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26311632 get user id for portfolio 26311632 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`=26311632 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','pet_clair','metal','pehd','papier','pet_fonce','background','environnement','flou','autre')) 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`=26311632 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','pet_clair','metal','pehd','papier','pet_fonce','background','environnement','flou','autre')) 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`=26311632 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','pet_clair','metal','pehd','papier','pet_fonce','background','environnement','flou','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26312606,26312607,26312608,26312609,26312610,26312611,26312612,26312613,26312614,26312615,26312616?tags=carton,mal_croppe,pet_clair,metal,pehd,papier,pet_fonce,background,environnement,flou,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] Looping around the photos to save general results len do output : 1 /26311632. 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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01443624496459961 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2460591793060303 time spend to save output : 0.014714479446411133 total time spend for step 4 : 2.2607736587524414 step5:final Fri Aug 29 01:41:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1379832491: ('0.11965920781893005',), 1379832488: ('0.11965920781893005',), 1379832484: ('0.11965920781893005',), 1379832464: ('0.11965920781893005',), 1379832447: ('0.11965920781893005',), 1379832424: ('0.11965920781893005',), 1379832399: ('0.11965920781893005',), 1379832397: ('0.11965920781893005',), 1379832396: ('0.11965920781893005',)} new output for save of step final : {1379832491: ('0.11965920781893005',), 1379832488: ('0.11965920781893005',), 1379832484: ('0.11965920781893005',), 1379832464: ('0.11965920781893005',), 1379832447: ('0.11965920781893005',), 1379832424: ('0.11965920781893005',), 1379832399: ('0.11965920781893005',), 1379832397: ('0.11965920781893005',), 1379832396: ('0.11965920781893005',)} [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] Looping around the photos to save general results len do output : 9 /1379832491.Didn't retrieve data . /1379832488.Didn't retrieve data . /1379832484.Didn't retrieve data . /1379832464.Didn't retrieve data . /1379832447.Didn't retrieve data . /1379832424.Didn't retrieve data . /1379832399.Didn't retrieve data . /1379832397.Didn't retrieve data . /1379832396.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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.014868021011352539 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12162566184997559 time spend to save output : 0.01548314094543457 total time spend for step 5 : 0.13710880279541016 step6:blur_detection Fri Aug 29 01:41:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c.jpg resize: (1080, 1920) 1379832491 1.7999811642466208 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0.jpg resize: (1080, 1920) 1379832488 1.6188823943380577 treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2.jpg resize: (1080, 1920) 1379832484 0.8250124716272857 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f.jpg resize: (1080, 1920) 1379832464 1.5251780922290668 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7.jpg resize: (1080, 1920) 1379832447 1.2204532854479309 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3.jpg resize: (1080, 1920) 1379832424 0.22772974164263676 treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e.jpg resize: (1080, 1920) 1379832399 1.3585594287492582 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b.jpg resize: (1080, 1920) 1379832397 3.957688070548739 treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1.jpg resize: (1080, 1920) 1379832396 1.127538038789115 treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877716_0.png resize: (101, 168) 1380013411 -0.5000799418143168 treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877717_0.png resize: (216, 303) 1380013412 -1.9413206910893077 treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877718_0.png resize: (147, 279) 1380013413 -2.405566316436381 treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877719_0.png resize: (47, 92) 1380013414 -2.026306395588926 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877720_0.png resize: (193, 131) 1380013415 -0.43500316533011096 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877721_0.png resize: (120, 121) 1380013416 -1.8719687216624668 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877722_0.png resize: (110, 148) 1380013417 -1.4526575050530743 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877724_0.png resize: (142, 166) 1380013418 -0.8059622169400927 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877726_0.png resize: (225, 145) 1380013419 -0.5210929842586522 treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877727_0.png resize: (156, 161) 1380013420 -0.9748486811593355 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877731_0.png resize: (68, 61) 1380013421 1.164131044464327 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877732_0.png resize: (151, 150) 1380013422 -2.256450555323012 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877739_0.png resize: (188, 130) 1380013423 -0.42223118547894284 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877740_0.png resize: (156, 104) 1380013424 0.8837707544654356 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877742_0.png resize: (123, 126) 1380013425 -0.055940275556026556 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877744_0.png resize: (140, 139) 1380013426 -0.9790082302727726 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877747_0.png resize: (120, 132) 1380013427 -1.3445108976095468 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877750_0.png resize: (189, 108) 1380013428 -0.5272995639055963 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877751_0.png resize: (235, 233) 1380013429 -1.6781631794592236 treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877752_0.png resize: (193, 123) 1380013430 -0.5076493780718786 treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877754_0.png resize: (299, 409) 1380013431 -1.0895186439780256 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877757_0.png resize: (127, 187) 1380013432 -1.1211753147423305 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877759_0.png resize: (65, 91) 1380013433 -1.089184393773564 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877763_0.png resize: (62, 170) 1380013434 3.5226102307260483 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877764_0.png resize: (163, 167) 1380013435 1.5662421545877 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877748_0.png resize: (63, 72) 1380013439 -0.548704499731572 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877736_0.png resize: (45, 144) 1380013443 -1.2896779721326173 treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877715_0.png resize: (532, 338) 1380013450 0.3310731048967673 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877725_0.png resize: (1005, 1306) 1380013451 0.04008177395484815 treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877728_0.png resize: (143, 160) 1380013452 -0.7754921751414348 treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877729_0.png resize: (206, 214) 1380013453 -0.8171991999271703 treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877730_0.png resize: (531, 334) 1380013454 0.4543232299459998 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877733_0.png resize: (171, 137) 1380013455 -0.2864726245780429 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877734_0.png resize: (215, 138) 1380013456 1.5873013714764939 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877735_0.png resize: (124, 72) 1380013457 -1.0364827079740881 treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877737_0.png resize: (102, 154) 1380013458 -3.0895193329561517 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877738_0.png resize: (210, 284) 1380013459 -0.4171845826754505 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877741_0.png resize: (96, 166) 1380013460 0.9032246012189722 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877743_0.png resize: (193, 125) 1380013461 -1.5848639606172488 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877745_0.png resize: (99, 93) 1380013463 1.024165719357362 treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877746_0.png resize: (84, 95) 1380013464 1.866010246918655 treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877753_0.png resize: (151, 113) 1380013465 -0.20877377554259768 treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877755_0.png resize: (548, 334) 1380013467 -0.5808249941039488 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877756_0.png resize: (100, 106) 1380013468 2.442542530042324 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877758_0.png resize: (257, 191) 1380013470 -1.4202771230087805 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877760_0.png resize: (527, 350) 1380013471 -0.10238659736447983 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877761_0.png resize: (244, 174) 1380013472 -0.19476186946078577 treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877762_0.png resize: (208, 118) 1380013473 0.6113106438450763 treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877765_0.png resize: (218, 151) 1380013474 -2.1785403140764155 treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877766_0.png resize: (155, 192) 1380013475 3.382069308203091 treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877767_0.png resize: (218, 316) 1380013476 -1.1270179021324893 treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877723_0.png resize: (190, 101) 1380013477 1.2201791717162425 treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877749_0.png resize: (109, 141) 1380013479 1.530186135972686 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 : 62 time used for this insertion : 0.015956401824951172 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.018669605255126953 save missing photos in datou_result : time spend for datou_step_exec : 8.369850635528564 time spend to save output : 0.03957772254943848 total time spend for step 6 : 8.409428358078003 step7:brightness Fri Aug 29 01:41:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c.jpg treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0.jpg treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2.jpg treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f.jpg treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7.jpg treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3.jpg treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e.jpg treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b.jpg treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1.jpg treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877716_0.png treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877717_0.png treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877718_0.png treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877719_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877720_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877721_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877722_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877724_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877726_0.png treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877727_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877731_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877732_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877739_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877740_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877742_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877744_0.png treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877747_0.png treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877750_0.png treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877751_0.png treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877752_0.png treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877754_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877757_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877759_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877763_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877764_0.png treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877748_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877736_0.png treat image : temp/1756424427_1226817_1379832491_5c48c1b2e50d56c7746dc6e0d18d6e7c_rle_crop_3934877715_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877725_0.png treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877728_0.png treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877729_0.png treat image : temp/1756424427_1226817_1379832484_93d36cb75725ea9bf4747eabe3015dd2_rle_crop_3934877730_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877733_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877734_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877735_0.png treat image : temp/1756424427_1226817_1379832464_47c769d53555db22ed1b8ef8d1e4354f_rle_crop_3934877737_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877738_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877741_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877743_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877745_0.png treat image : temp/1756424427_1226817_1379832447_d02616265ae77df2b6445dda380d35a7_rle_crop_3934877746_0.png treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877753_0.png treat image : temp/1756424427_1226817_1379832399_590b84edc5a340ab2fb015410768335e_rle_crop_3934877755_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877756_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877758_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877760_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877761_0.png treat image : temp/1756424427_1226817_1379832397_d1bc4db8c15299019b05b2fd0aa5801b_rle_crop_3934877762_0.png treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877765_0.png treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877766_0.png treat image : temp/1756424427_1226817_1379832396_f949c00e5844225599632c4bf992dbd1_rle_crop_3934877767_0.png treat image : temp/1756424427_1226817_1379832488_6f8ee2765b9d98fd37fa7d97b51144b0_rle_crop_3934877723_0.png treat image : temp/1756424427_1226817_1379832424_63ff03b44d2a73a8ee604722e5dbfaf3_rle_crop_3934877749_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 : 62 time used for this insertion : 0.016648292541503906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.12041687965393066 save missing photos in datou_result : time spend for datou_step_exec : 2.370225429534912 time spend to save output : 0.1418759822845459 total time spend for step 7 : 2.512101411819458 step8:velours_tree Fri Aug 29 01:41: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 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.1433401107788086 time spend to save output : 4.410743713378906e-05 total time spend for step 8 : 0.14338421821594238 step9:send_mail_cod Fri Aug 29 01:41: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 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_P26311632_29-08-2025_01_41_56.pdf 26312606 change filename to text .imagette263126061756424516 26312607 imagette263126071756424516 26312608 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263126081756424516 26312609 change filename to text .imagette263126091756424517 26312610 change filename to text .imagette263126101756424517 26312611 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263126111756424517 26312612 change filename to text .imagette263126121756424519 26312613 imagette263126131756424519 26312615 imagette263126151756424519 26312616 imagette263126161756424519 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26311632 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26312606,26312607,26312608,26312609,26312610,26312611,26312612,26312613,26312614,26312615,26312616?tags=carton,mal_croppe,pet_clair,metal,pehd,papier,pet_fonce,background,environnement,flou,autre args[1379832491] : ((1379832491, 1.7999811642466208, 492688767), (1379832491, 0.4833116432058032, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832488] : ((1379832488, 1.6188823943380577, 492688767), (1379832488, 0.37715090277207214, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832484] : ((1379832484, 0.8250124716272857, 492688767), (1379832484, 0.7670342122357563, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832464] : ((1379832464, 1.5251780922290668, 492688767), (1379832464, 0.4589322033927016, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832447] : ((1379832447, 1.2204532854479309, 492688767), (1379832447, 0.5639174895173605, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832424] : ((1379832424, 0.22772974164263676, 492688767), (1379832424, 0.21539642131482611, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832399] : ((1379832399, 1.3585594287492582, 492688767), (1379832399, 0.5291730318815685, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832397] : ((1379832397, 3.957688070548739, 492688767), (1379832397, 0.39939169703428706, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com args[1379832396] : ((1379832396, 1.127538038789115, 492688767), (1379832396, 0.4314039259002093, 2107752395), '0.11965920781893005') We are sending mail with results at report@fotonower.com refus_total : 0.11965920781893005 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=26311632 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_P26311632_29-08-2025_01_41_56.pdf results_Auto_P26311632_29-08-2025_01_41_56.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311632_29-08-2025_01_41_56.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','26311632','results_Auto_P26311632_29-08-2025_01_41_56.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311632_29-08-2025_01_41_56.pdf','pdf','','0.22','0.11965920781893005') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26311632

https://www.fotonower.com/image?json=false&list_photos_id=1379832491
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7999811642466208)
https://www.fotonower.com/image?json=false&list_photos_id=1379832488
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6188823943380577)
https://www.fotonower.com/image?json=false&list_photos_id=1379832484
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379832464
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5251780922290668)
https://www.fotonower.com/image?json=false&list_photos_id=1379832447
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2204532854479309)
https://www.fotonower.com/image?json=false&list_photos_id=1379832424
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379832399
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3585594287492582)
https://www.fotonower.com/image?json=false&list_photos_id=1379832397
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.957688070548739)
https://www.fotonower.com/image?json=false&list_photos_id=1379832396
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.127538038789115)

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

exemples de contaminants: carton: https://www.fotonower.com/view/26312606?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26312608?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26312609?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/26312610?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26312611?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26312612?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311632_29-08-2025_01_41_56.pdf.

Lien vers velours :https://www.fotonower.com/velours/26312606,26312607,26312608,26312609,26312610,26312611,26312612,26312613,26312614,26312615,26312616?tags=carton,mal_croppe,pet_clair,metal,pehd,papier,pet_fonce,background,environnement,flou,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 28 Aug 2025 23:42:00 GMT Content-Length: 0 Connection: close X-Message-Id: nE4kZQxKRtOoJVW5HR6Zag 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 [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] 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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015282392501831055 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.330198764801025 time spend to save output : 0.015500545501708984 total time spend for step 9 : 4.345699310302734 step10:split_time_score Fri Aug 29 01:42:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('09', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28082025 26311632 Nombre de photos uploadées : 9 / 23040 (0%) 28082025 26311632 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 28082025 26311632 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 1.52587890625e-05 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006308555603027344 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21264004707336426 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.19486290616426608 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26288806_28-08-2025_09_53_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26288806 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`=26288806 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311624 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311626 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311630 order by id desc limit 1 Qualite : 0.11965920781893005 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311632_29-08-2025_01_41_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311632 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`=26311632 AND mptpi.`type`=3594 To do Qualite : 0.13414020704732513 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311634_29-08-2025_01_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311634 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`=26311634 AND mptpi.`type`=3594 To do Qualite : 0.11010862750771606 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311656_29-08-2025_01_21_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311656 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`=26311656 AND mptpi.`type`=3594 To do Qualite : 0.1089614478845165 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311658_29-08-2025_01_12_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311658 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`=26311658 AND mptpi.`type`=3594 To do Qualite : 0.08115825135030867 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311680_29-08-2025_01_02_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311680 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`=26311680 AND mptpi.`type`=3594 To do Qualite : 0.08495456104252402 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311682_29-08-2025_00_52_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311682 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`=26311682 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28082025': {'nb_upload': 9, '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 [1379832491, 1379832488, 1379832484, 1379832464, 1379832447, 1379832424, 1379832399, 1379832397, 1379832396] Looping around the photos to save general results len do output : 1 /26311632Didn'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, '3630146') ('3318', '26311632', '1379832491', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832488', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832484', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832464', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832447', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832424', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832399', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832397', None, None, None, None, None, '3630146') ('3318', None, None, None, None, None, None, None, '3630146') ('3318', '26311632', '1379832396', None, None, None, None, None, '3630146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01646256446838379 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8157777786254883 time spend to save output : 0.016698837280273438 total time spend for step 10 : 3.8324766159057617 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 44.06user 21.99system 1:40.00elapsed 66%CPU (0avgtext+0avgdata 2884972maxresident)k 571376inputs+19576outputs (1364major+1825463minor)pagefaults 0swaps