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 : 1858012 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 : ['3570567'] with mtr_portfolio_ids : ['26130256'] and first list_photo_ids : [] new path : /proc/1858012/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.8193814754486084 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 22 02:10:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10391 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-22 02:10:34.218306: 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-22 02:10:34.248518: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-22 02:10:34.250831: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1340000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-22 02:10:34.250903: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-22 02:10:34.255057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-22 02:10:34.440160: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3d7208e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-22 02:10:34.440217: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-22 02:10:34.441281: 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-22 02:10:34.441615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 02:10:34.444643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 02:10:34.447344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 02:10:34.447834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 02:10:34.450480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 02:10:34.451529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 02:10:34.455801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 02:10:34.457324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 02:10:34.457402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 02:10:34.458314: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 02:10:34.458332: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 02:10:34.458343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 02:10:34.460007: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9481 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-22 02:10:34.761680: 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-22 02:10:34.761765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 02:10:34.761784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 02:10:34.761800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 02:10:34.761816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 02:10:34.761830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 02:10:34.761846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 02:10:34.761862: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 02:10:34.763158: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 02:10:34.764488: 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-22 02:10:34.764532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 02:10:34.764550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 02:10:34.764564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 02:10:34.764581: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 02:10:34.764598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 02:10:34.764613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 02:10:34.764627: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 02:10:34.765953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 02:10:34.765983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 02:10:34.765992: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 02:10:34.765999: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 02:10:34.767371: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9481 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-22 02:10:48.403848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 02:10:48.579458: 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 : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 39 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 22 Detection mask done ! Trying to reset tf kernel 1858636 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1325 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 6614 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.0037848949432373047 nb_pixel_total : 105811 time to create 1 rle with old method : 0.11824846267700195 length of segment : 340 time for calcul the mask position with numpy : 0.0038793087005615234 nb_pixel_total : 148444 time to create 1 rle with old method : 0.16765046119689941 length of segment : 320 time for calcul the mask position with numpy : 0.0014913082122802734 nb_pixel_total : 73126 time to create 1 rle with old method : 0.08196854591369629 length of segment : 337 time for calcul the mask position with numpy : 0.0005946159362792969 nb_pixel_total : 20571 time to create 1 rle with old method : 0.029186487197875977 length of segment : 181 time for calcul the mask position with numpy : 0.0006117820739746094 nb_pixel_total : 22944 time to create 1 rle with old method : 0.0259549617767334 length of segment : 195 time for calcul the mask position with numpy : 0.0007009506225585938 nb_pixel_total : 22621 time to create 1 rle with old method : 0.025783300399780273 length of segment : 183 time for calcul the mask position with numpy : 0.002771139144897461 nb_pixel_total : 109255 time to create 1 rle with old method : 0.12693476676940918 length of segment : 548 time for calcul the mask position with numpy : 0.0014219284057617188 nb_pixel_total : 68206 time to create 1 rle with old method : 0.07657480239868164 length of segment : 314 time for calcul the mask position with numpy : 0.0009620189666748047 nb_pixel_total : 38498 time to create 1 rle with old method : 0.04523468017578125 length of segment : 335 time for calcul the mask position with numpy : 0.0025565624237060547 nb_pixel_total : 125387 time to create 1 rle with old method : 0.14195847511291504 length of segment : 412 time for calcul the mask position with numpy : 0.0020029544830322266 nb_pixel_total : 75249 time to create 1 rle with old method : 0.09324240684509277 length of segment : 660 time for calcul the mask position with numpy : 0.000865936279296875 nb_pixel_total : 30993 time to create 1 rle with old method : 0.05083417892456055 length of segment : 315 time for calcul the mask position with numpy : 0.0020978450775146484 nb_pixel_total : 121840 time to create 1 rle with old method : 0.14017152786254883 length of segment : 391 time for calcul the mask position with numpy : 0.0011987686157226562 nb_pixel_total : 64672 time to create 1 rle with old method : 0.07546687126159668 length of segment : 320 time for calcul the mask position with numpy : 0.0002846717834472656 nb_pixel_total : 7144 time to create 1 rle with old method : 0.008055686950683594 length of segment : 217 time for calcul the mask position with numpy : 0.0014035701751708984 nb_pixel_total : 81908 time to create 1 rle with old method : 0.08704090118408203 length of segment : 379 time for calcul the mask position with numpy : 0.0004570484161376953 nb_pixel_total : 19782 time to create 1 rle with old method : 0.02165508270263672 length of segment : 234 time for calcul the mask position with numpy : 0.0006570816040039062 nb_pixel_total : 48823 time to create 1 rle with old method : 0.056343793869018555 length of segment : 227 time for calcul the mask position with numpy : 0.00046634674072265625 nb_pixel_total : 33050 time to create 1 rle with old method : 0.03625917434692383 length of segment : 258 time for calcul the mask position with numpy : 0.0003876686096191406 nb_pixel_total : 20439 time to create 1 rle with old method : 0.022817134857177734 length of segment : 187 time for calcul the mask position with numpy : 0.004904985427856445 nb_pixel_total : 216019 time to create 1 rle with new method : 0.012285470962524414 length of segment : 410 time for calcul the mask position with numpy : 0.00041103363037109375 nb_pixel_total : 7971 time to create 1 rle with old method : 0.00980234146118164 length of segment : 75 time for calcul the mask position with numpy : 0.0426173210144043 nb_pixel_total : 370526 time to create 1 rle with new method : 0.03167080879211426 length of segment : 861 time for calcul the mask position with numpy : 0.002693653106689453 nb_pixel_total : 210221 time to create 1 rle with new method : 0.008366823196411133 length of segment : 387 time for calcul the mask position with numpy : 0.003537416458129883 nb_pixel_total : 176920 time to create 1 rle with new method : 0.009040594100952148 length of segment : 352 time for calcul the mask position with numpy : 0.0007734298706054688 nb_pixel_total : 26729 time to create 1 rle with old method : 0.03093433380126953 length of segment : 221 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 7029 time to create 1 rle with old method : 0.008211612701416016 length of segment : 82 time for calcul the mask position with numpy : 0.0049855709075927734 nb_pixel_total : 385156 time to create 1 rle with new method : 0.026253938674926758 length of segment : 927 time for calcul the mask position with numpy : 0.000978231430053711 nb_pixel_total : 65207 time to create 1 rle with old method : 0.07474160194396973 length of segment : 343 time for calcul the mask position with numpy : 0.0004856586456298828 nb_pixel_total : 34229 time to create 1 rle with old method : 0.03908824920654297 length of segment : 315 time for calcul the mask position with numpy : 0.0004055500030517578 nb_pixel_total : 18768 time to create 1 rle with old method : 0.021706819534301758 length of segment : 180 time for calcul the mask position with numpy : 0.0029859542846679688 nb_pixel_total : 170155 time to create 1 rle with new method : 0.013284444808959961 length of segment : 810 time for calcul the mask position with numpy : 0.0037512779235839844 nb_pixel_total : 75533 time to create 1 rle with old method : 0.10810065269470215 length of segment : 219 time for calcul the mask position with numpy : 0.0014090538024902344 nb_pixel_total : 31845 time to create 1 rle with old method : 0.04099845886230469 length of segment : 397 time for calcul the mask position with numpy : 0.0061893463134765625 nb_pixel_total : 113051 time to create 1 rle with old method : 0.12705230712890625 length of segment : 293 time for calcul the mask position with numpy : 0.005537986755371094 nb_pixel_total : 78890 time to create 1 rle with old method : 0.08913779258728027 length of segment : 486 time for calcul the mask position with numpy : 0.0008144378662109375 nb_pixel_total : 13241 time to create 1 rle with old method : 0.017507553100585938 length of segment : 111 time for calcul the mask position with numpy : 0.0007250308990478516 nb_pixel_total : 6722 time to create 1 rle with old method : 0.009041786193847656 length of segment : 107 time for calcul the mask position with numpy : 0.00029754638671875 nb_pixel_total : 7329 time to create 1 rle with old method : 0.009012699127197266 length of segment : 233 time for calcul the mask position with numpy : 0.0022890567779541016 nb_pixel_total : 41014 time to create 1 rle with old method : 0.05820202827453613 length of segment : 222 time for calcul the mask position with numpy : 0.0017120838165283203 nb_pixel_total : 39350 time to create 1 rle with old method : 0.04715538024902344 length of segment : 266 time for calcul the mask position with numpy : 0.0003235340118408203 nb_pixel_total : 10691 time to create 1 rle with old method : 0.012851715087890625 length of segment : 122 time for calcul the mask position with numpy : 0.0012645721435546875 nb_pixel_total : 23997 time to create 1 rle with old method : 0.028520584106445312 length of segment : 190 time for calcul the mask position with numpy : 0.002887725830078125 nb_pixel_total : 45275 time to create 1 rle with old method : 0.06876826286315918 length of segment : 332 time for calcul the mask position with numpy : 0.009100198745727539 nb_pixel_total : 209311 time to create 1 rle with new method : 0.02307438850402832 length of segment : 794 time for calcul the mask position with numpy : 0.0015411376953125 nb_pixel_total : 34254 time to create 1 rle with old method : 0.03922772407531738 length of segment : 199 time for calcul the mask position with numpy : 0.0005924701690673828 nb_pixel_total : 24702 time to create 1 rle with old method : 0.028761625289916992 length of segment : 191 time for calcul the mask position with numpy : 0.0022225379943847656 nb_pixel_total : 104773 time to create 1 rle with old method : 0.12018847465515137 length of segment : 266 time for calcul the mask position with numpy : 0.001033782958984375 nb_pixel_total : 38719 time to create 1 rle with old method : 0.04295754432678223 length of segment : 281 time for calcul the mask position with numpy : 0.008172750473022461 nb_pixel_total : 218580 time to create 1 rle with new method : 0.03170204162597656 length of segment : 736 time for calcul the mask position with numpy : 0.0009305477142333984 nb_pixel_total : 37274 time to create 1 rle with old method : 0.048418283462524414 length of segment : 301 time for calcul the mask position with numpy : 0.0009157657623291016 nb_pixel_total : 41290 time to create 1 rle with old method : 0.05605125427246094 length of segment : 275 time for calcul the mask position with numpy : 0.0036885738372802734 nb_pixel_total : 87916 time to create 1 rle with old method : 0.1417546272277832 length of segment : 513 time for calcul the mask position with numpy : 0.0023164749145507812 nb_pixel_total : 67334 time to create 1 rle with old method : 0.11379075050354004 length of segment : 283 time for calcul the mask position with numpy : 0.0018279552459716797 nb_pixel_total : 51604 time to create 1 rle with old method : 0.08461570739746094 length of segment : 265 time for calcul the mask position with numpy : 0.0005772113800048828 nb_pixel_total : 10993 time to create 1 rle with old method : 0.01534271240234375 length of segment : 177 time spent for convertir_results : 6.546757459640503 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 122 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 18575 save missing photos in datou_result : time spend for datou_step_exec : 53.99334120750427 time spend to save output : 1.0595738887786865 total time spend for step 1 : 55.05291509628296 step2:crop_condition Fri Aug 22 02:11:26 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 : 6 ! batch 1 Loaded 122 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 62 About to insert : list_path_to_insert length 62 new photo from crops ! About to upload 62 photos upload in portfolio : 3736932 init cache_photo without model_param we have 62 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755821495_1858012 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 62 photos in the portfolio 3736932 time of upload the photos Elapsed time : 13.980453252792358 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755821511_1858012 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.783135175704956 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 : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755821515_1858012 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8185710906982422 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 ! map_result returned by crop_photo_return_map_crop : length : 38 About to insert : list_path_to_insert length 38 new photo from crops ! About to upload 38 photos upload in portfolio : 3736932 init cache_photo without model_param we have 38 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755821528_1858012 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg 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 Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! we have uploaded 38 photos in the portfolio 3736932 time of upload the photos Elapsed time : 9.978761672973633 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] Looping around the photos to save general results len do output : 112 /1378391432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391656Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378391666Didn'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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 342 time used for this insertion : 0.050635337829589844 save_final save missing photos in datou_result : time spend for datou_step_exec : 51.95240902900696 time spend to save output : 0.055356502532958984 total time spend for step 2 : 52.00776553153992 step3:rle_unique_nms_with_priority Fri Aug 22 02:12:18 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 122 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 15 nb_hashtags : 3 time to prepare the origin masks : 9.668040752410889 time for calcul the mask position with numpy : 0.9812197685241699 nb_pixel_total : 7287948 time to create 1 rle with new method : 0.4751875400543213 time for calcul the mask position with numpy : 0.036081552505493164 nb_pixel_total : 147997 time to create 1 rle with old method : 0.16414856910705566 time for calcul the mask position with numpy : 0.035462141036987305 nb_pixel_total : 105544 time to create 1 rle with old method : 0.12409853935241699 time for calcul the mask position with numpy : 0.03447365760803223 nb_pixel_total : 22563 time to create 1 rle with old method : 0.025536298751831055 time for calcul the mask position with numpy : 0.034685611724853516 nb_pixel_total : 73265 time to create 1 rle with old method : 0.08080530166625977 time for calcul the mask position with numpy : 0.03393077850341797 nb_pixel_total : 7145 time to create 1 rle with old method : 0.010381937026977539 time for calcul the mask position with numpy : 0.037650108337402344 nb_pixel_total : 22867 time to create 1 rle with old method : 0.026327133178710938 time for calcul the mask position with numpy : 0.034423112869262695 nb_pixel_total : 38479 time to create 1 rle with old method : 0.043244123458862305 time for calcul the mask position with numpy : 0.035401105880737305 nb_pixel_total : 108959 time to create 1 rle with old method : 0.12171649932861328 time for calcul the mask position with numpy : 0.03441143035888672 nb_pixel_total : 20536 time to create 1 rle with old method : 0.023273944854736328 time for calcul the mask position with numpy : 0.03470110893249512 nb_pixel_total : 67611 time to create 1 rle with old method : 0.07572722434997559 time for calcul the mask position with numpy : 0.03465461730957031 nb_pixel_total : 78986 time to create 1 rle with old method : 0.0917351245880127 time for calcul the mask position with numpy : 0.03452467918395996 nb_pixel_total : 121630 time to create 1 rle with old method : 0.13514304161071777 time for calcul the mask position with numpy : 0.038600921630859375 nb_pixel_total : 125046 time to create 1 rle with old method : 0.15589189529418945 time for calcul the mask position with numpy : 0.03692817687988281 nb_pixel_total : 64523 time to create 1 rle with old method : 0.072174072265625 time for calcul the mask position with numpy : 0.03376626968383789 nb_pixel_total : 1301 time to create 1 rle with old method : 0.001528024673461914 create new chi : 3.181046724319458 time to delete rle : 0.028470277786254883 batch 1 Loaded 41 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 11541 TO DO : save crop sub photo not yet done ! save time : 0.7194352149963379 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 9.138712882995605 time for calcul the mask position with numpy : 0.5381934642791748 nb_pixel_total : 7558837 time to create 1 rle with new method : 0.6885600090026855 time for calcul the mask position with numpy : 0.045404672622680664 nb_pixel_total : 307500 time to create 1 rle with new method : 0.6740725040435791 time for calcul the mask position with numpy : 0.0402379035949707 nb_pixel_total : 7912 time to create 1 rle with old method : 0.00891566276550293 time for calcul the mask position with numpy : 0.03829240798950195 nb_pixel_total : 215723 time to create 1 rle with new method : 0.9272241592407227 time for calcul the mask position with numpy : 0.026814937591552734 nb_pixel_total : 195 time to create 1 rle with old method : 0.00040793418884277344 time for calcul the mask position with numpy : 0.027285099029541016 nb_pixel_total : 20439 time to create 1 rle with old method : 0.023011445999145508 time for calcul the mask position with numpy : 0.027229785919189453 nb_pixel_total : 33040 time to create 1 rle with old method : 0.03670811653137207 time for calcul the mask position with numpy : 0.027799367904663086 nb_pixel_total : 48775 time to create 1 rle with old method : 0.05426740646362305 time for calcul the mask position with numpy : 0.02602362632751465 nb_pixel_total : 19722 time to create 1 rle with old method : 0.022146940231323242 time for calcul the mask position with numpy : 0.028649568557739258 nb_pixel_total : 682 time to create 1 rle with old method : 0.0013909339904785156 time for calcul the mask position with numpy : 0.02743244171142578 nb_pixel_total : 81575 time to create 1 rle with old method : 0.09023427963256836 create new chi : 3.473275899887085 time to delete rle : 0.0012514591217041016 batch 1 Loaded 26 chid ids of type : 3594 ++++++++++Number RLEs to save : 7654 TO DO : save crop sub photo not yet done ! save time : 0.43256115913391113 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 5.36821985244751 time for calcul the mask position with numpy : 0.48388195037841797 nb_pixel_total : 7493643 time to create 1 rle with new method : 1.0845956802368164 time for calcul the mask position with numpy : 0.04661273956298828 nb_pixel_total : 16955 time to create 1 rle with old method : 0.019846439361572266 time for calcul the mask position with numpy : 0.032120466232299805 nb_pixel_total : 390200 time to create 1 rle with new method : 0.6179482936859131 time for calcul the mask position with numpy : 0.02558302879333496 nb_pixel_total : 7029 time to create 1 rle with old method : 0.007910490036010742 time for calcul the mask position with numpy : 0.02605152130126953 nb_pixel_total : 812 time to create 1 rle with old method : 0.0009136199951171875 time for calcul the mask position with numpy : 0.027006149291992188 nb_pixel_total : 175865 time to create 1 rle with new method : 0.8199925422668457 time for calcul the mask position with numpy : 0.027823209762573242 nb_pixel_total : 209896 time to create 1 rle with new method : 0.7605700492858887 create new chi : 4.111390113830566 time to delete rle : 0.0009634494781494141 batch 1 Loaded 18 chid ids of type : 3594 +++++++++++++Number RLEs to save : 6372 TO DO : save crop sub photo not yet done ! save time : 0.39044904708862305 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 3.0478291511535645 time for calcul the mask position with numpy : 0.6546428203582764 nb_pixel_total : 8006041 time to create 1 rle with new method : 1.8420379161834717 time for calcul the mask position with numpy : 0.0426483154296875 nb_pixel_total : 170155 time to create 1 rle with new method : 0.7351398468017578 time for calcul the mask position with numpy : 0.04283428192138672 nb_pixel_total : 18768 time to create 1 rle with old method : 0.02247905731201172 time for calcul the mask position with numpy : 0.047635555267333984 nb_pixel_total : 34229 time to create 1 rle with old method : 0.044516563415527344 time for calcul the mask position with numpy : 0.027309179306030273 nb_pixel_total : 65207 time to create 1 rle with old method : 0.07321453094482422 create new chi : 3.6058120727539062 time to delete rle : 0.0008022785186767578 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 5456 TO DO : save crop sub photo not yet done ! save time : 0.31935620307922363 nb_obj : 15 nb_hashtags : 2 time to prepare the origin masks : 4.374630928039551 time for calcul the mask position with numpy : 0.7975566387176514 nb_pixel_total : 7566991 time to create 1 rle with new method : 0.9608364105224609 time for calcul the mask position with numpy : 0.0343632698059082 nb_pixel_total : 13241 time to create 1 rle with old method : 0.01492166519165039 time for calcul the mask position with numpy : 0.034227848052978516 nb_pixel_total : 78890 time to create 1 rle with old method : 0.0884251594543457 time for calcul the mask position with numpy : 0.03445267677307129 nb_pixel_total : 31845 time to create 1 rle with old method : 0.040349483489990234 time for calcul the mask position with numpy : 0.03470897674560547 nb_pixel_total : 7329 time to create 1 rle with old method : 0.008312463760375977 time for calcul the mask position with numpy : 0.0349736213684082 nb_pixel_total : 205799 time to create 1 rle with new method : 0.5745654106140137 time for calcul the mask position with numpy : 0.03354072570800781 nb_pixel_total : 75533 time to create 1 rle with old method : 0.10998272895812988 time for calcul the mask position with numpy : 0.03421282768249512 nb_pixel_total : 418 time to create 1 rle with old method : 0.001027822494506836 time for calcul the mask position with numpy : 0.03426241874694824 nb_pixel_total : 23997 time to create 1 rle with old method : 0.027031660079956055 time for calcul the mask position with numpy : 0.03433418273925781 nb_pixel_total : 39350 time to create 1 rle with old method : 0.04378771781921387 time for calcul the mask position with numpy : 0.033669471740722656 nb_pixel_total : 6722 time to create 1 rle with old method : 0.007447719573974609 time for calcul the mask position with numpy : 0.037488460540771484 nb_pixel_total : 34254 time to create 1 rle with old method : 0.03757596015930176 time for calcul the mask position with numpy : 0.03384065628051758 nb_pixel_total : 41014 time to create 1 rle with old method : 0.045645952224731445 time for calcul the mask position with numpy : 0.033696651458740234 nb_pixel_total : 45275 time to create 1 rle with old method : 0.0500030517578125 time for calcul the mask position with numpy : 0.033879756927490234 nb_pixel_total : 10691 time to create 1 rle with old method : 0.011769533157348633 time for calcul the mask position with numpy : 0.03439760208129883 nb_pixel_total : 113051 time to create 1 rle with old method : 0.12374615669250488 create new chi : 3.5315959453582764 time to delete rle : 0.0011394023895263672 batch 1 Loaded 32 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 10133 TO DO : save crop sub photo not yet done ! save time : 0.5574886798858643 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 6.846543550491333 time for calcul the mask position with numpy : 0.6101076602935791 nb_pixel_total : 7611215 time to create 1 rle with new method : 1.0096933841705322 time for calcul the mask position with numpy : 0.03430032730102539 nb_pixel_total : 10993 time to create 1 rle with old method : 0.012160778045654297 time for calcul the mask position with numpy : 0.025156736373901367 nb_pixel_total : 51604 time to create 1 rle with old method : 0.05610394477844238 time for calcul the mask position with numpy : 0.024828672409057617 nb_pixel_total : 67334 time to create 1 rle with old method : 0.07310318946838379 time for calcul the mask position with numpy : 0.025568485260009766 nb_pixel_total : 87916 time to create 1 rle with old method : 0.10099363327026367 time for calcul the mask position with numpy : 0.029041528701782227 nb_pixel_total : 41290 time to create 1 rle with old method : 0.04612541198730469 time for calcul the mask position with numpy : 0.0248258113861084 nb_pixel_total : 37274 time to create 1 rle with old method : 0.0421290397644043 time for calcul the mask position with numpy : 0.028934955596923828 nb_pixel_total : 218580 time to create 1 rle with new method : 0.7957005500793457 time for calcul the mask position with numpy : 0.025626420974731445 nb_pixel_total : 38719 time to create 1 rle with old method : 0.04232954978942871 time for calcul the mask position with numpy : 0.028544187545776367 nb_pixel_total : 104773 time to create 1 rle with old method : 0.11345076560974121 time for calcul the mask position with numpy : 0.024721860885620117 nb_pixel_total : 24702 time to create 1 rle with old method : 0.02692866325378418 create new chi : 3.261496067047119 time to delete rle : 0.0010576248168945312 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++Number RLEs to save : 8736 TO DO : save crop sub photo not yet done ! save time : 0.45615696907043457 map_output_result : {1378169933: (0.0, 'Should be the crop_list due to order', 0), 1378169930: (0.0, 'Should be the crop_list due to order', 0), 1378169918: (0.0, 'Should be the crop_list due to order', 0), 1378169917: (0.0, 'Should be the crop_list due to order', 0), 1378169906: (0.0, 'Should be the crop_list due to order', 0), 1378169904: (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 [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] Looping around the photos to save general results len do output : 6 /1378169933.Didn't retrieve data . /1378169930.Didn't retrieve data . /1378169918.Didn't retrieve data . /1378169917.Didn't retrieve data . /1378169906.Didn't retrieve data . /1378169904.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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.012356042861938477 save_final save missing photos in datou_result : time spend for datou_step_exec : 63.5999391078949 time spend to save output : 0.012757062911987305 total time spend for step 3 : 63.612696170806885 step4:ventilate_hashtags_in_portfolio Fri Aug 22 02:13:22 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 : 26130256 get user id for portfolio 26130256 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`=26130256 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','pet_fonce','metal','papier','mal_croppe','flou','environnement','background','carton')) 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`=26130256 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','pet_fonce','metal','papier','mal_croppe','flou','environnement','background','carton')) 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`=26130256 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','pet_fonce','metal','papier','mal_croppe','flou','environnement','background','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26130777,26130778,26130779,26130780,26130781,26130782,26130783,26130784,26130785,26130786,26130787?tags=autre,pet_clair,pehd,pet_fonce,metal,papier,mal_croppe,flou,environnement,background,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] Looping around the photos to save general results len do output : 1 /26130256. 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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.015036582946777344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.666548728942871 time spend to save output : 0.015281915664672852 total time spend for step 4 : 1.681830644607544 step5:final Fri Aug 22 02:13:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1378169933: ('0.08523270720807616',), 1378169930: ('0.08523270720807616',), 1378169918: ('0.08523270720807616',), 1378169917: ('0.08523270720807616',), 1378169906: ('0.08523270720807616',), 1378169904: ('0.08523270720807616',)} new output for save of step final : {1378169933: ('0.08523270720807616',), 1378169930: ('0.08523270720807616',), 1378169918: ('0.08523270720807616',), 1378169917: ('0.08523270720807616',), 1378169906: ('0.08523270720807616',), 1378169904: ('0.08523270720807616',)} [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] Looping around the photos to save general results len do output : 6 /1378169933.Didn't retrieve data . /1378169930.Didn't retrieve data . /1378169918.Didn't retrieve data . /1378169917.Didn't retrieve data . /1378169906.Didn't retrieve data . /1378169904.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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015867948532104492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1222238540649414 time spend to save output : 0.016247987747192383 total time spend for step 5 : 0.1384718418121338 step6:blur_detection Fri Aug 22 02:13:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs 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 : 6 time used for this insertion : 0.016783475875854492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.008890151977539062 save missing photos in datou_result : time spend for datou_step_exec : 0.020978689193725586 time spend to save output : 0.029529809951782227 total time spend for step 6 : 0.05050849914550781 step7:brightness Fri Aug 22 02:13:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs 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 : 6 time used for this insertion : 0.008087158203125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.007742643356323242 save missing photos in datou_result : time spend for datou_step_exec : 0.028170108795166016 time spend to save output : 0.020568132400512695 total time spend for step 7 : 0.04873824119567871 step8:velours_tree Fri Aug 22 02:13:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.10031366348266602 time spend to save output : 3.528594970703125e-05 total time spend for step 8 : 0.10034894943237305 step9:send_mail_cod Fri Aug 22 02:13:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 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_P26130256_22-08-2025_02_13_24.pdf 26130777 imagette261307771755821604 26130778 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 .imagette261307781755821604 26130779 imagette261307791755821605 26130780 imagette261307801755821605 26130781 change filename to text .change filename to text .imagette261307811755821605 26130782 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 .imagette261307821755821605 26130783 imagette261307831755821607 26130784 imagette261307841755821607 26130786 imagette261307861755821607 26130787 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 .imagette261307871755821607 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26130256 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26130777,26130778,26130779,26130780,26130781,26130782,26130783,26130784,26130785,26130786,26130787?tags=autre,pet_clair,pehd,pet_fonce,metal,papier,mal_croppe,flou,environnement,background,carton args[1378169933] : ((1378169933, -7.222567481061482, 492609224), (1378169933, 0.20879143927052585, 2107752395), '0.08523270720807616') We are sending mail with results at report@fotonower.com args[1378169930] : ((1378169930, -4.448033425443738, 492609224), (1378169930, -1.3912751212636536, 501862349), '0.08523270720807616') We are sending mail with results at report@fotonower.com args[1378169918] : ((1378169918, -5.984686412531253, 492609224), (1378169918, -0.6635967503630203, 501862349), '0.08523270720807616') We are sending mail with results at report@fotonower.com args[1378169917] : ((1378169917, -5.873334385354552, 492609224), (1378169917, -0.5894907677881366, 501862349), '0.08523270720807616') We are sending mail with results at report@fotonower.com args[1378169906] : ((1378169906, -6.790675842083348, 492609224), (1378169906, -0.21334761725142684, 496442774), '0.08523270720807616') We are sending mail with results at report@fotonower.com args[1378169904] : ((1378169904, -6.441669050094849, 492609224), (1378169904, -0.1557459592820371, 496442774), '0.08523270720807616') We are sending mail with results at report@fotonower.com refus_total : 0.08523270720807616 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=26130256 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_P26130256_22-08-2025_02_13_24.pdf results_Auto_P26130256_22-08-2025_02_13_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130256_22-08-2025_02_13_24.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','26130256','results_Auto_P26130256_22-08-2025_02_13_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130256_22-08-2025_02_13_24.pdf','pdf','','0.58','0.08523270720807616') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26130256

https://www.fotonower.com/image?json=false&list_photos_id=1378169933
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378169930
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378169918
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378169917
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378169906
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378169904
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26130778?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26130781?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26130782?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26130787?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130256_22-08-2025_02_13_24.pdf.

Lien vers velours :https://www.fotonower.com/velours/26130777,26130778,26130779,26130780,26130781,26130782,26130783,26130784,26130785,26130786,26130787?tags=autre,pet_clair,pehd,pet_fonce,metal,papier,mal_croppe,flou,environnement,background,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 22 Aug 2025 00:13:30 GMT Content-Length: 0 Connection: close X-Message-Id: -_0OsLpLSzi_Vo_UGxsfUg 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 [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] 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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014500141143798828 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.514622211456299 time spend to save output : 0.014724254608154297 total time spend for step 9 : 6.529346466064453 step10:split_time_score Fri Aug 22 02:13:30 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'}] (('06', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21082025 26130256 Nombre de photos uploadées : 6 / 23040 (0%) 21082025 26130256 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 21082025 26130256 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.0004572868347167969 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20163249969482422 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.04685447580100258 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26111535_21-08-2025_07_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26111535 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26111535 AND mptpi.`type`=3726 To do Qualite : 0.08523270720807616 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26130256_22-08-2025_02_13_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26130256 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`=26130256 AND mptpi.`type`=3594 To do Qualite : 0.04672428197752632 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26114898_21-08-2025_09_43_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26114898 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26114898 AND mptpi.`type`=3726 To do Qualite : 0.026215990910510526 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26117875_21-08-2025_11_42_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26117875 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26117875 AND mptpi.`type`=3726 To do Qualite : 0.027786742976433593 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26120361_22-08-2025_00_19_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26120361 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26120361 AND mptpi.`type`=3726 To do Qualite : 0.047652740189335546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26128188_22-08-2025_01_17_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26128188 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26128188 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21082025': {'nb_upload': 6, '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 [1378169933, 1378169930, 1378169918, 1378169917, 1378169906, 1378169904] Looping around the photos to save general results len do output : 1 /26130256Didn'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, '3570567') ('3318', '26130256', '1378169933', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169930', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169918', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169917', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169906', None, None, None, None, None, '3570567') ('3318', None, None, None, None, None, None, None, '3570567') ('3318', '26130256', '1378169904', None, None, None, None, None, '3570567') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.013072490692138672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7275316715240479 time spend to save output : 0.0133209228515625 total time spend for step 10 : 0.7408525943756104 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 72.19user 75.61system 3:05.32elapsed 79%CPU (0avgtext+0avgdata 4139720maxresident)k 518272inputs+113576outputs (138major+8582247minor)pagefaults 0swaps