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 : 3953583 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 : ['3646217'] with mtr_portfolio_ids : ['26397835'] and first list_photo_ids : [] new path : /proc/3953583/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.3738641738891602 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 Mon Sep 1 14:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 6600 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-01 14:30:33.245422: 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-09-01 14:30:33.272769: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-01 14:30:33.274620: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7448000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-01 14:30:33.274661: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-01 14:30:33.278695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-01 14:30:33.410751: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xf6295a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-01 14:30:33.410781: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-01 14:30:33.411449: 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-09-01 14:30:33.411728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-01 14:30:33.413539: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-01 14:30:33.415305: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-01 14:30:33.415619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-01 14:30:33.417676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-01 14:30:33.419016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-01 14:30:33.423185: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-01 14:30:33.424473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-01 14:30:33.424549: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-01 14:30:33.425218: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-01 14:30:33.425234: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-01 14:30:33.425242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-01 14:30:33.426598: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6062 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-09-01 14:30:33.751974: 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-09-01 14:30:33.752079: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-01 14:30:33.752103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-01 14:30:33.752127: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-01 14:30:33.752147: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-01 14:30:33.752168: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-01 14:30:33.752188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-01 14:30:33.752208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-01 14:30:33.753564: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-01 14:30:33.754824: 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-09-01 14:30:33.754902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-01 14:30:33.754924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-01 14:30:33.754941: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-01 14:30:33.754955: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-01 14:30:33.754969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-01 14:30:33.754985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-01 14:30:33.754999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-01 14:30:33.756077: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-01 14:30:33.756115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-01 14:30:33.756128: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-01 14:30:33.756136: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-01 14:30:33.757315: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6062 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-09-01 14:30:42.846101: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-01 14:30:43.057191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 9.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 3954135 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 512 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 5801 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.0004832744598388672 nb_pixel_total : 14842 time to create 1 rle with old method : 0.01828598976135254 length of segment : 277 time for calcul the mask position with numpy : 0.00028061866760253906 nb_pixel_total : 10361 time to create 1 rle with old method : 0.01333165168762207 length of segment : 105 time for calcul the mask position with numpy : 0.0003025531768798828 nb_pixel_total : 11549 time to create 1 rle with old method : 0.014390945434570312 length of segment : 130 time for calcul the mask position with numpy : 0.0001418590545654297 nb_pixel_total : 4000 time to create 1 rle with old method : 0.005036115646362305 length of segment : 145 time for calcul the mask position with numpy : 0.0003364086151123047 nb_pixel_total : 14502 time to create 1 rle with old method : 0.01737523078918457 length of segment : 161 time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 3169 time to create 1 rle with old method : 0.004213571548461914 length of segment : 40 time for calcul the mask position with numpy : 0.0002448558807373047 nb_pixel_total : 9891 time to create 1 rle with old method : 0.012592077255249023 length of segment : 155 time for calcul the mask position with numpy : 0.0007927417755126953 nb_pixel_total : 40936 time to create 1 rle with old method : 0.04876589775085449 length of segment : 220 time for calcul the mask position with numpy : 0.00014710426330566406 nb_pixel_total : 7103 time to create 1 rle with old method : 0.008363962173461914 length of segment : 113 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 9387 time to create 1 rle with old method : 0.011026382446289062 length of segment : 113 time for calcul the mask position with numpy : 0.00018548965454101562 nb_pixel_total : 7968 time to create 1 rle with old method : 0.009584665298461914 length of segment : 117 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 7867 time to create 1 rle with old method : 0.00942540168762207 length of segment : 87 time for calcul the mask position with numpy : 0.0002422332763671875 nb_pixel_total : 9832 time to create 1 rle with old method : 0.011797904968261719 length of segment : 202 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 9164 time to create 1 rle with old method : 0.010944128036499023 length of segment : 103 time for calcul the mask position with numpy : 0.00025463104248046875 nb_pixel_total : 12903 time to create 1 rle with old method : 0.015241861343383789 length of segment : 146 time for calcul the mask position with numpy : 0.00021314620971679688 nb_pixel_total : 8066 time to create 1 rle with old method : 0.009894609451293945 length of segment : 75 time for calcul the mask position with numpy : 0.00025463104248046875 nb_pixel_total : 13394 time to create 1 rle with old method : 0.016170740127563477 length of segment : 158 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 16359 time to create 1 rle with old method : 0.022190570831298828 length of segment : 71 time for calcul the mask position with numpy : 0.0005891323089599609 nb_pixel_total : 33275 time to create 1 rle with old method : 0.038825273513793945 length of segment : 307 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 3610 time to create 1 rle with old method : 0.004636049270629883 length of segment : 70 time for calcul the mask position with numpy : 0.00040793418884277344 nb_pixel_total : 25846 time to create 1 rle with old method : 0.03034806251525879 length of segment : 188 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 10897 time to create 1 rle with old method : 0.012774944305419922 length of segment : 137 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 16025 time to create 1 rle with old method : 0.019208669662475586 length of segment : 125 time for calcul the mask position with numpy : 0.00037288665771484375 nb_pixel_total : 21090 time to create 1 rle with old method : 0.025038957595825195 length of segment : 202 time for calcul the mask position with numpy : 0.003798961639404297 nb_pixel_total : 223243 time to create 1 rle with new method : 0.012317419052124023 length of segment : 488 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 2593 time to create 1 rle with old method : 0.0036840438842773438 length of segment : 39 time for calcul the mask position with numpy : 0.002905130386352539 nb_pixel_total : 113373 time to create 1 rle with old method : 0.12954330444335938 length of segment : 913 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 17101 time to create 1 rle with old method : 0.019794225692749023 length of segment : 161 time for calcul the mask position with numpy : 0.0002567768096923828 nb_pixel_total : 11878 time to create 1 rle with old method : 0.013901710510253906 length of segment : 157 time for calcul the mask position with numpy : 0.0002818107604980469 nb_pixel_total : 12563 time to create 1 rle with old method : 0.014588356018066406 length of segment : 167 time for calcul the mask position with numpy : 0.00011610984802246094 nb_pixel_total : 2767 time to create 1 rle with old method : 0.003429889678955078 length of segment : 62 time for calcul the mask position with numpy : 0.0001761913299560547 nb_pixel_total : 4220 time to create 1 rle with old method : 0.005095243453979492 length of segment : 95 time for calcul the mask position with numpy : 0.0002980232238769531 nb_pixel_total : 14104 time to create 1 rle with old method : 0.016588926315307617 length of segment : 130 time for calcul the mask position with numpy : 0.00014472007751464844 nb_pixel_total : 2659 time to create 1 rle with old method : 0.0032873153686523438 length of segment : 107 time for calcul the mask position with numpy : 0.00035309791564941406 nb_pixel_total : 14637 time to create 1 rle with old method : 0.017326831817626953 length of segment : 169 time for calcul the mask position with numpy : 0.0001914501190185547 nb_pixel_total : 5122 time to create 1 rle with old method : 0.006023406982421875 length of segment : 105 time for calcul the mask position with numpy : 0.01159977912902832 nb_pixel_total : 513258 time to create 1 rle with new method : 0.12190794944763184 length of segment : 1274 time for calcul the mask position with numpy : 0.0001971721649169922 nb_pixel_total : 4481 time to create 1 rle with old method : 0.005907535552978516 length of segment : 113 time for calcul the mask position with numpy : 0.0003008842468261719 nb_pixel_total : 8533 time to create 1 rle with old method : 0.01578831672668457 length of segment : 128 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 4454 time to create 1 rle with old method : 0.005674839019775391 length of segment : 36 time for calcul the mask position with numpy : 0.0031838417053222656 nb_pixel_total : 109947 time to create 1 rle with old method : 0.12306499481201172 length of segment : 532 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 8368 time to create 1 rle with old method : 0.009768247604370117 length of segment : 78 time for calcul the mask position with numpy : 0.0002105236053466797 nb_pixel_total : 11777 time to create 1 rle with old method : 0.014286041259765625 length of segment : 82 time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 5835 time to create 1 rle with old method : 0.00716400146484375 length of segment : 97 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 9474 time to create 1 rle with old method : 0.011554241180419922 length of segment : 190 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 5231 time to create 1 rle with old method : 0.006320953369140625 length of segment : 76 time for calcul the mask position with numpy : 0.028435468673706055 nb_pixel_total : 1279872 time to create 1 rle with new method : 0.081207275390625 length of segment : 1480 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 1579 time to create 1 rle with old method : 0.0019562244415283203 length of segment : 50 time for calcul the mask position with numpy : 0.0001773834228515625 nb_pixel_total : 10614 time to create 1 rle with old method : 0.012543201446533203 length of segment : 112 time for calcul the mask position with numpy : 0.0005502700805664062 nb_pixel_total : 21979 time to create 1 rle with old method : 0.025541067123413086 length of segment : 154 time for calcul the mask position with numpy : 0.001177072525024414 nb_pixel_total : 46288 time to create 1 rle with old method : 0.054106950759887695 length of segment : 330 time spent for convertir_results : 3.0273475646972656 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 51 chid ids of type : 3594 Number RLEs to save : 10772 save missing photos in datou_result : time spend for datou_step_exec : 28.24567198753357 time spend to save output : 0.6169707775115967 total time spend for step 1 : 28.862642765045166 step2:crop_condition Mon Sep 1 14:30:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 11 ! batch 1 Loaded 51 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 25 About to insert : list_path_to_insert length 25 new photo from crops ! About to upload 25 photos upload in portfolio : 3736932 init cache_photo without model_param we have 25 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756729863_3953583 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 25 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.9286110401153564 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756729870_3953583 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.46915435791015625 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756729871_3953583 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.489760160446167 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 ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756729880_3953583 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 18 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.242689371109009 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756729886_3953583 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.7994074821472168 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 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 [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] Looping around the photos to save general results len do output : 51 /1380632543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380632607Didn'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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 164 time used for this insertion : 0.023336172103881836 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.422964811325073 time spend to save output : 0.02626514434814453 total time spend for step 2 : 28.449229955673218 step3:rle_unique_nms_with_priority Mon Sep 1 14:31: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 Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 51 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.15240931510925293 time for calcul the mask position with numpy : 0.09828305244445801 nb_pixel_total : 2058758 time to create 1 rle with new method : 0.21613621711730957 time for calcul the mask position with numpy : 0.009392499923706055 nb_pixel_total : 14842 time to create 1 rle with old method : 0.0290682315826416 create new chi : 0.36737799644470215 time to delete rle : 0.025063037872314453 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1634 TO DO : save crop sub photo not yet done ! save time : 0.16711735725402832 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.6964070796966553 time for calcul the mask position with numpy : 0.1593153476715088 nb_pixel_total : 1972089 time to create 1 rle with new method : 0.129439115524292 time for calcul the mask position with numpy : 0.013822793960571289 nb_pixel_total : 7103 time to create 1 rle with old method : 0.008318424224853516 time for calcul the mask position with numpy : 0.009305715560913086 nb_pixel_total : 40936 time to create 1 rle with old method : 0.04775810241699219 time for calcul the mask position with numpy : 0.009217262268066406 nb_pixel_total : 9891 time to create 1 rle with old method : 0.011540412902832031 time for calcul the mask position with numpy : 0.008712053298950195 nb_pixel_total : 3169 time to create 1 rle with old method : 0.003793001174926758 time for calcul the mask position with numpy : 0.008941888809204102 nb_pixel_total : 14502 time to create 1 rle with old method : 0.017644166946411133 time for calcul the mask position with numpy : 0.009436845779418945 nb_pixel_total : 4000 time to create 1 rle with old method : 0.004737377166748047 time for calcul the mask position with numpy : 0.009388923645019531 nb_pixel_total : 11549 time to create 1 rle with old method : 0.013628721237182617 time for calcul the mask position with numpy : 0.010136842727661133 nb_pixel_total : 10361 time to create 1 rle with old method : 0.012004852294921875 create new chi : 0.49933815002441406 time to delete rle : 0.0009713172912597656 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3218 TO DO : save crop sub photo not yet done ! save time : 0.2209947109222412 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.17437505722045898 time for calcul the mask position with numpy : 0.054728031158447266 nb_pixel_total : 2038546 time to create 1 rle with new method : 0.0504307746887207 time for calcul the mask position with numpy : 0.007898807525634766 nb_pixel_total : 9832 time to create 1 rle with old method : 0.016530275344848633 time for calcul the mask position with numpy : 0.00838160514831543 nb_pixel_total : 7867 time to create 1 rle with old method : 0.013326168060302734 time for calcul the mask position with numpy : 0.008425474166870117 nb_pixel_total : 7968 time to create 1 rle with old method : 0.01340174674987793 time for calcul the mask position with numpy : 0.007967472076416016 nb_pixel_total : 9387 time to create 1 rle with old method : 0.012874841690063477 create new chi : 0.1945357322692871 time to delete rle : 0.0005371570587158203 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2118 TO DO : save crop sub photo not yet done ! save time : 0.16639971733093262 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 0.07434678077697754 time for calcul the mask position with numpy : 0.035649776458740234 nb_pixel_total : 2030073 time to create 1 rle with new method : 0.11762332916259766 time for calcul the mask position with numpy : 0.008049488067626953 nb_pixel_total : 13394 time to create 1 rle with old method : 0.01739788055419922 time for calcul the mask position with numpy : 0.00793766975402832 nb_pixel_total : 8066 time to create 1 rle with old method : 0.009310007095336914 time for calcul the mask position with numpy : 0.008224010467529297 nb_pixel_total : 12903 time to create 1 rle with old method : 0.014974594116210938 time for calcul the mask position with numpy : 0.008396625518798828 nb_pixel_total : 9164 time to create 1 rle with old method : 0.010656356811523438 create new chi : 0.25129199028015137 time to delete rle : 0.0006153583526611328 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2044 TO DO : save crop sub photo not yet done ! save time : 0.16763567924499512 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.1024925708770752 time for calcul the mask position with numpy : 0.03199124336242676 nb_pixel_total : 2020356 time to create 1 rle with new method : 0.11409449577331543 time for calcul the mask position with numpy : 0.008487701416015625 nb_pixel_total : 3610 time to create 1 rle with old method : 0.004387855529785156 time for calcul the mask position with numpy : 0.00809788703918457 nb_pixel_total : 33275 time to create 1 rle with old method : 0.039515018463134766 time for calcul the mask position with numpy : 0.00803995132446289 nb_pixel_total : 16359 time to create 1 rle with old method : 0.01906728744506836 create new chi : 0.24660015106201172 time to delete rle : 0.0005784034729003906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1976 TO DO : save crop sub photo not yet done ! save time : 0.16436219215393066 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.36067748069763184 time for calcul the mask position with numpy : 0.0793766975402832 nb_pixel_total : 1792198 time to create 1 rle with new method : 0.13581609725952148 time for calcul the mask position with numpy : 0.010583877563476562 nb_pixel_total : 207544 time to create 1 rle with new method : 0.1108095645904541 time for calcul the mask position with numpy : 0.009933710098266602 nb_pixel_total : 21090 time to create 1 rle with old method : 0.0255892276763916 time for calcul the mask position with numpy : 0.009673833847045898 nb_pixel_total : 16025 time to create 1 rle with old method : 0.021039962768554688 time for calcul the mask position with numpy : 0.009613990783691406 nb_pixel_total : 10897 time to create 1 rle with old method : 0.012767553329467773 time for calcul the mask position with numpy : 0.009455204010009766 nb_pixel_total : 25846 time to create 1 rle with old method : 0.030390262603759766 create new chi : 0.4775075912475586 time to delete rle : 0.0011396408081054688 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 3271 TO DO : save crop sub photo not yet done ! save time : 0.24154138565063477 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.16611814498901367 time for calcul the mask position with numpy : 0.0950627326965332 nb_pixel_total : 1916092 time to create 1 rle with new method : 0.12726330757141113 time for calcul the mask position with numpy : 0.007893562316894531 nb_pixel_total : 12563 time to create 1 rle with old method : 0.017995357513427734 time for calcul the mask position with numpy : 0.007727146148681641 nb_pixel_total : 11878 time to create 1 rle with old method : 0.01443171501159668 time for calcul the mask position with numpy : 0.007828235626220703 nb_pixel_total : 17101 time to create 1 rle with old method : 0.021804332733154297 time for calcul the mask position with numpy : 0.009344100952148438 nb_pixel_total : 113373 time to create 1 rle with old method : 0.13594937324523926 time for calcul the mask position with numpy : 0.00855398178100586 nb_pixel_total : 2593 time to create 1 rle with old method : 0.003095865249633789 create new chi : 0.4683263301849365 time to delete rle : 0.0011262893676757812 batch 1 Loaded 11 chid ids of type : 3594 ++++++++++Number RLEs to save : 3954 TO DO : save crop sub photo not yet done ! save time : 0.24057483673095703 nb_obj : 13 nb_hashtags : 3 time to prepare the origin masks : 1.7179744243621826 time for calcul the mask position with numpy : 0.9565224647521973 nb_pixel_total : 1375366 time to create 1 rle with new method : 0.2129824161529541 time for calcul the mask position with numpy : 0.008478641510009766 nb_pixel_total : 11777 time to create 1 rle with old method : 0.013805627822875977 time for calcul the mask position with numpy : 0.00978708267211914 nb_pixel_total : 2275 time to create 1 rle with old method : 0.0027494430541992188 time for calcul the mask position with numpy : 0.009783029556274414 nb_pixel_total : 109947 time to create 1 rle with old method : 0.13205289840698242 time for calcul the mask position with numpy : 0.008698463439941406 nb_pixel_total : 4454 time to create 1 rle with old method : 0.005208492279052734 time for calcul the mask position with numpy : 0.00886845588684082 nb_pixel_total : 8533 time to create 1 rle with old method : 0.010940790176391602 time for calcul the mask position with numpy : 0.008727073669433594 nb_pixel_total : 4481 time to create 1 rle with old method : 0.005341529846191406 time for calcul the mask position with numpy : 0.014141559600830078 nb_pixel_total : 513258 time to create 1 rle with new method : 0.24538588523864746 time for calcul the mask position with numpy : 0.0069544315338134766 nb_pixel_total : 5122 time to create 1 rle with old method : 0.0061185359954833984 time for calcul the mask position with numpy : 0.007660627365112305 nb_pixel_total : 14637 time to create 1 rle with old method : 0.02183246612548828 time for calcul the mask position with numpy : 0.007042884826660156 nb_pixel_total : 2659 time to create 1 rle with old method : 0.003232717514038086 time for calcul the mask position with numpy : 0.007094621658325195 nb_pixel_total : 14104 time to create 1 rle with old method : 0.023110389709472656 time for calcul the mask position with numpy : 0.00727081298828125 nb_pixel_total : 4220 time to create 1 rle with old method : 0.0049970149993896484 time for calcul the mask position with numpy : 0.008420228958129883 nb_pixel_total : 2767 time to create 1 rle with old method : 0.003286600112915039 create new chi : 1.7756242752075195 time to delete rle : 0.0011048316955566406 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++++++++Number RLEs to save : 6805 TO DO : save crop sub photo not yet done ! save time : 0.42782092094421387 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09363770484924316 time for calcul the mask position with numpy : 0.01553964614868164 nb_pixel_total : 782032 time to create 1 rle with new method : 0.03499603271484375 time for calcul the mask position with numpy : 0.016146421432495117 nb_pixel_total : 1271028 time to create 1 rle with new method : 0.23087382316589355 time for calcul the mask position with numpy : 0.011989355087280273 nb_pixel_total : 5231 time to create 1 rle with old method : 0.006872653961181641 time for calcul the mask position with numpy : 0.00718379020690918 nb_pixel_total : 9474 time to create 1 rle with old method : 0.011147260665893555 time for calcul the mask position with numpy : 0.0075800418853759766 nb_pixel_total : 5835 time to create 1 rle with old method : 0.00687408447265625 create new chi : 0.37123966217041016 time to delete rle : 0.0011737346649169922 batch 1 Loaded 11 chid ids of type : 3594 +++++++++Number RLEs to save : 4719 TO DO : save crop sub photo not yet done ! save time : 0.3230128288269043 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.13915705680847168 time for calcul the mask position with numpy : 0.10337066650390625 nb_pixel_total : 2005333 time to create 1 rle with new method : 0.3273594379425049 time for calcul the mask position with numpy : 0.00717926025390625 nb_pixel_total : 46288 time to create 1 rle with old method : 0.05445671081542969 time for calcul the mask position with numpy : 0.007573127746582031 nb_pixel_total : 21979 time to create 1 rle with old method : 0.025789737701416016 create new chi : 0.5369839668273926 time to delete rle : 0.00041961669921875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2048 TO DO : save crop sub photo not yet done ! save time : 0.17767953872680664 No data in photo_id : 1380617836 map_output_result : {1380618097: (0.0, 'Should be the crop_list due to order', 0), 1380618089: (0.0, 'Should be the crop_list due to order', 0), 1380618042: (0.0, 'Should be the crop_list due to order', 0), 1380618034: (0.0, 'Should be the crop_list due to order', 0), 1380618022: (0.0, 'Should be the crop_list due to order', 0), 1380618014: (0.0, 'Should be the crop_list due to order', 0), 1380618012: (0.0, 'Should be the crop_list due to order', 0), 1380618009: (0.0, 'Should be the crop_list due to order', 0), 1380617871: (0.0, 'Should be the crop_list due to order', 0), 1380617846: (0.0, 'Should be the crop_list due to order', 0), 1380617836: (0.0, 'Should be the crop_list due to order', 0.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 [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] Looping around the photos to save general results len do output : 11 /1380618097.Didn't retrieve data . /1380618089.Didn't retrieve data . /1380618042.Didn't retrieve data . /1380618034.Didn't retrieve data . /1380618022.Didn't retrieve data . /1380618014.Didn't retrieve data . /1380618012.Didn't retrieve data . /1380618009.Didn't retrieve data . /1380617871.Didn't retrieve data . /1380617846.Didn't retrieve data . /1380617836.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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.012902021408081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.609859704971313 time spend to save output : 0.013494729995727539 total time spend for step 3 : 11.623354434967041 step4:ventilate_hashtags_in_portfolio Mon Sep 1 14:31: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 ! 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 : 26397835 get user id for portfolio 26397835 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`=26397835 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','pehd','metal','mal_croppe','flou','autre','pet_fonce','environnement','background','papier')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26397835 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','pehd','metal','mal_croppe','flou','autre','pet_fonce','environnement','background','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26397835 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_clair','pehd','metal','mal_croppe','flou','autre','pet_fonce','environnement','background','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26398719,26398720,26398721,26398722,26398723,26398724,26398725,26398726,26398727,26398728,26398729?tags=carton,pet_clair,pehd,metal,mal_croppe,flou,autre,pet_fonce,environnement,background,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] Looping around the photos to save general results len do output : 1 /26397835. 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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.017260313034057617 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7502491474151611 time spend to save output : 0.017550945281982422 total time spend for step 4 : 1.7678000926971436 step5:final Mon Sep 1 14:31: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 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 : {1380618097: ('0.12035094872334459',), 1380618089: ('0.12035094872334459',), 1380618042: ('0.12035094872334459',), 1380618034: ('0.12035094872334459',), 1380618022: ('0.12035094872334459',), 1380618014: ('0.12035094872334459',), 1380618012: ('0.12035094872334459',), 1380618009: ('0.12035094872334459',), 1380617871: ('0.12035094872334459',), 1380617846: ('0.12035094872334459',), 1380617836: ('0.12035094872334459',)} new output for save of step final : {1380618097: ('0.12035094872334459',), 1380618089: ('0.12035094872334459',), 1380618042: ('0.12035094872334459',), 1380618034: ('0.12035094872334459',), 1380618022: ('0.12035094872334459',), 1380618014: ('0.12035094872334459',), 1380618012: ('0.12035094872334459',), 1380618009: ('0.12035094872334459',), 1380617871: ('0.12035094872334459',), 1380617846: ('0.12035094872334459',), 1380617836: ('0.12035094872334459',)} [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] Looping around the photos to save general results len do output : 11 /1380618097.Didn't retrieve data . /1380618089.Didn't retrieve data . /1380618042.Didn't retrieve data . /1380618034.Didn't retrieve data . /1380618022.Didn't retrieve data . /1380618014.Didn't retrieve data . /1380618012.Didn't retrieve data . /1380618009.Didn't retrieve data . /1380617871.Didn't retrieve data . /1380617846.Didn't retrieve data . /1380617836.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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.015146255493164062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12760472297668457 time spend to save output : 0.015851259231567383 total time spend for step 5 : 0.14345598220825195 step6:blur_detection Mon Sep 1 14:31: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 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/1756729829_3953583_1380618097_6cc20ed8ffc9445ed94521232df52aa3.jpg resize: (1080, 1920) 1380618097 0.5874056083360665 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2.jpg resize: (1080, 1920) 1380618089 -0.7983174117394726 treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77.jpg resize: (1080, 1920) 1380618042 3.7060088132485367 treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8.jpg resize: (1080, 1920) 1380618034 -1.0522982211179457 treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d.jpg resize: (1080, 1920) 1380618022 -0.5641727869244472 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd.jpg resize: (1080, 1920) 1380618014 3.679449297416851 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b.jpg resize: (1080, 1920) 1380618012 -1.115422310295195 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777.jpg resize: (1080, 1920) 1380618009 -0.5932349305033965 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b.jpg resize: (1080, 1920) 1380617871 3.9347572169317013 treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d.jpg resize: (1080, 1920) 1380617846 0.38623275603353985 treat image : temp/1756729829_3953583_1380617836_8b040122f992c11e94908d6fdee0b9a5.jpg resize: (1080, 1920) 1380617836 -0.46980038576151867 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029104_0.png resize: (105, 191) 1380632543 -1.4370064038694392 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029106_0.png resize: (145, 40) 1380632544 -1.4760988935352692 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029109_0.png resize: (155, 105) 1380632545 -1.2123874136127564 treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029112_0.png resize: (108, 116) 1380632546 2.162988331797683 treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029113_0.png resize: (117, 120) 1380632547 1.452166969873369 treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029114_0.png resize: (84, 159) 1380632548 -0.5484915797597717 treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029115_0.png resize: (154, 118) 1380632549 -1.5591460784909845 treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029116_0.png resize: (103, 134) 1380632550 -1.4029185769351957 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029125_0.png resize: (125, 178) 1380632551 -0.08320925242080253 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029126_0.png resize: (198, 170) 1380632552 -1.4014402934193009 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029130_0.png resize: (158, 182) 1380632553 -0.09130790798395504 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029133_0.png resize: (62, 57) 1380632554 0.6570071889881459 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029134_0.png resize: (95, 69) 1380632555 -0.08555001185947969 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029135_0.png resize: (122, 134) 1380632556 0.9555624378394231 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029136_0.png resize: (107, 60) 1380632557 -3.618535014952999 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029138_0.png resize: (105, 86) 1380632558 -0.3042555115528997 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029139_0.png resize: (885, 1167) 1380632559 -0.2995894571237757 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029140_0.png resize: (75, 103) 1380632560 -0.6674154459399552 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029142_0.png resize: (36, 139) 1380632561 -2.620328432035941 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029143_0.png resize: (531, 367) 1380632562 0.16055613625531648 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029145_0.png resize: (78, 163) 1380632563 3.655478503698351 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029146_0.png resize: (82, 149) 1380632564 -1.83198822215094 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029148_0.png resize: (76, 103) 1380632565 0.15969207202423802 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029150_0.png resize: (46, 52) 1380632566 -0.24663091065209583 treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d_rle_crop_3939029152_0.png resize: (152, 216) 1380632567 -1.2144845449897415 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029123_0.png resize: (158, 220) 1380632568 -1.2715226988404158 treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029118_0.png resize: (72, 138) 1380632570 -0.6664428243488263 treat image : temp/1756729829_3953583_1380618097_6cc20ed8ffc9445ed94521232df52aa3_rle_crop_3939029103_0.png resize: (178, 262) 1380632582 -2.149089475058559 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029105_0.png resize: (130, 119) 1380632583 -1.091552921533499 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029108_0.png resize: (39, 88) 1380632584 1.7161145675892182 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029110_0.png resize: (189, 337) 1380632585 -1.4971528754680956 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029111_0.png resize: (113, 78) 1380632586 -0.26296759257341334 treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029117_0.png resize: (146, 123) 1380632587 -4.412165753565848 treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029120_0.png resize: (70, 317) 1380632588 -1.2801396962650062 treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029121_0.png resize: (307, 152) 1380632589 -0.888111144448169 treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029122_0.png resize: (70, 65) 1380632590 1.254926555055862 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029124_0.png resize: (137, 115) 1380632591 -1.0141843332524754 treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029127_0.png resize: (444, 702) 1380632592 -0.7693451632225986 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029128_0.png resize: (39, 90) 1380632593 -2.504123672866975 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029129_0.png resize: (532, 624) 1380632594 -1.900724003252236 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029144_0.png resize: (74, 152) 1380632595 -2.103632472646578 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029147_0.png resize: (147, 156) 1380632596 -1.3383526398503616 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029149_0.png resize: (1009, 1416) 1380632597 0.5219986377732128 treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029151_0.png resize: (108, 106) 1380632598 -0.3919998037204509 treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d_rle_crop_3939029153_0.png resize: (325, 186) 1380632599 -0.3632120769916239 treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029107_0.png resize: (142, 128) 1380632601 -3.367869710978219 treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029119_0.png resize: (140, 123) 1380632602 -3.403978820802533 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029131_0.png resize: (140, 121) 1380632603 -3.1889375564441744 treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029132_0.png resize: (160, 100) 1380632605 0.1007728997847529 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029137_0.png resize: (135, 144) 1380632606 -2.828035917339143 treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029141_0.png resize: (123, 121) 1380632607 -1.5132035843615403 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 62 time used for this insertion : 0.01415562629699707 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.013612031936645508 save missing photos in datou_result : time spend for datou_step_exec : 10.31141209602356 time spend to save output : 0.032720088958740234 total time spend for step 6 : 10.3441321849823 step7:brightness Mon Sep 1 14:31:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756729829_3953583_1380618097_6cc20ed8ffc9445ed94521232df52aa3.jpg treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2.jpg treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77.jpg treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8.jpg treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d.jpg treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd.jpg treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b.jpg treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777.jpg treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b.jpg treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d.jpg treat image : temp/1756729829_3953583_1380617836_8b040122f992c11e94908d6fdee0b9a5.jpg treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029104_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029106_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029109_0.png treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029112_0.png treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029113_0.png treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029114_0.png treat image : temp/1756729829_3953583_1380618042_78c45bfdb7caf38e7f427008b274fd77_rle_crop_3939029115_0.png treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029116_0.png treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029125_0.png treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029126_0.png treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029130_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029133_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029134_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029135_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029136_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029138_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029139_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029140_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029142_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029143_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029145_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029146_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029148_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029150_0.png treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d_rle_crop_3939029152_0.png treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029123_0.png treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029118_0.png treat image : temp/1756729829_3953583_1380618097_6cc20ed8ffc9445ed94521232df52aa3_rle_crop_3939029103_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029105_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029108_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029110_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029111_0.png treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029117_0.png treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029120_0.png treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029121_0.png treat image : temp/1756729829_3953583_1380618022_23261b1aae9e64ec66ed6fbd71b67c2d_rle_crop_3939029122_0.png treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029124_0.png treat image : temp/1756729829_3953583_1380618014_271c6bb70d1e8c51626059be130141bd_rle_crop_3939029127_0.png treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029128_0.png treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029129_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029144_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029147_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029149_0.png treat image : temp/1756729829_3953583_1380617871_05202dc1bb78384498de5e8f360ad24b_rle_crop_3939029151_0.png treat image : temp/1756729829_3953583_1380617846_e5ca34d2c1a666139d91fccb015b811d_rle_crop_3939029153_0.png treat image : temp/1756729829_3953583_1380618089_6503c301a5e4f22fa2466c1273e0d7d2_rle_crop_3939029107_0.png treat image : temp/1756729829_3953583_1380618034_61affff50f071cf1fff7514889c4bfd8_rle_crop_3939029119_0.png treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029131_0.png treat image : temp/1756729829_3953583_1380618012_bc5388e9ee3539fc7d1a0a8a667e238b_rle_crop_3939029132_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029137_0.png treat image : temp/1756729829_3953583_1380618009_2651dfabb3771b54e46ede257f170777_rle_crop_3939029141_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 62 time used for this insertion : 0.014136552810668945 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.01710796356201172 save missing photos in datou_result : time spend for datou_step_exec : 3.126844644546509 time spend to save output : 0.035700321197509766 total time spend for step 7 : 3.1625449657440186 step8:velours_tree Mon Sep 1 14:31:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.22940921783447266 time spend to save output : 7.843971252441406e-05 total time spend for step 8 : 0.22948765754699707 step9:send_mail_cod Mon Sep 1 14:31:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26397835_01-09-2025_14_31_54.pdf 26398719 change filename to text .imagette263987191756729914 26398720 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 .imagette263987201756729915 26398721 imagette263987211756729916 26398722 change filename to text .imagette263987221756729916 26398723 imagette263987231756729916 26398724 imagette263987241756729916 26398725 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263987251756729916 26398726 imagette263987261756729916 26398728 imagette263987281756729916 26398729 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 .imagette263987291756729916 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26397835 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26398719,26398720,26398721,26398722,26398723,26398724,26398725,26398726,26398727,26398728,26398729?tags=carton,pet_clair,pehd,metal,mal_croppe,flou,autre,pet_fonce,environnement,background,papier args[1380618097] : ((1380618097, 0.5874056083360665, 492688767), (1380618097, 1.012377249654741, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618089] : ((1380618089, -0.7983174117394726, 492688767), (1380618089, 0.4516727420764506, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618042] : ((1380618042, 3.7060088132485367, 492688767), (1380618042, 0.7060876884776625, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618034] : ((1380618034, -1.0522982211179457, 492688767), (1380618034, 0.30561233704893376, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618022] : ((1380618022, -0.5641727869244472, 492688767), (1380618022, 0.6817966430227905, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618014] : ((1380618014, 3.679449297416851, 492688767), (1380618014, 0.35606996455997625, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618012] : ((1380618012, -1.115422310295195, 492688767), (1380618012, 0.9198038760502916, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380618009] : ((1380618009, -0.5932349305033965, 492688767), (1380618009, 0.48840964874281245, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380617871] : ((1380617871, 3.9347572169317013, 492688767), (1380617871, 0.45128429717775786, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380617846] : ((1380617846, 0.38623275603353985, 492688767), (1380617846, 0.5830168379727104, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com args[1380617836] : ((1380617836, -0.46980038576151867, 492688767), (1380617836, 0.4408279175366101, 2107752395), '0.12035094872334459') We are sending mail with results at report@fotonower.com refus_total : 0.12035094872334459 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=26397835 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_P26397835_01-09-2025_14_31_54.pdf results_Auto_P26397835_01-09-2025_14_31_54.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26397835_01-09-2025_14_31_54.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','26397835','results_Auto_P26397835_01-09-2025_14_31_54.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26397835_01-09-2025_14_31_54.pdf','pdf','','0.41','0.12035094872334459') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26397835

https://www.fotonower.com/image?json=false&list_photos_id=1380618097
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380618089
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380618042
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.7060088132485367)
https://www.fotonower.com/image?json=false&list_photos_id=1380618034
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380618022
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380618014
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.679449297416851)
https://www.fotonower.com/image?json=false&list_photos_id=1380618012
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380618009
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380617871
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.9347572169317013)
https://www.fotonower.com/image?json=false&list_photos_id=1380617846
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380617836
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26398719?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26398720?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26398722?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26398725?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26398729?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26397835_01-09-2025_14_31_54.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26398719,26398720,26398721,26398722,26398723,26398724,26398725,26398726,26398727,26398728,26398729?tags=carton,pet_clair,pehd,metal,mal_croppe,flou,autre,pet_fonce,environnement,background,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 01 Sep 2025 12:31:59 GMT Content-Length: 0 Connection: close X-Message-Id: BtrmviDAQzO7TXmEnfcAEQ 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 [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] 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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015548229217529297 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.618513107299805 time spend to save output : 0.01583075523376465 total time spend for step 9 : 4.634343862533569 step10:split_time_score Mon Sep 1 14:31:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('13', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01092025 26397835 Nombre de photos uploadées : 11 / 23040 (0%) 01092025 26397835 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 01092025 26397835 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006287097930908203 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.1985456943511963 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.2049839784807956 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26388367_01-09-2025_08_52_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26388367 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`=26388367 AND mptpi.`type`=3594 To do Qualite : 0.02858944681861349 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26388369_01-09-2025_08_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26388369 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`=26388369 AND mptpi.`type`=3594 To do Qualite : 0.17089546783625734 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26390641_01-09-2025_10_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26390641 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`=26390641 AND mptpi.`type`=3594 To do Qualite : 0.1353585409858388 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26395439_01-09-2025_13_57_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26395439 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`=26395439 AND mptpi.`type`=3594 To do Qualite : 0.06672458526234568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26395440_01-09-2025_13_02_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26395440 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`=26395440 AND mptpi.`type`=3594 To do Qualite : 0.12035094872334459 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26397835_01-09-2025_14_31_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26397835 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`=26397835 AND mptpi.`type`=3594 To do Qualite : 0.16613797260802474 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26397837_01-09-2025_14_21_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26397837 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`=26397837 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01092025': {'nb_upload': 11, '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 [1380618097, 1380618089, 1380618042, 1380618034, 1380618022, 1380618014, 1380618012, 1380618009, 1380617871, 1380617846, 1380617836] Looping around the photos to save general results len do output : 1 /26397835Didn'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, '3646217') ('3318', '26397835', '1380618097', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618089', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618042', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618034', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618022', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618014', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618012', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380618009', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617871', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617846', None, None, None, None, None, '3646217') ('3318', None, None, None, None, None, None, None, '3646217') ('3318', '26397835', '1380617836', None, None, None, None, None, '3646217') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014422178268432617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7615923881530762 time spend to save output : 0.014686346054077148 total time spend for step 10 : 0.7762787342071533 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 49.98user 23.41system 1:34.68elapsed 77%CPU (0avgtext+0avgdata 2872440maxresident)k 428272inputs+28576outputs (647major+1767910minor)pagefaults 0swaps