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 : 1102969 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 : ['3547033'] with mtr_portfolio_ids : ['26022979'] and first list_photo_ids : [] new path : /proc/1102969/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.8923695087432861 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 15 12:30:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10395 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-15 12:30:32.775448: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-15 12:30:32.783617: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-15 12:30:32.785162: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7a98000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-15 12:30:32.785217: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-15 12:30:32.787777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-15 12:30:32.915959: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x31f23730 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-15 12:30:32.916009: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-15 12:30:32.917406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-15 12:30:32.917818: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-15 12:30:32.920807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-15 12:30:32.923609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-15 12:30:32.924074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-15 12:30:32.926517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-15 12:30:32.927557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-15 12:30:32.931867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-15 12:30:32.933401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-15 12:30:32.933484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-15 12:30:32.934266: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-15 12:30:32.934283: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-15 12:30:32.934292: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-15 12:30:32.935666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9485 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-15 12:30:33.203873: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-15 12:30:33.203969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-15 12:30:33.203989: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-15 12:30:33.204009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-15 12:30:33.204027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-15 12:30:33.204044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-15 12:30:33.204060: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-15 12:30:33.204077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-15 12:30:33.205403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-15 12:30:33.206834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-15 12:30:33.206903: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-15 12:30:33.206922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-15 12:30:33.206938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-15 12:30:33.206954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-15 12:30:33.206971: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-15 12:30:33.206987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-15 12:30:33.207003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-15 12:30:33.208274: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-15 12:30:33.208310: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-15 12:30:33.208319: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-15 12:30:33.208327: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-15 12:30:33.209683: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9485 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-15 12:30:40.477594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-15 12:30:40.727248: 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 : 14 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 : 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 48.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: 34.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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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: 52.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: 25.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: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.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: 37.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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 55.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 : 2 Detection mask done ! Trying to reset tf kernel 1103558 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1329 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 6618 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.00022339820861816406 nb_pixel_total : 6911 time to create 1 rle with old method : 0.008253097534179688 length of segment : 88 time for calcul the mask position with numpy : 7.653236389160156e-05 nb_pixel_total : 2784 time to create 1 rle with old method : 0.003406047821044922 length of segment : 58 length of segment : 0 time for calcul the mask position with numpy : 0.0001842975616455078 nb_pixel_total : 8543 time to create 1 rle with old method : 0.010407447814941406 length of segment : 104 time for calcul the mask position with numpy : 0.00010085105895996094 nb_pixel_total : 2414 time to create 1 rle with old method : 0.003015756607055664 length of segment : 53 time for calcul the mask position with numpy : 0.0017285346984863281 nb_pixel_total : 69233 time to create 1 rle with old method : 0.08105254173278809 length of segment : 362 time for calcul the mask position with numpy : 0.00010514259338378906 nb_pixel_total : 3422 time to create 1 rle with old method : 0.004067182540893555 length of segment : 65 time for calcul the mask position with numpy : 0.00010991096496582031 nb_pixel_total : 3283 time to create 1 rle with old method : 0.0039484500885009766 length of segment : 50 time for calcul the mask position with numpy : 0.0001266002655029297 nb_pixel_total : 5712 time to create 1 rle with old method : 0.006455659866333008 length of segment : 102 time for calcul the mask position with numpy : 0.013653755187988281 nb_pixel_total : 687732 time to create 1 rle with new method : 0.027587413787841797 length of segment : 963 time for calcul the mask position with numpy : 0.00015044212341308594 nb_pixel_total : 2538 time to create 1 rle with old method : 0.0029976367950439453 length of segment : 67 time for calcul the mask position with numpy : 0.00031495094299316406 nb_pixel_total : 18609 time to create 1 rle with old method : 0.02139592170715332 length of segment : 213 time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 6872 time to create 1 rle with old method : 0.007873058319091797 length of segment : 90 time for calcul the mask position with numpy : 0.00011587142944335938 nb_pixel_total : 5131 time to create 1 rle with old method : 0.005804777145385742 length of segment : 116 time for calcul the mask position with numpy : 0.0006771087646484375 nb_pixel_total : 42993 time to create 1 rle with old method : 0.04718470573425293 length of segment : 234 time for calcul the mask position with numpy : 0.0002410411834716797 nb_pixel_total : 12235 time to create 1 rle with old method : 0.013772249221801758 length of segment : 117 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 6661 time to create 1 rle with old method : 0.0076792240142822266 length of segment : 77 time for calcul the mask position with numpy : 0.00027871131896972656 nb_pixel_total : 11006 time to create 1 rle with old method : 0.012443304061889648 length of segment : 125 time for calcul the mask position with numpy : 0.0002446174621582031 nb_pixel_total : 12380 time to create 1 rle with old method : 0.014248847961425781 length of segment : 135 time for calcul the mask position with numpy : 0.0018966197967529297 nb_pixel_total : 102045 time to create 1 rle with old method : 0.11642622947692871 length of segment : 545 time for calcul the mask position with numpy : 0.0002980232238769531 nb_pixel_total : 10936 time to create 1 rle with old method : 0.013284683227539062 length of segment : 178 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 9413 time to create 1 rle with old method : 0.011682271957397461 length of segment : 123 time for calcul the mask position with numpy : 0.0015633106231689453 nb_pixel_total : 110995 time to create 1 rle with old method : 0.12983918190002441 length of segment : 530 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 6356 time to create 1 rle with old method : 0.007821083068847656 length of segment : 72 time for calcul the mask position with numpy : 0.00012922286987304688 nb_pixel_total : 5833 time to create 1 rle with old method : 0.007031679153442383 length of segment : 110 time for calcul the mask position with numpy : 0.00018262863159179688 nb_pixel_total : 8516 time to create 1 rle with old method : 0.010489225387573242 length of segment : 87 time for calcul the mask position with numpy : 0.001622915267944336 nb_pixel_total : 108915 time to create 1 rle with old method : 0.1255779266357422 length of segment : 548 time for calcul the mask position with numpy : 0.00015163421630859375 nb_pixel_total : 4672 time to create 1 rle with old method : 0.0057637691497802734 length of segment : 68 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 20902 time to create 1 rle with old method : 0.025212764739990234 length of segment : 153 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 4714 time to create 1 rle with old method : 0.005876779556274414 length of segment : 56 time for calcul the mask position with numpy : 0.0004646778106689453 nb_pixel_total : 24406 time to create 1 rle with old method : 0.0293276309967041 length of segment : 161 time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 3654 time to create 1 rle with old method : 0.0045166015625 length of segment : 71 time for calcul the mask position with numpy : 8.058547973632812e-05 nb_pixel_total : 2190 time to create 1 rle with old method : 0.0027892589569091797 length of segment : 58 time for calcul the mask position with numpy : 0.00013446807861328125 nb_pixel_total : 3628 time to create 1 rle with old method : 0.004606008529663086 length of segment : 152 time for calcul the mask position with numpy : 0.00013303756713867188 nb_pixel_total : 5387 time to create 1 rle with old method : 0.006535053253173828 length of segment : 89 time for calcul the mask position with numpy : 0.0015349388122558594 nb_pixel_total : 101653 time to create 1 rle with old method : 0.11715316772460938 length of segment : 555 time for calcul the mask position with numpy : 0.0015196800231933594 nb_pixel_total : 110215 time to create 1 rle with old method : 0.13310718536376953 length of segment : 537 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 4408 time to create 1 rle with old method : 0.005281686782836914 length of segment : 95 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 10407 time to create 1 rle with old method : 0.012574434280395508 length of segment : 109 time for calcul the mask position with numpy : 0.0015277862548828125 nb_pixel_total : 98711 time to create 1 rle with old method : 0.11542534828186035 length of segment : 503 time for calcul the mask position with numpy : 0.0002551078796386719 nb_pixel_total : 7523 time to create 1 rle with old method : 0.010453462600708008 length of segment : 78 time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 10790 time to create 1 rle with old method : 0.016675710678100586 length of segment : 107 time for calcul the mask position with numpy : 0.002002239227294922 nb_pixel_total : 77742 time to create 1 rle with old method : 0.08978700637817383 length of segment : 406 time spent for convertir_results : 2.589801073074341 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 43 chid ids of type : 3594 Number RLEs to save : 8410 save missing photos in datou_result : time spend for datou_step_exec : 23.869152784347534 time spend to save output : 0.5713324546813965 total time spend for step 1 : 24.44048523902893 step2:crop_condition Fri Aug 15 12:30: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 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 : 14 ! batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755253856_1102969 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.161593914031982 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1755253862_1102969 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.7617177963256836 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755253864_1102969 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7840673923492432 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755253870_1102969 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 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.8589234352111816 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755253875_1102969 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first Unexecpected behavior in 07/2025 that can be generalized l287 : type_extension .jpg This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0281305313110352 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 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 [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] Looping around the photos to save general results len do output : 43 /1377288265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377288403Didn'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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 143 time used for this insertion : 0.0754861831665039 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.573928833007812 time spend to save output : 0.0774681568145752 total time spend for step 2 : 21.651396989822388 step3:rle_unique_nms_with_priority Fri Aug 15 12:31:16 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 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 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.13798999786376953 time for calcul the mask position with numpy : 0.03020787239074707 nb_pixel_total : 1982061 time to create 1 rle with new method : 0.050661325454711914 time for calcul the mask position with numpy : 0.0072956085205078125 nb_pixel_total : 1654 time to create 1 rle with old method : 0.0022923946380615234 time for calcul the mask position with numpy : 0.0073053836822509766 nb_pixel_total : 69233 time to create 1 rle with old method : 0.08602261543273926 time for calcul the mask position with numpy : 0.006665706634521484 nb_pixel_total : 2414 time to create 1 rle with old method : 0.0028955936431884766 time for calcul the mask position with numpy : 0.006567955017089844 nb_pixel_total : 8543 time to create 1 rle with old method : 0.010085821151733398 time for calcul the mask position with numpy : 0.006494283676147461 nb_pixel_total : 2784 time to create 1 rle with old method : 0.0032689571380615234 time for calcul the mask position with numpy : 0.006524085998535156 nb_pixel_total : 6911 time to create 1 rle with old method : 0.008105993270874023 create new chi : 0.24010992050170898 time to delete rle : 0.021825313568115234 batch 1 Loaded 14 chid ids of type : 3594 +++++++Number RLEs to save : 2472 TO DO : save crop sub photo not yet done ! save time : 0.31571292877197266 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05814862251281738 time for calcul the mask position with numpy : 0.01593923568725586 nb_pixel_total : 1376873 time to create 1 rle with new method : 0.04212379455566406 time for calcul the mask position with numpy : 0.010617733001708984 nb_pixel_total : 687732 time to create 1 rle with new method : 0.027240276336669922 time for calcul the mask position with numpy : 0.005952119827270508 nb_pixel_total : 5712 time to create 1 rle with old method : 0.006304264068603516 time for calcul the mask position with numpy : 0.005794525146484375 nb_pixel_total : 3283 time to create 1 rle with old method : 0.0038881301879882812 create new chi : 0.11835575103759766 time to delete rle : 0.0004749298095703125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3310 TO DO : save crop sub photo not yet done ! save time : 0.26207685470581055 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05090165138244629 time for calcul the mask position with numpy : 0.019370079040527344 nb_pixel_total : 2045581 time to create 1 rle with new method : 0.04070782661437988 time for calcul the mask position with numpy : 0.005946636199951172 nb_pixel_total : 6872 time to create 1 rle with old method : 0.007799625396728516 time for calcul the mask position with numpy : 0.005994558334350586 nb_pixel_total : 18609 time to create 1 rle with old method : 0.021061420440673828 time for calcul the mask position with numpy : 0.006242513656616211 nb_pixel_total : 2538 time to create 1 rle with old method : 0.002898693084716797 create new chi : 0.11406111717224121 time to delete rle : 0.0002689361572265625 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1820 TO DO : save crop sub photo not yet done ! save time : 0.14339995384216309 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06337332725524902 time for calcul the mask position with numpy : 0.02962803840637207 nb_pixel_total : 2013241 time to create 1 rle with new method : 0.04118156433105469 time for calcul the mask position with numpy : 0.006341218948364258 nb_pixel_total : 12235 time to create 1 rle with old method : 0.01392054557800293 time for calcul the mask position with numpy : 0.0064182281494140625 nb_pixel_total : 42993 time to create 1 rle with old method : 0.0479435920715332 time for calcul the mask position with numpy : 0.006058454513549805 nb_pixel_total : 5131 time to create 1 rle with old method : 0.005800485610961914 create new chi : 0.16123461723327637 time to delete rle : 0.00034165382385253906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2014 TO DO : save crop sub photo not yet done ! save time : 0.31131505966186523 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.08416557312011719 time for calcul the mask position with numpy : 0.026791095733642578 nb_pixel_total : 1930572 time to create 1 rle with new method : 0.04416084289550781 time for calcul the mask position with numpy : 0.011425971984863281 nb_pixel_total : 10936 time to create 1 rle with old method : 0.012557268142700195 time for calcul the mask position with numpy : 0.007570028305053711 nb_pixel_total : 102045 time to create 1 rle with old method : 0.11496782302856445 time for calcul the mask position with numpy : 0.006201982498168945 nb_pixel_total : 12380 time to create 1 rle with old method : 0.013679027557373047 time for calcul the mask position with numpy : 0.006319761276245117 nb_pixel_total : 11006 time to create 1 rle with old method : 0.01237034797668457 time for calcul the mask position with numpy : 0.008454084396362305 nb_pixel_total : 6661 time to create 1 rle with old method : 0.007544755935668945 create new chi : 0.2763369083404541 time to delete rle : 0.0005257129669189453 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3200 TO DO : save crop sub photo not yet done ! save time : 0.38777589797973633 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.10030627250671387 time for calcul the mask position with numpy : 0.022711753845214844 nb_pixel_total : 1932487 time to create 1 rle with new method : 0.04362058639526367 time for calcul the mask position with numpy : 0.0063784122467041016 nb_pixel_total : 8516 time to create 1 rle with old method : 0.009872913360595703 time for calcul the mask position with numpy : 0.00622105598449707 nb_pixel_total : 5833 time to create 1 rle with old method : 0.006612300872802734 time for calcul the mask position with numpy : 0.005827426910400391 nb_pixel_total : 6356 time to create 1 rle with old method : 0.007073879241943359 time for calcul the mask position with numpy : 0.006621360778808594 nb_pixel_total : 110995 time to create 1 rle with old method : 0.12342238426208496 time for calcul the mask position with numpy : 0.00720977783203125 nb_pixel_total : 9413 time to create 1 rle with old method : 0.010965824127197266 create new chi : 0.2609412670135498 time to delete rle : 0.00048351287841796875 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2924 TO DO : save crop sub photo not yet done ! save time : 0.25603580474853516 No data in photo_id : 1377262088 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.0639028549194336 time for calcul the mask position with numpy : 0.02262425422668457 nb_pixel_total : 1934397 time to create 1 rle with new method : 0.0376124382019043 time for calcul the mask position with numpy : 0.006415367126464844 nb_pixel_total : 4714 time to create 1 rle with old method : 0.0055789947509765625 time for calcul the mask position with numpy : 0.006273031234741211 nb_pixel_total : 20902 time to create 1 rle with old method : 0.024092435836791992 time for calcul the mask position with numpy : 0.0060770511627197266 nb_pixel_total : 4672 time to create 1 rle with old method : 0.005384922027587891 time for calcul the mask position with numpy : 0.006684541702270508 nb_pixel_total : 108915 time to create 1 rle with old method : 0.12410521507263184 create new chi : 0.2475125789642334 time to delete rle : 0.0003082752227783203 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2730 TO DO : save crop sub photo not yet done ! save time : 0.20452237129211426 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.06705498695373535 time for calcul the mask position with numpy : 0.027339458465576172 nb_pixel_total : 2039722 time to create 1 rle with new method : 0.03939223289489746 time for calcul the mask position with numpy : 0.006545305252075195 nb_pixel_total : 3628 time to create 1 rle with old method : 0.004463672637939453 time for calcul the mask position with numpy : 0.006373167037963867 nb_pixel_total : 2190 time to create 1 rle with old method : 0.002607583999633789 time for calcul the mask position with numpy : 0.006107330322265625 nb_pixel_total : 3654 time to create 1 rle with old method : 0.0043659210205078125 time for calcul the mask position with numpy : 0.0062255859375 nb_pixel_total : 24406 time to create 1 rle with old method : 0.0287322998046875 create new chi : 0.13491177558898926 time to delete rle : 0.00046133995056152344 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 1964 TO DO : save crop sub photo not yet done ! save time : 0.16567778587341309 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.09892821311950684 time for calcul the mask position with numpy : 0.04881906509399414 nb_pixel_total : 1956625 time to create 1 rle with new method : 0.06180691719055176 time for calcul the mask position with numpy : 0.008990049362182617 nb_pixel_total : 9935 time to create 1 rle with old method : 0.011528730392456055 time for calcul the mask position with numpy : 0.009155988693237305 nb_pixel_total : 101653 time to create 1 rle with old method : 0.11159062385559082 time for calcul the mask position with numpy : 0.0085296630859375 nb_pixel_total : 5387 time to create 1 rle with old method : 0.00932621955871582 create new chi : 0.27391552925109863 time to delete rle : 0.0011169910430908203 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3131 TO DO : save crop sub photo not yet done ! save time : 0.2735471725463867 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.0677042007446289 time for calcul the mask position with numpy : 0.18753385543823242 nb_pixel_total : 1960074 time to create 1 rle with new method : 0.36820292472839355 time for calcul the mask position with numpy : 0.009404659271240234 nb_pixel_total : 98711 time to create 1 rle with old method : 0.11924624443054199 time for calcul the mask position with numpy : 0.007788896560668945 nb_pixel_total : 10407 time to create 1 rle with old method : 0.014737367630004883 time for calcul the mask position with numpy : 0.007832765579223633 nb_pixel_total : 4408 time to create 1 rle with old method : 0.0063381195068359375 create new chi : 0.7319722175598145 time to delete rle : 0.0007157325744628906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2494 TO DO : save crop sub photo not yet done ! save time : 0.6686441898345947 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04611992835998535 time for calcul the mask position with numpy : 0.03088831901550293 nb_pixel_total : 2066077 time to create 1 rle with new method : 0.10260868072509766 time for calcul the mask position with numpy : 0.008242607116699219 nb_pixel_total : 7523 time to create 1 rle with old method : 0.008903980255126953 create new chi : 0.15690374374389648 time to delete rle : 0.00026869773864746094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1236 TO DO : save crop sub photo not yet done ! save time : 0.12277364730834961 No data in photo_id : 1377262051 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.1759929656982422 time for calcul the mask position with numpy : 0.10630321502685547 nb_pixel_total : 1985068 time to create 1 rle with new method : 0.2427229881286621 time for calcul the mask position with numpy : 0.007603883743286133 nb_pixel_total : 77742 time to create 1 rle with old method : 0.09241700172424316 time for calcul the mask position with numpy : 0.0068318843841552734 nb_pixel_total : 10790 time to create 1 rle with old method : 0.012602090835571289 create new chi : 0.4781367778778076 time to delete rle : 0.00043201446533203125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2106 TO DO : save crop sub photo not yet done ! save time : 0.18923473358154297 map_output_result : {1377262106: (0.0, 'Should be the crop_list due to order', 0), 1377262105: (0.0, 'Should be the crop_list due to order', 0), 1377262104: (0.0, 'Should be the crop_list due to order', 0), 1377262093: (0.0, 'Should be the crop_list due to order', 0), 1377262092: (0.0, 'Should be the crop_list due to order', 0), 1377262090: (0.0, 'Should be the crop_list due to order', 0), 1377262088: (0.0, 'Should be the crop_list due to order', 0.0), 1377262086: (0.0, 'Should be the crop_list due to order', 0), 1377262083: (0.0, 'Should be the crop_list due to order', 0), 1377262073: (0.0, 'Should be the crop_list due to order', 0), 1377262058: (0.0, 'Should be the crop_list due to order', 0), 1377262054: (0.0, 'Should be the crop_list due to order', 0), 1377262051: (0.0, 'Should be the crop_list due to order', 0.0), 1377262048: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] Looping around the photos to save general results len do output : 14 /1377262106.Didn't retrieve data . /1377262105.Didn't retrieve data . /1377262104.Didn't retrieve data . /1377262093.Didn't retrieve data . /1377262092.Didn't retrieve data . /1377262090.Didn't retrieve data . /1377262088.Didn't retrieve data . /1377262086.Didn't retrieve data . /1377262083.Didn't retrieve data . /1377262073.Didn't retrieve data . /1377262058.Didn't retrieve data . /1377262054.Didn't retrieve data . /1377262051.Didn't retrieve data . /1377262048.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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.014873981475830078 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.9559431076049805 time spend to save output : 0.015851259231567383 total time spend for step 3 : 7.971794366836548 step4:ventilate_hashtags_in_portfolio Fri Aug 15 12:31:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26022979 get user id for portfolio 26022979 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`=26022979 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','flou','papier','pehd','background','pet_clair','pet_fonce','environnement','carton','mal_croppe')) 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`=26022979 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','flou','papier','pehd','background','pet_clair','pet_fonce','environnement','carton','mal_croppe')) 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`=26022979 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','flou','papier','pehd','background','pet_clair','pet_fonce','environnement','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26023792,26023793,26023794,26023795,26023796,26023797,26023798,26023799,26023800,26023801,26023802?tags=autre,metal,flou,papier,pehd,background,pet_clair,pet_fonce,environnement,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] Looping around the photos to save general results len do output : 1 /26022979. 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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.1133878231048584 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7024610042572021 time spend to save output : 0.11382794380187988 total time spend for step 4 : 1.816288948059082 step5:final Fri Aug 15 12:31:25 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 : {1377262106: ('0.05719597387566139',), 1377262105: ('0.05719597387566139',), 1377262104: ('0.05719597387566139',), 1377262093: ('0.05719597387566139',), 1377262092: ('0.05719597387566139',), 1377262090: ('0.05719597387566139',), 1377262088: ('0.05719597387566139',), 1377262086: ('0.05719597387566139',), 1377262083: ('0.05719597387566139',), 1377262073: ('0.05719597387566139',), 1377262058: ('0.05719597387566139',), 1377262054: ('0.05719597387566139',), 1377262051: ('0.05719597387566139',), 1377262048: ('0.05719597387566139',)} new output for save of step final : {1377262106: ('0.05719597387566139',), 1377262105: ('0.05719597387566139',), 1377262104: ('0.05719597387566139',), 1377262093: ('0.05719597387566139',), 1377262092: ('0.05719597387566139',), 1377262090: ('0.05719597387566139',), 1377262088: ('0.05719597387566139',), 1377262086: ('0.05719597387566139',), 1377262083: ('0.05719597387566139',), 1377262073: ('0.05719597387566139',), 1377262058: ('0.05719597387566139',), 1377262054: ('0.05719597387566139',), 1377262051: ('0.05719597387566139',), 1377262048: ('0.05719597387566139',)} [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] Looping around the photos to save general results len do output : 14 /1377262106.Didn't retrieve data . /1377262105.Didn't retrieve data . /1377262104.Didn't retrieve data . /1377262093.Didn't retrieve data . /1377262092.Didn't retrieve data . /1377262090.Didn't retrieve data . /1377262088.Didn't retrieve data . /1377262086.Didn't retrieve data . /1377262083.Didn't retrieve data . /1377262073.Didn't retrieve data . /1377262058.Didn't retrieve data . /1377262054.Didn't retrieve data . /1377262051.Didn't retrieve data . /1377262048.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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.02275562286376953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15674471855163574 time spend to save output : 0.02351665496826172 total time spend for step 5 : 0.18026137351989746 step6:blur_detection Fri Aug 15 12:31:25 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/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08.jpg resize: (1080, 1920) 1377262106 -2.5396572096492664 treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a.jpg resize: (1080, 1920) 1377262105 -0.3894278069143735 treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130.jpg resize: (1080, 1920) 1377262104 -0.3918798061243092 treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d.jpg resize: (1080, 1920) 1377262093 1.167084438676361 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251.jpg resize: (1080, 1920) 1377262092 -3.541145404453169 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a.jpg resize: (1080, 1920) 1377262090 4.114361852375793 treat image : temp/1755253828_1102969_1377262088_64dca8eb49f2282d4962219dfc6d13e2.jpg resize: (1080, 1920) 1377262088 0.9026351452751701 treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d.jpg resize: (1080, 1920) 1377262086 -4.434093675985184 treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23.jpg resize: (1080, 1920) 1377262083 -1.0121235596176423 treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28.jpg resize: (1080, 1920) 1377262073 -0.12002532426214646 treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718.jpg resize: (1080, 1920) 1377262058 -0.5299773639255206 treat image : temp/1755253828_1102969_1377262054_32d1dd938ed5ae5ded0ee810b5e2f660.jpg resize: (1080, 1920) 1377262054 1.1539713641391025 treat image : temp/1755253828_1102969_1377262051_7f38bce7605deb8e4a739d0386c9da9f.jpg resize: (1080, 1920) 1377262051 0.9228752881542761 treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d.jpg resize: (1080, 1920) 1377262048 0.14337109000720805 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696228_0.png resize: (362, 469) 1377288265 -2.6811033441513814 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696226_0.png resize: (97, 131) 1377288266 -3.1162201499737687 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696224_0.png resize: (58, 56) 1377288267 -1.3435904001936254 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696223_0.png resize: (87, 89) 1377288269 -3.411549815399727 treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696231_0.png resize: (102, 67) 1377288270 0.4477927658523846 treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696230_0.png resize: (50, 96) 1377288271 -2.4327699162588012 treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696235_0.png resize: (78, 148) 1377288273 -2.1955391265471285 treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696233_0.png resize: (67, 47) 1377288274 2.5755696121694895 treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696238_0.png resize: (117, 165) 1377288275 1.2108975081377757 treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696236_0.png resize: (116, 64) 1377288277 -0.3001745283991754 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696243_0.png resize: (177, 116) 1377288278 -0.7581585194608708 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696240_0.png resize: (125, 159) 1377288279 -1.1548604578221742 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696248_0.png resize: (86, 158) 1377288281 0.6796344335048896 treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696250_0.png resize: (67, 93) 1377288282 -2.9953153989757597 treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696256_0.png resize: (102, 105) 1377288283 -2.8266128245752427 treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696257_0.png resize: (89, 91) 1377288285 -1.7298272155622043 treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696261_0.png resize: (98, 148) 1377288286 -0.20304165779416578 treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d_rle_crop_3916696264_0.png resize: (107, 155) 1377288288 -1.0444133536310554 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696227_0.png resize: (53, 67) 1377288302 0.3482100142996488 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696239_0.png resize: (77, 144) 1377288304 -1.5751170347409822 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696246_0.png resize: (72, 134) 1377288305 0.08651165564028881 treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696254_0.png resize: (71, 61) 1377288306 2.495088873435892 treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696258_0.png resize: (517, 348) 1377288308 -0.3728634658731114 treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696260_0.png resize: (94, 56) 1377288309 2.9425185016673296 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696229_0.png resize: (65, 79) 1377288316 -1.7157852564821066 treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696252_0.png resize: (53, 120) 1377288317 -3.083366535146311 treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696232_0.png resize: (957, 926) 1377288374 0.2374581495596043 treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696234_0.png resize: (127, 228) 1377288375 -2.1972976654007503 treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696237_0.png resize: (218, 321) 1377288376 -0.8270508385740807 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696242_0.png resize: (544, 324) 1377288378 0.3040544540094218 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696247_0.png resize: (107, 68) 1377288379 2.059564806480038 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696245_0.png resize: (529, 346) 1377288380 0.42490588665878926 treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696251_0.png resize: (136, 234) 1377288382 -4.181070297287623 treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696249_0.png resize: (544, 332) 1377288383 0.03423721947261321 treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696253_0.png resize: (134, 266) 1377288384 -2.372798667874192 treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696255_0.png resize: (58, 59) 1377288386 -1.2572646247603425 treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696259_0.png resize: (528, 345) 1377288387 0.062458941428389286 treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696262_0.png resize: (500, 351) 1377288388 -0.02459639385636808 treat image : temp/1755253828_1102969_1377262054_32d1dd938ed5ae5ded0ee810b5e2f660_rle_crop_3916696263_0.png resize: (76, 133) 1377288390 -1.4488729386890067 treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d_rle_crop_3916696265_0.png resize: (399, 325) 1377288391 -0.09903740305326782 treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_bib_crop_3916696225_0.jpg resize: (159, 333) 1377288400 -0.3149365830166726 treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696241_0.png resize: (130, 130) 1377288402 -2.481069910221817 treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696244_0.png resize: (123, 105) 1377288403 -0.928479279838864 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 : 57 time used for this insertion : 0.013447046279907227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.0157315731048584 save missing photos in datou_result : time spend for datou_step_exec : 12.664159536361694 time spend to save output : 0.03529548645019531 total time spend for step 6 : 12.69945502281189 step7:brightness Fri Aug 15 12:31:38 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/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08.jpg treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a.jpg treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130.jpg treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d.jpg treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251.jpg treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a.jpg treat image : temp/1755253828_1102969_1377262088_64dca8eb49f2282d4962219dfc6d13e2.jpg treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d.jpg treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23.jpg treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28.jpg treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718.jpg treat image : temp/1755253828_1102969_1377262054_32d1dd938ed5ae5ded0ee810b5e2f660.jpg treat image : temp/1755253828_1102969_1377262051_7f38bce7605deb8e4a739d0386c9da9f.jpg treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d.jpg treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696228_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696226_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696224_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696223_0.png treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696231_0.png treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696230_0.png treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696235_0.png treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696233_0.png treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696238_0.png treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696236_0.png treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696243_0.png treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696240_0.png treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696248_0.png treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696250_0.png treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696256_0.png treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696257_0.png treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696261_0.png treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d_rle_crop_3916696264_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696227_0.png treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696239_0.png treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696246_0.png treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696254_0.png treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696258_0.png treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696260_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_rle_crop_3916696229_0.png treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696252_0.png treat image : temp/1755253828_1102969_1377262105_5a575316c8bc627a03c901c4203eec0a_rle_crop_3916696232_0.png treat image : temp/1755253828_1102969_1377262104_1194c3e44b8c4f8733089d0928940130_rle_crop_3916696234_0.png treat image : temp/1755253828_1102969_1377262093_a951d120ee2cac22d876745726b7eb3d_rle_crop_3916696237_0.png treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696242_0.png treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696247_0.png treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696245_0.png treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696251_0.png treat image : temp/1755253828_1102969_1377262086_3866f6ca961d5a8c7c07d1175002239d_rle_crop_3916696249_0.png treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696253_0.png treat image : temp/1755253828_1102969_1377262083_b564f01223be2d3f065d3c2d1ea15f23_rle_crop_3916696255_0.png treat image : temp/1755253828_1102969_1377262073_13b133d1034500bd40811d5685225d28_rle_crop_3916696259_0.png treat image : temp/1755253828_1102969_1377262058_b4d8e5c0fab5491b7f8ba4fcc7deb718_rle_crop_3916696262_0.png treat image : temp/1755253828_1102969_1377262054_32d1dd938ed5ae5ded0ee810b5e2f660_rle_crop_3916696263_0.png treat image : temp/1755253828_1102969_1377262048_a5a8c4d51bf5016d100777cd83f35a4d_rle_crop_3916696265_0.png treat image : temp/1755253828_1102969_1377262106_7a93ca501b1ac7aa0d74ba2fd258fe08_bib_crop_3916696225_0.jpg treat image : temp/1755253828_1102969_1377262092_eb470fd17e46a71db786763e0dfde251_rle_crop_3916696241_0.png treat image : temp/1755253828_1102969_1377262090_1f564585e3c09c924aec08c878e7b96a_rle_crop_3916696244_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 : 57 time used for this insertion : 0.02104806900024414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.015694856643676758 save missing photos in datou_result : time spend for datou_step_exec : 3.9938910007476807 time spend to save output : 0.041914939880371094 total time spend for step 7 : 4.035805940628052 step8:velours_tree Fri Aug 15 12:31:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.10441398620605469 time spend to save output : 5.078315734863281e-05 total time spend for step 8 : 0.10446476936340332 step9:send_mail_cod Fri Aug 15 12:31:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26022979_15-08-2025_12_31_42.pdf 26023792 change filename to text .change filename to text .change filename to text .imagette260237921755253902 26023793 change filename to text .change filename to text .imagette260237931755253903 26023794 imagette260237941755253903 26023795 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 .imagette260237951755253903 26023796 imagette260237961755253904 26023797 imagette260237971755253904 26023798 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 .imagette260237981755253904 26023799 imagette260237991755253905 26023801 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette260238011755253905 26023802 imagette260238021755253905 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26022979 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26023792,26023793,26023794,26023795,26023796,26023797,26023798,26023799,26023800,26023801,26023802?tags=autre,metal,flou,papier,pehd,background,pet_clair,pet_fonce,environnement,carton,mal_croppe args[1377262106] : ((1377262106, -2.5396572096492664, 492609224), (1377262106, 0.4079859739592367, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262105] : ((1377262105, -0.3894278069143735, 492688767), (1377262105, 0.418414621017337, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262104] : ((1377262104, -0.3918798061243092, 492688767), (1377262104, 0.6691397142294047, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262093] : ((1377262093, 1.167084438676361, 492688767), (1377262093, 0.8257426511356475, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262092] : ((1377262092, -3.541145404453169, 492609224), (1377262092, 0.3963338299568343, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262090] : ((1377262090, 4.114361852375793, 492688767), (1377262090, 0.24978633114980672, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262088] : ((1377262088, 0.9026351452751701, 492688767), (1377262088, 0.7960797329725453, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262086] : ((1377262086, -4.434093675985184, 492609224), (1377262086, 0.39449985924124137, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262083] : ((1377262083, -1.0121235596176423, 492688767), (1377262083, 0.7263841496705352, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262073] : ((1377262073, -0.12002532426214646, 492688767), (1377262073, 0.5218396834322053, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262058] : ((1377262058, -0.5299773639255206, 492688767), (1377262058, 0.7350951380732563, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262054] : ((1377262054, 1.1539713641391025, 492688767), (1377262054, 0.8193557951182115, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262051] : ((1377262051, 0.9228752881542761, 492688767), (1377262051, 0.40044236881134554, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com args[1377262048] : ((1377262048, 0.14337109000720805, 492688767), (1377262048, 1.0533269212758671, 2107752395), '0.05719597387566139') We are sending mail with results at report@fotonower.com refus_total : 0.05719597387566139 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=26022979 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_P26022979_15-08-2025_12_31_42.pdf results_Auto_P26022979_15-08-2025_12_31_42.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022979_15-08-2025_12_31_42.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','26022979','results_Auto_P26022979_15-08-2025_12_31_42.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022979_15-08-2025_12_31_42.pdf','pdf','','0.31','0.05719597387566139') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26022979

https://www.fotonower.com/image?json=false&list_photos_id=1377262106
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262105
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262104
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262093
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.167084438676361)
https://www.fotonower.com/image?json=false&list_photos_id=1377262092
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262090
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.114361852375793)
https://www.fotonower.com/image?json=false&list_photos_id=1377262088
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262086
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262083
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262073
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262058
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262054
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.1539713641391025)
https://www.fotonower.com/image?json=false&list_photos_id=1377262051
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377262048
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/26023792?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26023793?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26023795?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26023798?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26023801?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022979_15-08-2025_12_31_42.pdf.

Lien vers velours :https://www.fotonower.com/velours/26023792,26023793,26023794,26023795,26023796,26023797,26023798,26023799,26023800,26023801,26023802?tags=autre,metal,flou,papier,pehd,background,pet_clair,pet_fonce,environnement,carton,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 15 Aug 2025 10:31:47 GMT Content-Length: 0 Connection: close X-Message-Id: KqBwzb0NTYOYcZLpjQsZhw 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 [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] 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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014998674392700195 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.606195449829102 time spend to save output : 0.015482902526855469 total time spend for step 9 : 4.621678352355957 step10:split_time_score Fri Aug 15 12:31:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15082025 26022979 Nombre de photos uploadées : 14 / 23040 (0%) 15082025 26022979 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 15082025 26022979 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 6.67572021484375e-06 elapsed_time : order_list_meta_photo_and_scores 1.6450881958007812e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008413791656494141 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21978139877319336 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.11276655199759945 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26019369_15-08-2025_10_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26019369 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`=26019369 AND mptpi.`type`=3594 To do Qualite : 0.05719597387566139 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022979_15-08-2025_12_31_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26022979 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`=26022979 AND mptpi.`type`=3594 To do Qualite : 0.08927492283950622 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26022984_15-08-2025_12_22_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26022984 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`=26022984 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15082025': {'nb_upload': 14, '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 [1377262106, 1377262105, 1377262104, 1377262093, 1377262092, 1377262090, 1377262088, 1377262086, 1377262083, 1377262073, 1377262058, 1377262054, 1377262051, 1377262048] Looping around the photos to save general results len do output : 1 /26022979Didn'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, '3547033') ('3318', '26022979', '1377262106', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262105', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262104', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262093', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262092', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262090', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262088', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262086', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262083', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262073', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262058', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262054', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262051', None, None, None, None, None, '3547033') ('3318', None, None, None, None, None, None, None, '3547033') ('3318', '26022979', '1377262048', None, None, None, None, None, '3547033') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.017269611358642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6028995513916016 time spend to save output : 0.01772618293762207 total time spend for step 10 : 0.6206257343292236 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 48.01user 15.03system 1:22.41elapsed 76%CPU (0avgtext+0avgdata 2836860maxresident)k 503872inputs+21168outputs (97major+1283662minor)pagefaults 0swaps