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 : 321612 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 : ['2843458'] with mtr_portfolio_ids : ['22934039'] and first list_photo_ids : [] new path : /proc/321612/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.1551353931427002 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue May 13 22:10:27 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 : 4332 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-13 22:10:30.815664: 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-05-13 22:10:30.843042: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-13 22:10:30.845270: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff060000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-13 22:10:30.845333: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-13 22:10:30.849409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-13 22:10:31.098606: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xf8f7ef0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-13 22:10:31.098657: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-13 22:10:31.099797: 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-05-13 22:10:31.100193: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-13 22:10:31.107576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-13 22:10:31.110856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-13 22:10:31.111742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-13 22:10:31.115511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-13 22:10:31.116943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-13 22:10:31.122846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-13 22:10:31.123944: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-13 22:10:31.124021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-13 22:10:31.124613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-13 22:10:31.124628: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-13 22:10:31.124638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-13 22:10:31.125950: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3880 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-05-13 22:10:31.416374: 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-05-13 22:10:31.416453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-13 22:10:31.416473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-13 22:10:31.416491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-13 22:10:31.416509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-13 22:10:31.416526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-13 22:10:31.416543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-13 22:10:31.416560: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-13 22:10:31.417654: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-13 22:10:31.418656: 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-05-13 22:10:31.418690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-13 22:10:31.418709: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-13 22:10:31.418725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-13 22:10:31.418749: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-13 22:10:31.418776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-13 22:10:31.418795: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-13 22:10:31.418812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-13 22:10:31.419922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-13 22:10:31.419954: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-13 22:10:31.419964: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-13 22:10:31.419973: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-13 22:10:31.421101: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3880 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-05-13 22:10:44.283874: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-13 22:10:44.289589: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED 2025-05-13 22:10:44.292517: E tensorflow/stream_executor/cuda/cuda_blas.cc:238] failed to create cublas handle: CUBLAS_STATUS_NOT_INITIALIZED 2025-05-13 22:10:44.302793: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-13 22:10:44.317477: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-05-13 22:10:44.321489: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-05-13 22:10:48.703455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.29G (3533570048 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-13 22:10:49.501601: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-13 22:10:49.501672: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 16.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: 3264.00000 error in detect the image : temp/1747167026_321612_1357828808_39effee5b868956545fc5edf7217e916.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[mrcnn_detection/map/while/body/_1/PadV2/paddings/_94]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 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: 3264.00000 nb d'objets trouves : 35 NEW PHOTO Processing 1 images image shape: (2160, 3264, 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: 3264.00000 nb d'objets trouves : 37 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 2.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: 3264.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 74.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: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3264.00000 nb d'objets trouves : 34 Detection mask done ! Trying to reset tf kernel 321978 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 103 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 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 : 4332 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.0015110969543457031 nb_pixel_total : 43276 time to create 1 rle with old method : 0.04783344268798828 length of segment : 223 time for calcul the mask position with numpy : 0.02531147003173828 nb_pixel_total : 486131 time to create 1 rle with new method : 0.050173044204711914 length of segment : 932 time for calcul the mask position with numpy : 0.0021729469299316406 nb_pixel_total : 121310 time to create 1 rle with old method : 0.13133525848388672 length of segment : 295 time for calcul the mask position with numpy : 0.0007581710815429688 nb_pixel_total : 55865 time to create 1 rle with old method : 0.06112074851989746 length of segment : 278 time for calcul the mask position with numpy : 0.005045175552368164 nb_pixel_total : 301254 time to create 1 rle with new method : 0.9227323532104492 length of segment : 625 time for calcul the mask position with numpy : 0.00045228004455566406 nb_pixel_total : 24162 time to create 1 rle with old method : 0.029166698455810547 length of segment : 194 time for calcul the mask position with numpy : 0.0028412342071533203 nb_pixel_total : 97826 time to create 1 rle with old method : 0.11147475242614746 length of segment : 495 time for calcul the mask position with numpy : 0.0020651817321777344 nb_pixel_total : 58611 time to create 1 rle with old method : 0.06735587120056152 length of segment : 482 time for calcul the mask position with numpy : 0.0007936954498291016 nb_pixel_total : 23887 time to create 1 rle with old method : 0.027621984481811523 length of segment : 194 time for calcul the mask position with numpy : 0.0009672641754150391 nb_pixel_total : 57922 time to create 1 rle with old method : 0.06725144386291504 length of segment : 345 time for calcul the mask position with numpy : 0.0012128353118896484 nb_pixel_total : 37004 time to create 1 rle with old method : 0.047478675842285156 length of segment : 246 time for calcul the mask position with numpy : 0.0008397102355957031 nb_pixel_total : 30518 time to create 1 rle with old method : 0.03320765495300293 length of segment : 237 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 12069 time to create 1 rle with old method : 0.013437986373901367 length of segment : 111 time for calcul the mask position with numpy : 0.0012257099151611328 nb_pixel_total : 70014 time to create 1 rle with old method : 0.07785868644714355 length of segment : 394 time for calcul the mask position with numpy : 0.0011718273162841797 nb_pixel_total : 55269 time to create 1 rle with old method : 0.060407161712646484 length of segment : 283 time for calcul the mask position with numpy : 0.0017554759979248047 nb_pixel_total : 104851 time to create 1 rle with old method : 0.11619353294372559 length of segment : 342 time for calcul the mask position with numpy : 0.00041747093200683594 nb_pixel_total : 26995 time to create 1 rle with old method : 0.02978992462158203 length of segment : 290 time for calcul the mask position with numpy : 0.0009396076202392578 nb_pixel_total : 66309 time to create 1 rle with old method : 0.0733799934387207 length of segment : 281 time for calcul the mask position with numpy : 0.00048804283142089844 nb_pixel_total : 26946 time to create 1 rle with old method : 0.02994704246520996 length of segment : 266 time for calcul the mask position with numpy : 0.00028014183044433594 nb_pixel_total : 20005 time to create 1 rle with old method : 0.02343440055847168 length of segment : 139 time for calcul the mask position with numpy : 9.632110595703125e-05 nb_pixel_total : 2980 time to create 1 rle with old method : 0.0037813186645507812 length of segment : 54 time for calcul the mask position with numpy : 0.0009438991546630859 nb_pixel_total : 41160 time to create 1 rle with old method : 0.050188541412353516 length of segment : 288 time for calcul the mask position with numpy : 0.0032868385314941406 nb_pixel_total : 167496 time to create 1 rle with new method : 0.009636163711547852 length of segment : 662 time for calcul the mask position with numpy : 0.0006139278411865234 nb_pixel_total : 33651 time to create 1 rle with old method : 0.03676748275756836 length of segment : 198 time for calcul the mask position with numpy : 0.0008561611175537109 nb_pixel_total : 1245 time to create 1 rle with old method : 0.0015163421630859375 length of segment : 136 time for calcul the mask position with numpy : 0.0013763904571533203 nb_pixel_total : 43697 time to create 1 rle with old method : 0.049764394760131836 length of segment : 353 time for calcul the mask position with numpy : 0.0005910396575927734 nb_pixel_total : 38310 time to create 1 rle with old method : 0.04409074783325195 length of segment : 215 time for calcul the mask position with numpy : 0.003184795379638672 nb_pixel_total : 70011 time to create 1 rle with old method : 0.07711076736450195 length of segment : 333 time for calcul the mask position with numpy : 0.0007746219635009766 nb_pixel_total : 20409 time to create 1 rle with old method : 0.023768901824951172 length of segment : 199 time for calcul the mask position with numpy : 0.0006775856018066406 nb_pixel_total : 17451 time to create 1 rle with old method : 0.021059751510620117 length of segment : 203 time for calcul the mask position with numpy : 0.0019228458404541016 nb_pixel_total : 30443 time to create 1 rle with old method : 0.03647565841674805 length of segment : 228 time for calcul the mask position with numpy : 0.0023698806762695312 nb_pixel_total : 67434 time to create 1 rle with old method : 0.07686996459960938 length of segment : 276 time for calcul the mask position with numpy : 0.0002090930938720703 nb_pixel_total : 3229 time to create 1 rle with old method : 0.0037641525268554688 length of segment : 61 time for calcul the mask position with numpy : 0.0024175643920898438 nb_pixel_total : 75042 time to create 1 rle with old method : 0.08352947235107422 length of segment : 381 time for calcul the mask position with numpy : 0.0008320808410644531 nb_pixel_total : 22021 time to create 1 rle with old method : 0.02438068389892578 length of segment : 233 time for calcul the mask position with numpy : 0.002856731414794922 nb_pixel_total : 85848 time to create 1 rle with old method : 0.09398984909057617 length of segment : 467 time for calcul the mask position with numpy : 0.0008065700531005859 nb_pixel_total : 25202 time to create 1 rle with old method : 0.02817702293395996 length of segment : 273 time for calcul the mask position with numpy : 0.0027747154235839844 nb_pixel_total : 90351 time to create 1 rle with old method : 0.09917902946472168 length of segment : 381 time for calcul the mask position with numpy : 0.00025343894958496094 nb_pixel_total : 4857 time to create 1 rle with old method : 0.005441904067993164 length of segment : 97 time for calcul the mask position with numpy : 0.001538991928100586 nb_pixel_total : 60379 time to create 1 rle with old method : 0.06811141967773438 length of segment : 279 time for calcul the mask position with numpy : 0.0009531974792480469 nb_pixel_total : 31340 time to create 1 rle with old method : 0.03462576866149902 length of segment : 241 time for calcul the mask position with numpy : 0.0007379055023193359 nb_pixel_total : 23336 time to create 1 rle with old method : 0.02640056610107422 length of segment : 246 time for calcul the mask position with numpy : 0.0024912357330322266 nb_pixel_total : 68909 time to create 1 rle with old method : 0.0784139633178711 length of segment : 320 time for calcul the mask position with numpy : 0.0001964569091796875 nb_pixel_total : 6263 time to create 1 rle with old method : 0.0075452327728271484 length of segment : 112 time for calcul the mask position with numpy : 0.0007212162017822266 nb_pixel_total : 13343 time to create 1 rle with old method : 0.015609264373779297 length of segment : 149 time for calcul the mask position with numpy : 0.0005886554718017578 nb_pixel_total : 8712 time to create 1 rle with old method : 0.010141849517822266 length of segment : 176 time for calcul the mask position with numpy : 0.00040030479431152344 nb_pixel_total : 17241 time to create 1 rle with old method : 0.019918441772460938 length of segment : 395 time for calcul the mask position with numpy : 0.0024759769439697266 nb_pixel_total : 68081 time to create 1 rle with old method : 0.07612442970275879 length of segment : 451 time for calcul the mask position with numpy : 0.0009562969207763672 nb_pixel_total : 27762 time to create 1 rle with old method : 0.03208422660827637 length of segment : 260 time for calcul the mask position with numpy : 0.002884387969970703 nb_pixel_total : 128111 time to create 1 rle with old method : 0.14859676361083984 length of segment : 368 time for calcul the mask position with numpy : 0.000698089599609375 nb_pixel_total : 19835 time to create 1 rle with old method : 0.022536516189575195 length of segment : 225 time for calcul the mask position with numpy : 0.0030782222747802734 nb_pixel_total : 111451 time to create 1 rle with old method : 0.12430667877197266 length of segment : 718 time for calcul the mask position with numpy : 0.0005486011505126953 nb_pixel_total : 12640 time to create 1 rle with old method : 0.014008522033691406 length of segment : 207 time for calcul the mask position with numpy : 0.0013899803161621094 nb_pixel_total : 46607 time to create 1 rle with old method : 0.07530093193054199 length of segment : 360 time for calcul the mask position with numpy : 0.0020525455474853516 nb_pixel_total : 64476 time to create 1 rle with old method : 0.0706636905670166 length of segment : 308 time for calcul the mask position with numpy : 0.0007264614105224609 nb_pixel_total : 20694 time to create 1 rle with old method : 0.023714303970336914 length of segment : 175 time for calcul the mask position with numpy : 0.005354166030883789 nb_pixel_total : 163500 time to create 1 rle with new method : 0.008909463882446289 length of segment : 477 time for calcul the mask position with numpy : 0.0005974769592285156 nb_pixel_total : 17433 time to create 1 rle with old method : 0.020498275756835938 length of segment : 162 time for calcul the mask position with numpy : 0.0008566379547119141 nb_pixel_total : 22405 time to create 1 rle with old method : 0.026053190231323242 length of segment : 244 time for calcul the mask position with numpy : 0.0008668899536132812 nb_pixel_total : 25018 time to create 1 rle with old method : 0.029036283493041992 length of segment : 310 time for calcul the mask position with numpy : 0.0023708343505859375 nb_pixel_total : 88383 time to create 1 rle with old method : 0.09899234771728516 length of segment : 390 time for calcul the mask position with numpy : 0.0012333393096923828 nb_pixel_total : 44027 time to create 1 rle with old method : 0.049790382385253906 length of segment : 276 time for calcul the mask position with numpy : 0.0025398731231689453 nb_pixel_total : 123910 time to create 1 rle with old method : 0.13668394088745117 length of segment : 326 time for calcul the mask position with numpy : 0.00047898292541503906 nb_pixel_total : 15350 time to create 1 rle with old method : 0.017665624618530273 length of segment : 117 time for calcul the mask position with numpy : 0.0013980865478515625 nb_pixel_total : 57413 time to create 1 rle with old method : 0.06315732002258301 length of segment : 218 time for calcul the mask position with numpy : 0.0003948211669921875 nb_pixel_total : 12015 time to create 1 rle with old method : 0.01384282112121582 length of segment : 105 time for calcul the mask position with numpy : 0.009052753448486328 nb_pixel_total : 434327 time to create 1 rle with new method : 0.02930617332458496 length of segment : 1165 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 10335 time to create 1 rle with old method : 0.01273488998413086 length of segment : 104 time for calcul the mask position with numpy : 0.00043702125549316406 nb_pixel_total : 18179 time to create 1 rle with old method : 0.022331953048706055 length of segment : 225 time for calcul the mask position with numpy : 0.0008101463317871094 nb_pixel_total : 26086 time to create 1 rle with old method : 0.029964447021484375 length of segment : 303 time for calcul the mask position with numpy : 0.0005207061767578125 nb_pixel_total : 24526 time to create 1 rle with old method : 0.02850174903869629 length of segment : 208 time for calcul the mask position with numpy : 0.0010480880737304688 nb_pixel_total : 51171 time to create 1 rle with old method : 0.05734992027282715 length of segment : 370 time for calcul the mask position with numpy : 0.0005083084106445312 nb_pixel_total : 19752 time to create 1 rle with old method : 0.02240276336669922 length of segment : 141 time for calcul the mask position with numpy : 0.0058057308197021484 nb_pixel_total : 406041 time to create 1 rle with new method : 0.04237246513366699 length of segment : 772 time for calcul the mask position with numpy : 0.0006051063537597656 nb_pixel_total : 28123 time to create 1 rle with old method : 0.03181719779968262 length of segment : 198 time for calcul the mask position with numpy : 0.005766153335571289 nb_pixel_total : 262989 time to create 1 rle with new method : 0.03386068344116211 length of segment : 1128 time for calcul the mask position with numpy : 0.0005114078521728516 nb_pixel_total : 27031 time to create 1 rle with old method : 0.030429363250732422 length of segment : 267 time for calcul the mask position with numpy : 0.0003669261932373047 nb_pixel_total : 17479 time to create 1 rle with old method : 0.019987821578979492 length of segment : 155 time for calcul the mask position with numpy : 0.0004439353942871094 nb_pixel_total : 28268 time to create 1 rle with old method : 0.031923532485961914 length of segment : 173 time for calcul the mask position with numpy : 0.0023937225341796875 nb_pixel_total : 165527 time to create 1 rle with new method : 0.005877494812011719 length of segment : 561 time for calcul the mask position with numpy : 0.0005280971527099609 nb_pixel_total : 15141 time to create 1 rle with old method : 0.017532825469970703 length of segment : 101 time for calcul the mask position with numpy : 0.001990795135498047 nb_pixel_total : 44778 time to create 1 rle with old method : 0.05045771598815918 length of segment : 403 time for calcul the mask position with numpy : 0.002890348434448242 nb_pixel_total : 72383 time to create 1 rle with old method : 0.07991933822631836 length of segment : 407 time for calcul the mask position with numpy : 0.0005075931549072266 nb_pixel_total : 23328 time to create 1 rle with old method : 0.026300907135009766 length of segment : 181 time for calcul the mask position with numpy : 0.0006120204925537109 nb_pixel_total : 30867 time to create 1 rle with old method : 0.034384965896606445 length of segment : 230 time for calcul the mask position with numpy : 0.0009529590606689453 nb_pixel_total : 30171 time to create 1 rle with old method : 0.03464818000793457 length of segment : 149 time for calcul the mask position with numpy : 0.0009317398071289062 nb_pixel_total : 24009 time to create 1 rle with old method : 0.027172088623046875 length of segment : 175 time for calcul the mask position with numpy : 0.00041794776916503906 nb_pixel_total : 16610 time to create 1 rle with old method : 0.018808364868164062 length of segment : 151 time for calcul the mask position with numpy : 0.0008199214935302734 nb_pixel_total : 16495 time to create 1 rle with old method : 0.018799304962158203 length of segment : 128 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 11121 time to create 1 rle with old method : 0.01258540153503418 length of segment : 98 time for calcul the mask position with numpy : 0.0012195110321044922 nb_pixel_total : 31134 time to create 1 rle with old method : 0.034240007400512695 length of segment : 320 time for calcul the mask position with numpy : 0.002420663833618164 nb_pixel_total : 67664 time to create 1 rle with old method : 0.07725405693054199 length of segment : 301 time for calcul the mask position with numpy : 0.0018734931945800781 nb_pixel_total : 59556 time to create 1 rle with old method : 0.06975507736206055 length of segment : 322 time for calcul the mask position with numpy : 0.0013575553894042969 nb_pixel_total : 33007 time to create 1 rle with old method : 0.03740358352661133 length of segment : 270 time for calcul the mask position with numpy : 0.0012249946594238281 nb_pixel_total : 32132 time to create 1 rle with old method : 0.037103891372680664 length of segment : 210 time for calcul the mask position with numpy : 0.0010221004486083984 nb_pixel_total : 27272 time to create 1 rle with old method : 0.030618906021118164 length of segment : 233 time for calcul the mask position with numpy : 0.0009331703186035156 nb_pixel_total : 17404 time to create 1 rle with old method : 0.020238161087036133 length of segment : 236 time for calcul the mask position with numpy : 0.0014660358428955078 nb_pixel_total : 39521 time to create 1 rle with old method : 0.04392886161804199 length of segment : 339 time spent for convertir_results : 10.070895195007324 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 98 chid ids of type : 3594 Number RLEs to save : 29329 save missing photos in datou_result : time spend for datou_step_exec : 70.1644139289856 time spend to save output : 1.644193410873413 total time spend for step 1 : 71.80860733985901 step2:crop_condition Tue May 13 22:11:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 98 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 ! 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 ! 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 : 65 About to insert : list_path_to_insert length 65 new photo from crops ! About to upload 65 photos upload in portfolio : 3736932 init cache_photo without model_param we have 65 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747167119_321612 we have uploaded 65 photos in the portfolio 3736932 time of upload the photos Elapsed time : 20.23619055747986 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 ! 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/1747167143_321612 we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.903989553451538 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747167148_321612 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7985608577728271 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747167155_321612 we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.687718391418457 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1747167160_321612 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5102729797363281 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] Looping around the photos to save general results len do output : 98 /1357968784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968946Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968952Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1357968955Didn'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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 302 time used for this insertion : 0.03759336471557617 save_final save missing photos in datou_result : time spend for datou_step_exec : 61.23531222343445 time spend to save output : 0.041211843490600586 total time spend for step 2 : 61.27652406692505 step3:rle_unique_nms_with_priority Tue May 13 22:12:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 98 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1357828808 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 4.615097284317017 time for calcul the mask position with numpy : 0.4554591178894043 nb_pixel_total : 5712474 time to create 1 rle with new method : 0.7309930324554443 time for calcul the mask position with numpy : 0.019341707229614258 nb_pixel_total : 30518 time to create 1 rle with old method : 0.03197669982910156 time for calcul the mask position with numpy : 0.01970815658569336 nb_pixel_total : 37004 time to create 1 rle with old method : 0.03956913948059082 time for calcul the mask position with numpy : 0.020185470581054688 nb_pixel_total : 57922 time to create 1 rle with old method : 0.06168985366821289 time for calcul the mask position with numpy : 0.020356416702270508 nb_pixel_total : 23887 time to create 1 rle with old method : 0.025850772857666016 time for calcul the mask position with numpy : 0.020964622497558594 nb_pixel_total : 58611 time to create 1 rle with old method : 0.06357336044311523 time for calcul the mask position with numpy : 0.026209115982055664 nb_pixel_total : 97826 time to create 1 rle with old method : 0.1096489429473877 time for calcul the mask position with numpy : 0.020920515060424805 nb_pixel_total : 24162 time to create 1 rle with old method : 0.026691913604736328 time for calcul the mask position with numpy : 0.02292490005493164 nb_pixel_total : 301254 time to create 1 rle with new method : 0.8030779361724854 time for calcul the mask position with numpy : 0.020514488220214844 nb_pixel_total : 55865 time to create 1 rle with old method : 0.059445858001708984 time for calcul the mask position with numpy : 0.021305322647094727 nb_pixel_total : 121310 time to create 1 rle with old method : 0.13039135932922363 time for calcul the mask position with numpy : 0.02465987205505371 nb_pixel_total : 486131 time to create 1 rle with new method : 0.7638146877288818 time for calcul the mask position with numpy : 0.020369768142700195 nb_pixel_total : 43276 time to create 1 rle with old method : 0.04805874824523926 create new chi : 3.679717779159546 time to delete rle : 0.02253890037536621 batch 1 Loaded 25 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 11252 TO DO : save crop sub photo not yet done ! save time : 0.7145817279815674 nb_obj : 18 nb_hashtags : 3 time to prepare the origin masks : 6.669657945632935 time for calcul the mask position with numpy : 0.5336685180664062 nb_pixel_total : 6231693 time to create 1 rle with new method : 0.6939883232116699 time for calcul the mask position with numpy : 0.020720243453979492 nb_pixel_total : 17130 time to create 1 rle with old method : 0.019104480743408203 time for calcul the mask position with numpy : 0.020356416702270508 nb_pixel_total : 20409 time to create 1 rle with old method : 0.02289605140686035 time for calcul the mask position with numpy : 0.020395755767822266 nb_pixel_total : 70011 time to create 1 rle with old method : 0.07837247848510742 time for calcul the mask position with numpy : 0.020816326141357422 nb_pixel_total : 38310 time to create 1 rle with old method : 0.04150199890136719 time for calcul the mask position with numpy : 0.0196835994720459 nb_pixel_total : 43697 time to create 1 rle with old method : 0.04653573036193848 time for calcul the mask position with numpy : 0.01999688148498535 nb_pixel_total : 1245 time to create 1 rle with old method : 0.0013904571533203125 time for calcul the mask position with numpy : 0.019824743270874023 nb_pixel_total : 33651 time to create 1 rle with old method : 0.03583359718322754 time for calcul the mask position with numpy : 0.02068185806274414 nb_pixel_total : 167496 time to create 1 rle with new method : 0.7928762435913086 time for calcul the mask position with numpy : 0.020519256591796875 nb_pixel_total : 41160 time to create 1 rle with old method : 0.043692827224731445 time for calcul the mask position with numpy : 0.020328521728515625 nb_pixel_total : 2980 time to create 1 rle with old method : 0.0032231807708740234 time for calcul the mask position with numpy : 0.020032644271850586 nb_pixel_total : 20005 time to create 1 rle with old method : 0.021798372268676758 time for calcul the mask position with numpy : 0.019840240478515625 nb_pixel_total : 26946 time to create 1 rle with old method : 0.02872753143310547 time for calcul the mask position with numpy : 0.020298480987548828 nb_pixel_total : 66309 time to create 1 rle with old method : 0.07035613059997559 time for calcul the mask position with numpy : 0.020161151885986328 nb_pixel_total : 26995 time to create 1 rle with old method : 0.029117345809936523 time for calcul the mask position with numpy : 0.020522117614746094 nb_pixel_total : 104851 time to create 1 rle with old method : 0.11398911476135254 time for calcul the mask position with numpy : 0.01994466781616211 nb_pixel_total : 55269 time to create 1 rle with old method : 0.06103849411010742 time for calcul the mask position with numpy : 0.020468950271606445 nb_pixel_total : 70014 time to create 1 rle with old method : 0.0761566162109375 time for calcul the mask position with numpy : 0.02046370506286621 nb_pixel_total : 12069 time to create 1 rle with old method : 0.01296377182006836 create new chi : 3.1474177837371826 time to delete rle : 0.0014078617095947266 batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 11608 TO DO : save crop sub photo not yet done ! save time : 0.7293298244476318 nb_obj : 18 nb_hashtags : 3 time to prepare the origin masks : 6.6695640087127686 time for calcul the mask position with numpy : 0.5587201118469238 nb_pixel_total : 6350922 time to create 1 rle with new method : 0.7096893787384033 time for calcul the mask position with numpy : 0.022295236587524414 nb_pixel_total : 68081 time to create 1 rle with old method : 0.07358551025390625 time for calcul the mask position with numpy : 0.0195925235748291 nb_pixel_total : 14528 time to create 1 rle with old method : 0.015905380249023438 time for calcul the mask position with numpy : 0.019652128219604492 nb_pixel_total : 8712 time to create 1 rle with old method : 0.009576559066772461 time for calcul the mask position with numpy : 0.02003312110900879 nb_pixel_total : 13343 time to create 1 rle with old method : 0.014774560928344727 time for calcul the mask position with numpy : 0.02038121223449707 nb_pixel_total : 6263 time to create 1 rle with old method : 0.007039785385131836 time for calcul the mask position with numpy : 0.020967483520507812 nb_pixel_total : 68909 time to create 1 rle with old method : 0.07548975944519043 time for calcul the mask position with numpy : 0.020030498504638672 nb_pixel_total : 23336 time to create 1 rle with old method : 0.025591135025024414 time for calcul the mask position with numpy : 0.020618677139282227 nb_pixel_total : 31340 time to create 1 rle with old method : 0.04849100112915039 time for calcul the mask position with numpy : 0.024518489837646484 nb_pixel_total : 60379 time to create 1 rle with old method : 0.07010722160339355 time for calcul the mask position with numpy : 0.021213531494140625 nb_pixel_total : 4857 time to create 1 rle with old method : 0.0052335262298583984 time for calcul the mask position with numpy : 0.02079629898071289 nb_pixel_total : 90351 time to create 1 rle with old method : 0.09650397300720215 time for calcul the mask position with numpy : 0.01973748207092285 nb_pixel_total : 25202 time to create 1 rle with old method : 0.02711343765258789 time for calcul the mask position with numpy : 0.02022385597229004 nb_pixel_total : 85848 time to create 1 rle with old method : 0.09540081024169922 time for calcul the mask position with numpy : 0.020392417907714844 nb_pixel_total : 22021 time to create 1 rle with old method : 0.024544715881347656 time for calcul the mask position with numpy : 0.02194380760192871 nb_pixel_total : 75042 time to create 1 rle with old method : 0.07945728302001953 time for calcul the mask position with numpy : 0.020758390426635742 nb_pixel_total : 3229 time to create 1 rle with old method : 0.003604888916015625 time for calcul the mask position with numpy : 0.02114129066467285 nb_pixel_total : 67434 time to create 1 rle with old method : 0.07517051696777344 time for calcul the mask position with numpy : 0.02047133445739746 nb_pixel_total : 30443 time to create 1 rle with old method : 0.03372502326965332 create new chi : 2.4600026607513428 time to delete rle : 0.0014102458953857422 batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 11524 TO DO : save crop sub photo not yet done ! save time : 0.7222137451171875 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 5.0306925773620605 time for calcul the mask position with numpy : 0.5261850357055664 nb_pixel_total : 6390464 time to create 1 rle with new method : 0.8520023822784424 time for calcul the mask position with numpy : 0.019672870635986328 nb_pixel_total : 25018 time to create 1 rle with old method : 0.02672553062438965 time for calcul the mask position with numpy : 0.01997852325439453 nb_pixel_total : 22405 time to create 1 rle with old method : 0.024158954620361328 time for calcul the mask position with numpy : 0.019994258880615234 nb_pixel_total : 17433 time to create 1 rle with old method : 0.018593311309814453 time for calcul the mask position with numpy : 0.02113652229309082 nb_pixel_total : 163500 time to create 1 rle with new method : 0.6098053455352783 time for calcul the mask position with numpy : 0.0200958251953125 nb_pixel_total : 20694 time to create 1 rle with old method : 0.022329092025756836 time for calcul the mask position with numpy : 0.020043611526489258 nb_pixel_total : 64476 time to create 1 rle with old method : 0.06942462921142578 time for calcul the mask position with numpy : 0.021119356155395508 nb_pixel_total : 46451 time to create 1 rle with old method : 0.05079817771911621 time for calcul the mask position with numpy : 0.019626855850219727 nb_pixel_total : 12640 time to create 1 rle with old method : 0.013602018356323242 time for calcul the mask position with numpy : 0.020049333572387695 nb_pixel_total : 111451 time to create 1 rle with old method : 0.12270808219909668 time for calcul the mask position with numpy : 0.02090144157409668 nb_pixel_total : 19835 time to create 1 rle with old method : 0.02297234535217285 time for calcul the mask position with numpy : 0.023128032684326172 nb_pixel_total : 128111 time to create 1 rle with old method : 0.16798114776611328 time for calcul the mask position with numpy : 0.023585796356201172 nb_pixel_total : 27762 time to create 1 rle with old method : 0.03102278709411621 create new chi : 2.861670732498169 time to delete rle : 0.0013430118560791016 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 9747 TO DO : save crop sub photo not yet done ! save time : 0.6138651371002197 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 6.607147693634033 time for calcul the mask position with numpy : 0.7370903491973877 nb_pixel_total : 6173542 time to create 1 rle with new method : 0.631169319152832 time for calcul the mask position with numpy : 0.02063918113708496 nb_pixel_total : 19752 time to create 1 rle with old method : 0.02267146110534668 time for calcul the mask position with numpy : 0.021399736404418945 nb_pixel_total : 51171 time to create 1 rle with old method : 0.0651853084564209 time for calcul the mask position with numpy : 0.02288961410522461 nb_pixel_total : 24526 time to create 1 rle with old method : 0.02852010726928711 time for calcul the mask position with numpy : 0.02299809455871582 nb_pixel_total : 26086 time to create 1 rle with old method : 0.03059244155883789 time for calcul the mask position with numpy : 0.023549795150756836 nb_pixel_total : 18179 time to create 1 rle with old method : 0.02614760398864746 time for calcul the mask position with numpy : 0.024013996124267578 nb_pixel_total : 1719 time to create 1 rle with old method : 0.0029964447021484375 time for calcul the mask position with numpy : 0.026653289794921875 nb_pixel_total : 394167 time to create 1 rle with new method : 0.7050845623016357 time for calcul the mask position with numpy : 0.020145416259765625 nb_pixel_total : 12015 time to create 1 rle with old method : 0.01336526870727539 time for calcul the mask position with numpy : 0.0203399658203125 nb_pixel_total : 57413 time to create 1 rle with old method : 0.06410527229309082 time for calcul the mask position with numpy : 0.021427631378173828 nb_pixel_total : 15350 time to create 1 rle with old method : 0.017286300659179688 time for calcul the mask position with numpy : 0.021987438201904297 nb_pixel_total : 123910 time to create 1 rle with old method : 0.1384413242340088 time for calcul the mask position with numpy : 0.02112126350402832 nb_pixel_total : 44027 time to create 1 rle with old method : 0.056578636169433594 time for calcul the mask position with numpy : 0.022614240646362305 nb_pixel_total : 88383 time to create 1 rle with old method : 0.10360097885131836 create new chi : 2.9949328899383545 time to delete rle : 0.0013186931610107422 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 9388 TO DO : save crop sub photo not yet done ! save time : 0.618450403213501 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 2.7126855850219727 time for calcul the mask position with numpy : 0.7322847843170166 nb_pixel_total : 6114782 time to create 1 rle with new method : 0.7445154190063477 time for calcul the mask position with numpy : 0.02162647247314453 nb_pixel_total : 165527 time to create 1 rle with new method : 0.7340452671051025 time for calcul the mask position with numpy : 0.020746946334838867 nb_pixel_total : 28268 time to create 1 rle with old method : 0.031664371490478516 time for calcul the mask position with numpy : 0.020415306091308594 nb_pixel_total : 17479 time to create 1 rle with old method : 0.020273208618164062 time for calcul the mask position with numpy : 0.021614551544189453 nb_pixel_total : 27031 time to create 1 rle with old method : 0.03397870063781738 time for calcul the mask position with numpy : 0.02215886116027832 nb_pixel_total : 262989 time to create 1 rle with new method : 0.6875691413879395 time for calcul the mask position with numpy : 0.022653579711914062 nb_pixel_total : 28123 time to create 1 rle with old method : 0.03224682807922363 time for calcul the mask position with numpy : 0.022713661193847656 nb_pixel_total : 406041 time to create 1 rle with new method : 0.8495128154754639 create new chi : 4.12218165397644 time to delete rle : 0.001285552978515625 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 8668 TO DO : save crop sub photo not yet done ! save time : 0.6004745960235596 nb_obj : 18 nb_hashtags : 3 time to prepare the origin masks : 7.957655191421509 time for calcul the mask position with numpy : 0.3925778865814209 nb_pixel_total : 6460300 time to create 1 rle with new method : 0.6873085498809814 time for calcul the mask position with numpy : 0.03350973129272461 nb_pixel_total : 39521 time to create 1 rle with old method : 0.04397273063659668 time for calcul the mask position with numpy : 0.03211045265197754 nb_pixel_total : 17404 time to create 1 rle with old method : 0.019456148147583008 time for calcul the mask position with numpy : 0.03350043296813965 nb_pixel_total : 27272 time to create 1 rle with old method : 0.03067302703857422 time for calcul the mask position with numpy : 0.032640933990478516 nb_pixel_total : 32132 time to create 1 rle with old method : 0.03621387481689453 time for calcul the mask position with numpy : 0.03273892402648926 nb_pixel_total : 33007 time to create 1 rle with old method : 0.03607177734375 time for calcul the mask position with numpy : 0.02105545997619629 nb_pixel_total : 59556 time to create 1 rle with old method : 0.06594300270080566 time for calcul the mask position with numpy : 0.019798755645751953 nb_pixel_total : 67664 time to create 1 rle with old method : 0.07360386848449707 time for calcul the mask position with numpy : 0.01985001564025879 nb_pixel_total : 31134 time to create 1 rle with old method : 0.034332275390625 time for calcul the mask position with numpy : 0.0211946964263916 nb_pixel_total : 8468 time to create 1 rle with old method : 0.00971841812133789 time for calcul the mask position with numpy : 0.020314693450927734 nb_pixel_total : 16495 time to create 1 rle with old method : 0.018765926361083984 time for calcul the mask position with numpy : 0.02126455307006836 nb_pixel_total : 16610 time to create 1 rle with old method : 0.019103050231933594 time for calcul the mask position with numpy : 0.021745681762695312 nb_pixel_total : 24009 time to create 1 rle with old method : 0.0266568660736084 time for calcul the mask position with numpy : 0.020172834396362305 nb_pixel_total : 30171 time to create 1 rle with old method : 0.032460927963256836 time for calcul the mask position with numpy : 0.020673513412475586 nb_pixel_total : 30867 time to create 1 rle with old method : 0.03345179557800293 time for calcul the mask position with numpy : 0.020824670791625977 nb_pixel_total : 23328 time to create 1 rle with old method : 0.026163101196289062 time for calcul the mask position with numpy : 0.021944046020507812 nb_pixel_total : 72383 time to create 1 rle with old method : 0.08032917976379395 time for calcul the mask position with numpy : 0.022612333297729492 nb_pixel_total : 44778 time to create 1 rle with old method : 0.05312085151672363 time for calcul the mask position with numpy : 0.027733564376831055 nb_pixel_total : 15141 time to create 1 rle with old method : 0.01677227020263672 create new chi : 2.217068672180176 time to delete rle : 0.0025131702423095703 batch 1 Loaded 37 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 10550 TO DO : save crop sub photo not yet done ! save time : 0.6858558654785156 map_output_result : {1357828808: (0.0, 'Should be the crop_list due to order', 0.0), 1357828806: (0.0, 'Should be the crop_list due to order', 0), 1357828802: (0.0, 'Should be the crop_list due to order', 0), 1357828799: (0.0, 'Should be the crop_list due to order', 0), 1357828788: (0.0, 'Should be the crop_list due to order', 0), 1357828784: (0.0, 'Should be the crop_list due to order', 0), 1357828776: (0.0, 'Should be the crop_list due to order', 0), 1357828772: (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 [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] Looping around the photos to save general results len do output : 8 /1357828808.Didn't retrieve data . /1357828806.Didn't retrieve data . /1357828802.Didn't retrieve data . /1357828799.Didn't retrieve data . /1357828788.Didn't retrieve data . /1357828784.Didn't retrieve data . /1357828776.Didn't retrieve data . /1357828772.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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.017423629760742188 save_final save missing photos in datou_result : time spend for datou_step_exec : 67.50568532943726 time spend to save output : 0.01782989501953125 total time spend for step 3 : 67.52351522445679 step4:ventilate_hashtags_in_portfolio Tue May 13 22:13:48 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 : 22934039 get user id for portfolio 22934039 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`=22934039 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','pet_clair','carton','metal','autre','environnement','papier','flou','mal_croppe','background')) 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`=22934039 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','pet_clair','carton','metal','autre','environnement','papier','flou','mal_croppe','background')) 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`=22934039 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','pet_clair','carton','metal','autre','environnement','papier','flou','mal_croppe','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/22937284,22937285,22937286,22937287,22937288,22937289,22937290,22937291,22937292,22937293,22937294?tags=pet_fonce,pehd,pet_clair,carton,metal,autre,environnement,papier,flou,mal_croppe,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] Looping around the photos to save general results len do output : 1 /22934039. 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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015720129013061523 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5863852500915527 time spend to save output : 0.0159456729888916 total time spend for step 4 : 1.6023309230804443 step5:final Tue May 13 22:13:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1357828808: ('0.10491669432529954',), 1357828806: ('0.10491669432529954',), 1357828802: ('0.10491669432529954',), 1357828799: ('0.10491669432529954',), 1357828788: ('0.10491669432529954',), 1357828784: ('0.10491669432529954',), 1357828776: ('0.10491669432529954',), 1357828772: ('0.10491669432529954',)} new output for save of step final : {1357828808: ('0.10491669432529954',), 1357828806: ('0.10491669432529954',), 1357828802: ('0.10491669432529954',), 1357828799: ('0.10491669432529954',), 1357828788: ('0.10491669432529954',), 1357828784: ('0.10491669432529954',), 1357828776: ('0.10491669432529954',), 1357828772: ('0.10491669432529954',)} [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] Looping around the photos to save general results len do output : 8 /1357828808.Didn't retrieve data . /1357828806.Didn't retrieve data . /1357828802.Didn't retrieve data . /1357828799.Didn't retrieve data . /1357828788.Didn't retrieve data . /1357828784.Didn't retrieve data . /1357828776.Didn't retrieve data . /1357828772.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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.014711618423461914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10834407806396484 time spend to save output : 0.015134811401367188 total time spend for step 5 : 0.12347888946533203 step6:blur_detection Tue May 13 22:13:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1747167026_321612_1357828808_39effee5b868956545fc5edf7217e916.jpg resize: (2160, 3264) 1357828808 -0.24771822983893238 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e.jpg resize: (2160, 3264) 1357828806 0.43971765004945723 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b.jpg resize: (2160, 3264) 1357828802 -1.0401585367160173 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1.jpg resize: (2160, 3264) 1357828799 -4.481410852108635 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67.jpg resize: (2160, 3264) 1357828788 -0.6942723806001417 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242.jpg resize: (2160, 3264) 1357828784 -0.16271802159589951 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7.jpg resize: (2160, 3264) 1357828776 2.914291492998968 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2.jpg resize: (2160, 3264) 1357828772 -0.17113342000004153 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785917_0.png resize: (920, 958) 1357968784 0.2653934037724362 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785926_0.png resize: (209, 297) 1357968785 -1.116593077951959 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785921_0.png resize: (184, 211) 1357968787 -0.6583419096481045 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785923_0.png resize: (328, 354) 1357968788 -1.4664997915418558 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785920_0.png resize: (616, 688) 1357968789 0.0813158024769329 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785925_0.png resize: (298, 270) 1357968791 -0.37065729867057845 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785916_0.png resize: (210, 320) 1357968792 0.8621739480756928 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785918_0.png resize: (291, 555) 1357968793 0.4577086251392117 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785930_0.png resize: (283, 365) 1357968794 -1.5619759369548172 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785940_0.png resize: (357, 50) 1357968796 -1.6248431017202154 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785936_0.png resize: (54, 75) 1357968797 -1.138764413575696 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785945_0.png resize: (182, 118) 1357968798 -0.8802869989896743 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785928_0.png resize: (111, 167) 1357968800 -1.392404771257433 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785931_0.png resize: (338, 454) 1357968801 -0.3567855124103917 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785929_0.png resize: (362, 269) 1357968802 -0.3337236639071221 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785937_0.png resize: (287, 205) 1357968803 0.1499873419321102 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785935_0.png resize: (137, 168) 1357968805 2.427811510684615 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785939_0.png resize: (184, 266) 1357968806 -0.2787173039102498 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785944_0.png resize: (195, 165) 1357968807 -1.5254338754038737 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785934_0.png resize: (265, 126) 1357968809 -1.4988293199427938 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785938_0.png resize: (553, 448) 1357968810 -0.5216296731272375 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785961_0.png resize: (159, 108) 1357968811 -3.4811824383584367 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785957_0.png resize: (241, 141) 1357968812 -4.436288066678886 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785959_0.png resize: (112, 100) 1357968814 -3.2853156545895588 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785949_0.png resize: (380, 283) 1357968815 -3.273432573084431 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785946_0.png resize: (228, 220) 1357968816 -2.1150211375788435 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785952_0.png resize: (271, 124) 1357968818 -1.680638370545719 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785960_0.png resize: (149, 150) 1357968819 -1.8500185527080935 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785963_0.png resize: (376, 281) 1357968820 -4.450025821393975 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785950_0.png resize: (217, 136) 1357968822 -4.0931211493177875 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785954_0.png resize: (97, 66) 1357968823 0.19187827787367323 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785948_0.png resize: (58, 64) 1357968824 2.916522058809005 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785971_0.png resize: (175, 233) 1357968825 -1.164245868385605 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785964_0.png resize: (255, 130) 1357968827 0.29665228730521553 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785973_0.png resize: (154, 167) 1357968828 -1.357986455810516 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785966_0.png resize: (223, 117) 1357968829 -0.16930952824829804 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785968_0.png resize: (166, 148) 1357968831 -2.6383663079213937 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785975_0.png resize: (295, 120) 1357968832 -1.5663301423650584 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785972_0.png resize: (469, 516) 1357968833 -3.14273455075924 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785967_0.png resize: (469, 358) 1357968834 -1.1259897125686615 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785980_0.png resize: (208, 384) 1357968836 -1.1967710768082764 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785983_0.png resize: (104, 162) 1357968837 -1.6370455103136528 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785982_0.png resize: (614, 967) 1357968838 -0.9837594980998727 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785984_0.png resize: (130, 196) 1357968840 -2.9742478467111475 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785976_0.png resize: (382, 328) 1357968841 0.8912883155689997 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785987_0.png resize: (364, 243) 1357968842 -0.1408383494924516 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785979_0.png resize: (117, 180) 1357968843 0.3910453984455957 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785985_0.png resize: (194, 226) 1357968845 -0.47247030331698525 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785993_0.png resize: (155, 159) 1357968846 -0.06708860549318958 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785994_0.png resize: (170, 213) 1357968847 0.10876270734320881 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785989_0.png resize: (770, 729) 1357968849 0.9100414588350092 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785991_0.png resize: (687, 826) 1357968850 -0.25874090131370864 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785992_0.png resize: (200, 233) 1357968851 -1.0070859873396565 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785990_0.png resize: (198, 226) 1357968852 -0.40156934814446993 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785998_0.png resize: (310, 341) 1357968854 -1.3963233808209703 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786005_0.png resize: (97, 147) 1357968855 -0.6707799091972877 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786006_0.png resize: (320, 155) 1357968856 -1.616134354733606 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785999_0.png resize: (177, 177) 1357968857 -0.9391122243692976 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786010_0.png resize: (177, 261) 1357968858 -1.464703166642674 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786011_0.png resize: (212, 197) 1357968859 -1.4416737450192212 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786002_0.png resize: (175, 228) 1357968860 -1.0997336944901255 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786003_0.png resize: (151, 167) 1357968861 -1.1046461829442795 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785997_0.png resize: (328, 457) 1357968862 -1.3565966507225111 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786012_0.png resize: (189, 160) 1357968863 -0.660602628380772 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786009_0.png resize: (268, 197) 1357968864 -1.05261020982936 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785922_0.png resize: (495, 341) 1357968879 -0.3414583887131075 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785941_0.png resize: (320, 324) 1357968880 -1.6793853902713831 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785942_0.png resize: (205, 252) 1357968881 -0.2780671286303 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785958_0.png resize: (303, 417) 1357968882 -2.458801599005486 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785970_0.png resize: (307, 375) 1357968883 -0.7408584220613875 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785977_0.png resize: (276, 232) 1357968884 0.6033929005992908 treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785995_0.png resize: (468, 440) 1357968885 -1.0130586505631978 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785996_0.png resize: (101, 211) 1357968886 -1.2820271155358423 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786001_0.png resize: (140, 291) 1357968887 -1.2008624923142104 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786000_0.png resize: (230, 174) 1357968888 -0.6447067168511861 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785988_0.png resize: (141, 175) 1357968892 -1.9468901230373556 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785981_0.png resize: (105, 137) 1357968893 0.02044548175063106 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785919_0.png resize: (263, 247) 1357968928 -1.631025560189596 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785924_0.png resize: (193, 170) 1357968931 -1.277684025304582 treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785927_0.png resize: (234, 168) 1357968932 -1.322151961977033 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785933_0.png resize: (265, 345) 1357968933 -2.384759924538283 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785943_0.png resize: (316, 306) 1357968935 -2.3744084963148278 treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785932_0.png resize: (290, 102) 1357968936 -1.7738792845669915 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785953_0.png resize: (380, 332) 1357968937 -4.913024739889052 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785962_0.png resize: (259, 133) 1357968938 -3.8809158928558305 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785951_0.png resize: (467, 309) 1357968940 -4.1502744990035705 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785956_0.png resize: (240, 165) 1357968941 -4.464409163273694 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785955_0.png resize: (273, 297) 1357968942 -4.418197596816223 treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785947_0.png resize: (276, 419) 1357968944 -2.1244703237424933 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785974_0.png resize: (211, 156) 1357968945 -3.104121786868349 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785969_0.png resize: (346, 199) 1357968946 -3.521830318965707 treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785965_0.png resize: (286, 620) 1357968947 -2.4592027274788846 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785978_0.png resize: (326, 468) 1357968949 -1.8808406494558199 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786008_0.png resize: (322, 314) 1357968950 -1.2912603842764445 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786004_0.png resize: (123, 189) 1357968951 -0.989963578460211 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786007_0.png resize: (226, 523) 1357968952 -1.939195068165535 treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786013_0.png resize: (335, 163) 1357968953 -1.7072467078788875 treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785986_0.png resize: (207, 152) 1357968955 -2.2398269237484913 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 : 106 time used for this insertion : 0.015802860260009766 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 106 time used for this insertion : 0.028805017471313477 save missing photos in datou_result : time spend for datou_step_exec : 28.11705708503723 time spend to save output : 0.04990077018737793 total time spend for step 6 : 28.16695785522461 step7:brightness Tue May 13 22:14: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1747167026_321612_1357828808_39effee5b868956545fc5edf7217e916.jpg treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e.jpg treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b.jpg treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1.jpg treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67.jpg treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242.jpg treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7.jpg treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2.jpg treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785917_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785926_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785921_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785923_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785920_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785925_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785916_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785918_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785930_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785940_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785936_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785945_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785928_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785931_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785929_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785937_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785935_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785939_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785944_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785934_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785938_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785961_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785957_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785959_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785949_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785946_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785952_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785960_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785963_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785950_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785954_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785948_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785971_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785964_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785973_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785966_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785968_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785975_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785972_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785967_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785980_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785983_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785982_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785984_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785976_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785987_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785979_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785985_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785993_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785994_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785989_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785991_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785992_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785990_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785998_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786005_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786006_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785999_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786010_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786011_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786002_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786003_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785997_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786012_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786009_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785922_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785941_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785942_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785958_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785970_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785977_0.png treat image : temp/1747167026_321612_1357828776_2e6a90f638c888a16d57c79e9b286ea7_rle_crop_3795785995_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795785996_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786001_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786000_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785988_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785981_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785919_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785924_0.png treat image : temp/1747167026_321612_1357828806_532f9ba99db895e3f5fd3da78518024e_rle_crop_3795785927_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785933_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785943_0.png treat image : temp/1747167026_321612_1357828802_c4511fc689bf706698af159504008e5b_rle_crop_3795785932_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785953_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785962_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785951_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785956_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785955_0.png treat image : temp/1747167026_321612_1357828799_e86555933df7659d9d8df0dcda506ca1_rle_crop_3795785947_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785974_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785969_0.png treat image : temp/1747167026_321612_1357828788_3061f5347364b67c1ac82cca0b849d67_rle_crop_3795785965_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785978_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786008_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786004_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786007_0.png treat image : temp/1747167026_321612_1357828772_7ca46b805c354ca5c669aaacfab65ab2_rle_crop_3795786013_0.png treat image : temp/1747167026_321612_1357828784_226dbbdd12d0120ea7c1e4ddb28b4242_rle_crop_3795785986_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 106 time used for this insertion : 0.018901586532592773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 106 time used for this insertion : 0.030598163604736328 save missing photos in datou_result : time spend for datou_step_exec : 7.837286472320557 time spend to save output : 0.05451536178588867 total time spend for step 7 : 7.891801834106445 step8:velours_tree Tue May 13 22:14: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 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.15516424179077148 time spend to save output : 8.106231689453125e-05 total time spend for step 8 : 0.15524530410766602 step9:send_mail_cod Tue May 13 22:14: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 complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P22934039_13-05-2025_22_14_26.pdf 22937284 imagette229372841747167266 22937285 imagette229372851747167266 22937286 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 .imagette229372861747167266 22937287 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 .imagette229372871747167267 22937288 change filename to text .change filename to text .imagette229372881747167268 22937289 change filename to text .imagette229372891747167268 22937291 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 .imagette229372911747167268 22937292 imagette229372921747167270 22937293 imagette229372931747167270 22937294 imagette229372941747167270 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22934039 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22937284,22937285,22937286,22937287,22937288,22937289,22937290,22937291,22937292,22937293,22937294?tags=pet_fonce,pehd,pet_clair,carton,metal,autre,environnement,papier,flou,mal_croppe,background args[1357828808] : ((1357828808, -0.24771822983893238, 492688767), (1357828808, 0.18637518069349435, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828806] : ((1357828806, 0.43971765004945723, 492688767), (1357828806, 0.5017204498967676, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828802] : ((1357828802, -1.0401585367160173, 492688767), (1357828802, -0.09532294872496741, 496442774), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828799] : ((1357828799, -4.481410852108635, 492609224), (1357828799, 0.06418879729695269, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828788] : ((1357828788, -0.6942723806001417, 492688767), (1357828788, -0.006980991658826029, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828784] : ((1357828784, -0.16271802159589951, 492688767), (1357828784, 0.2410955927645679, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828776] : ((1357828776, 2.914291492998968, 492688767), (1357828776, 1.064879629335502, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com args[1357828772] : ((1357828772, -0.17113342000004153, 492688767), (1357828772, 0.0030852638240671314, 2107752395), '0.10491669432529954') We are sending mail with results at report@fotonower.com refus_total : 0.10491669432529954 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=22934039 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_P22934039_13-05-2025_22_14_26.pdf results_Auto_P22934039_13-05-2025_22_14_26.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934039_13-05-2025_22_14_26.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','22934039','results_Auto_P22934039_13-05-2025_22_14_26.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934039_13-05-2025_22_14_26.pdf','pdf','','0.61','0.10491669432529954') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/22934039

https://www.fotonower.com/image?json=false&list_photos_id=1357828808
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828806
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828802
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828799
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828788
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828784
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1357828776
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.914291492998968)
https://www.fotonower.com/image?json=false&list_photos_id=1357828772
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/22937286?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/22937287?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/22937288?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/22937289?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/22937291?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934039_13-05-2025_22_14_26.pdf.

Lien vers velours :https://www.fotonower.com/velours/22937284,22937285,22937286,22937287,22937288,22937289,22937290,22937291,22937292,22937293,22937294?tags=pet_fonce,pehd,pet_clair,carton,metal,autre,environnement,papier,flou,mal_croppe,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 13 May 2025 20:14:33 GMT Content-Length: 0 Connection: close X-Message-Id: wj91sO0hS9-C7guYAhTHoQ 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 [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] 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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.017288684844970703 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.591071844100952 time spend to save output : 0.01750779151916504 total time spend for step 9 : 6.608579635620117 step10:split_time_score Tue May 13 22:14:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13052025 22934039 Nombre de photos uploadées : 8 / 23040 (0%) 13052025 22934039 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 13052025 22934039 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0004963874816894531 elapsed_time : insert_dashboard_record_day_entry 0.02814626693725586 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22915576 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22915102 order by id desc limit 1 Qualite : 0.10380308566327769 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22915104_13-05-2025_10_01_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22915104 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`=22915104 AND mptpi.`type`=3594 To do Qualite : 0.13293756666439724 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22915108_13-05-2025_09_48_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22915108 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`=22915108 AND mptpi.`type`=3594 To do Qualite : 0.10491669432529954 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934039_13-05-2025_22_14_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934039 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`=22934039 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934071 order by id desc limit 1 Qualite : 0.13382412513616562 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934073_13-05-2025_22_09_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934073 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`=22934073 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934083 order by id desc limit 1 Qualite : 0.11376972907827847 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934093_13-05-2025_22_00_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934093 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`=22934093 AND mptpi.`type`=3594 To do Qualite : 0.10474872385296709 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934096_13-05-2025_21_48_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934096 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`=22934096 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934121 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934123 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934165 order by id desc limit 1 Qualite : 0.09959119932695298 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934169_13-05-2025_21_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934169 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`=22934169 AND mptpi.`type`=3594 To do Qualite : 0.0978150287892935 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22934171_13-05-2025_21_07_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22934171 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`=22934171 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13052025': {'nb_upload': 8, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1357828808, 1357828806, 1357828802, 1357828799, 1357828788, 1357828784, 1357828776, 1357828772] Looping around the photos to save general results len do output : 1 /22934039Didn'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, '2843458') ('3318', '22934039', '1357828808', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828806', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828802', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828799', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828788', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828784', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828776', None, None, None, None, None, '2843458') ('3318', None, None, None, None, None, None, None, '2843458') ('3318', '22934039', '1357828772', None, None, None, None, None, '2843458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01368403434753418 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.696496963500977 time spend to save output : 0.013886451721191406 total time spend for step 10 : 6.710383415222168 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 99.82user 110.97system 4:15.19elapsed 82%CPU (0avgtext+0avgdata 4686264maxresident)k 589520inputs+65368outputs (6101major+8803373minor)pagefaults 0swaps