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 : 3857004 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 : ['3740704'] with mtr_portfolio_ids : ['26997919'] and first list_photo_ids : [] new path : /proc/3857004/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.5018677711486816 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 Thu Sep 18 12:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10590 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-18 12:40:33.285204: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-18 12:40:33.312581: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-18 12:40:33.314842: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9a54000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-18 12:40:33.314895: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-18 12:40:33.318820: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-18 12:40:33.490515: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42294f60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-18 12:40:33.490576: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-18 12:40:33.492032: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-18 12:40:33.492514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 12:40:33.495838: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 12:40:33.498960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 12:40:33.499495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 12:40:33.502389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 12:40:33.503403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 12:40:33.508732: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 12:40:33.510160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 12:40:33.510235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 12:40:33.510970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-18 12:40:33.510986: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-18 12:40:33.510995: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-18 12:40:33.512273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9809 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-18 12:40:33.802258: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-18 12:40:33.802370: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 12:40:33.802387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 12:40:33.802402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 12:40:33.802416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 12:40:33.802430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 12:40:33.802443: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 12:40:33.802458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 12:40:33.803629: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 12:40:33.805021: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-18 12:40:33.805057: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-18 12:40:33.805075: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 12:40:33.805091: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-18 12:40:33.805107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-18 12:40:33.805123: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-18 12:40:33.805139: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-18 12:40:33.805155: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-18 12:40:33.806355: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-18 12:40:33.806393: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-18 12:40:33.806402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-18 12:40:33.806409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-18 12:40:33.807629: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9809 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-18 12:40:40.707321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-18 12:40:40.893525: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.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: 43.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: 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 : 7 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 : 12 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.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 Detection mask done ! Trying to reset tf kernel 3857650 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4499 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 9394 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.0008580684661865234 nb_pixel_total : 26680 time to create 1 rle with old method : 0.030644655227661133 length of segment : 163 time for calcul the mask position with numpy : 0.00023365020751953125 nb_pixel_total : 4007 time to create 1 rle with old method : 0.0044193267822265625 length of segment : 133 time for calcul the mask position with numpy : 0.0004425048828125 nb_pixel_total : 12982 time to create 1 rle with old method : 0.016185283660888672 length of segment : 135 time for calcul the mask position with numpy : 0.000152587890625 nb_pixel_total : 3084 time to create 1 rle with old method : 0.0035943984985351562 length of segment : 45 time for calcul the mask position with numpy : 0.0004372596740722656 nb_pixel_total : 15991 time to create 1 rle with old method : 0.018225669860839844 length of segment : 155 time for calcul the mask position with numpy : 0.0011086463928222656 nb_pixel_total : 33912 time to create 1 rle with old method : 0.03809618949890137 length of segment : 200 time for calcul the mask position with numpy : 0.0003247261047363281 nb_pixel_total : 5431 time to create 1 rle with old method : 0.006339073181152344 length of segment : 142 time for calcul the mask position with numpy : 0.00033664703369140625 nb_pixel_total : 12354 time to create 1 rle with old method : 0.014398574829101562 length of segment : 115 time for calcul the mask position with numpy : 0.00046324729919433594 nb_pixel_total : 11872 time to create 1 rle with old method : 0.013867378234863281 length of segment : 190 time for calcul the mask position with numpy : 0.0006473064422607422 nb_pixel_total : 19742 time to create 1 rle with old method : 0.022502422332763672 length of segment : 190 time for calcul the mask position with numpy : 0.0004088878631591797 nb_pixel_total : 15899 time to create 1 rle with old method : 0.017926931381225586 length of segment : 155 time for calcul the mask position with numpy : 0.0002028942108154297 nb_pixel_total : 4323 time to create 1 rle with old method : 0.0051898956298828125 length of segment : 75 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 4862 time to create 1 rle with old method : 0.005858421325683594 length of segment : 74 time for calcul the mask position with numpy : 0.00024962425231933594 nb_pixel_total : 9897 time to create 1 rle with old method : 0.011928319931030273 length of segment : 78 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 8939 time to create 1 rle with old method : 0.010664701461791992 length of segment : 96 time for calcul the mask position with numpy : 0.0027451515197753906 nb_pixel_total : 99601 time to create 1 rle with old method : 0.11739706993103027 length of segment : 546 time for calcul the mask position with numpy : 0.0002067089080810547 nb_pixel_total : 8002 time to create 1 rle with old method : 0.009200572967529297 length of segment : 184 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 8315 time to create 1 rle with old method : 0.009676933288574219 length of segment : 172 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 11330 time to create 1 rle with old method : 0.01293182373046875 length of segment : 163 time for calcul the mask position with numpy : 0.12049484252929688 nb_pixel_total : 719770 time to create 1 rle with new method : 0.04561948776245117 length of segment : 980 time for calcul the mask position with numpy : 0.00028204917907714844 nb_pixel_total : 10779 time to create 1 rle with old method : 0.013109445571899414 length of segment : 126 time for calcul the mask position with numpy : 0.000461578369140625 nb_pixel_total : 24528 time to create 1 rle with old method : 0.028205394744873047 length of segment : 143 time for calcul the mask position with numpy : 0.0004978179931640625 nb_pixel_total : 18958 time to create 1 rle with old method : 0.021236181259155273 length of segment : 179 time for calcul the mask position with numpy : 0.00016498565673828125 nb_pixel_total : 5751 time to create 1 rle with old method : 0.006734371185302734 length of segment : 75 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 2332 time to create 1 rle with old method : 0.002885580062866211 length of segment : 44 time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 2965 time to create 1 rle with old method : 0.003520488739013672 length of segment : 61 time for calcul the mask position with numpy : 0.00038552284240722656 nb_pixel_total : 9969 time to create 1 rle with old method : 0.011420726776123047 length of segment : 121 time for calcul the mask position with numpy : 0.00019621849060058594 nb_pixel_total : 4217 time to create 1 rle with old method : 0.00471043586730957 length of segment : 68 time for calcul the mask position with numpy : 0.0005567073822021484 nb_pixel_total : 23360 time to create 1 rle with old method : 0.025652170181274414 length of segment : 154 time for calcul the mask position with numpy : 0.0001201629638671875 nb_pixel_total : 1944 time to create 1 rle with old method : 0.002325773239135742 length of segment : 50 time for calcul the mask position with numpy : 0.0002148151397705078 nb_pixel_total : 5891 time to create 1 rle with old method : 0.007049560546875 length of segment : 72 time for calcul the mask position with numpy : 0.004338502883911133 nb_pixel_total : 192062 time to create 1 rle with new method : 0.012880325317382812 length of segment : 592 time spent for convertir_results : 1.8098106384277344 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 78 chid ids of type : 3594 +++++++++++++++++++++++++++++++++Number RLEs to save : 1517 save missing photos in datou_result : time spend for datou_step_exec : 22.978193283081055 time spend to save output : 0.3107624053955078 total time spend for step 1 : 23.288955688476562 step2:crop_condition Thu Sep 18 12:40:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 10 ! batch 1 Loaded 78 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 ! Next one ! 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 ! Next one ! Next one ! 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 ! Next one ! Next one ! we have both polygon and rles Next one ! Next one ! we have both polygon and rles Next one ! Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! Next one ! 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 ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 30 About to insert : list_path_to_insert length 30 new photo from crops ! About to upload 30 photos upload in portfolio : 3736932 init cache_photo without model_param we have 30 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758192055_3857004 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 30 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.400249719619751 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 ! Next one ! Next one ! Next one ! we have both polygon and rles Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758192064_3857004 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 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.873558282852173 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 ! 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/1758192068_3857004 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 : 1.1671197414398193 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 ! Next one ! we have both polygon and rles Next one ! Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! Next one ! Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! Next one ! Next one ! we have both polygon and rles Next one ! 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 ! Next one ! Next one ! Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! Next one ! we have both polygon and rles Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758192079_3857004 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.7157347202301025 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 ! 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/1758192087_3857004 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 : 1.0877697467803955 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] Looping around the photos to save general results len do output : 68 /1384841115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1384841248Didn'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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 214 time used for this insertion : 0.030056476593017578 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.24453067779541 time spend to save output : 0.0330042839050293 total time spend for step 2 : 35.27753496170044 step3:rle_unique_nms_with_priority Thu Sep 18 12:41:28 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 78 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.46570348739624023 time for calcul the mask position with numpy : 0.0056383609771728516 nb_pixel_total : 4007 time to create 1 rle with old method : 0.00448298454284668 time for calcul the mask position with numpy : 0.005923032760620117 nb_pixel_total : 26679 time to create 1 rle with old method : 0.02889227867126465 time for calcul the mask position with numpy : 0.05853128433227539 nb_pixel_total : 2042914 time to create 1 rle with new method : 0.21495676040649414 create new chi : 0.3346083164215088 time to delete rle : 0.020643949508666992 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04078507423400879 nb_obj : 8 nb_hashtags : 5 time to prepare the origin masks : 0.9706995487213135 time for calcul the mask position with numpy : 0.01105952262878418 nb_pixel_total : 11876 time to create 1 rle with old method : 0.013307809829711914 time for calcul the mask position with numpy : 0.010446786880493164 nb_pixel_total : 12353 time to create 1 rle with old method : 0.023809194564819336 time for calcul the mask position with numpy : 0.007371664047241211 nb_pixel_total : 5435 time to create 1 rle with old method : 0.008901119232177734 time for calcul the mask position with numpy : 0.0072116851806640625 nb_pixel_total : 33880 time to create 1 rle with old method : 0.04690098762512207 time for calcul the mask position with numpy : 0.007086992263793945 nb_pixel_total : 15784 time to create 1 rle with old method : 0.018203020095825195 time for calcul the mask position with numpy : 0.006241559982299805 nb_pixel_total : 3084 time to create 1 rle with old method : 0.003562450408935547 time for calcul the mask position with numpy : 0.006513357162475586 nb_pixel_total : 12983 time to create 1 rle with old method : 0.01463770866394043 time for calcul the mask position with numpy : 0.040296077728271484 nb_pixel_total : 1978205 time to create 1 rle with new method : 0.07458710670471191 create new chi : 0.31582021713256836 time to delete rle : 0.000518798828125 batch 1 Loaded 16 chid ids of type : 3594 +++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.061739444732666016 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08660626411437988 time for calcul the mask position with numpy : 0.007613182067871094 nb_pixel_total : 15897 time to create 1 rle with old method : 0.017948150634765625 time for calcul the mask position with numpy : 0.0061643123626708984 nb_pixel_total : 19735 time to create 1 rle with old method : 0.022372961044311523 time for calcul the mask position with numpy : 0.02774333953857422 nb_pixel_total : 2037968 time to create 1 rle with new method : 0.039736270904541016 create new chi : 0.12900185585021973 time to delete rle : 0.0004169940948486328 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.039620161056518555 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.11374044418334961 time for calcul the mask position with numpy : 0.006246805191040039 nb_pixel_total : 99615 time to create 1 rle with old method : 0.10954403877258301 time for calcul the mask position with numpy : 0.006174802780151367 nb_pixel_total : 8939 time to create 1 rle with old method : 0.009878396987915039 time for calcul the mask position with numpy : 0.005742549896240234 nb_pixel_total : 9899 time to create 1 rle with old method : 0.010874032974243164 time for calcul the mask position with numpy : 0.0058705806732177734 nb_pixel_total : 13 time to create 1 rle with old method : 8.487701416015625e-05 time for calcul the mask position with numpy : 0.005800008773803711 nb_pixel_total : 4813 time to create 1 rle with old method : 0.00520634651184082 time for calcul the mask position with numpy : 0.005759477615356445 nb_pixel_total : 4322 time to create 1 rle with old method : 0.004684925079345703 time for calcul the mask position with numpy : 0.018268585205078125 nb_pixel_total : 1945999 time to create 1 rle with new method : 0.09073734283447266 create new chi : 0.29915452003479004 time to delete rle : 0.0004761219024658203 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 11 TO DO : save crop sub photo not yet done ! save time : 0.08294034004211426 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06291508674621582 time for calcul the mask position with numpy : 0.0058519840240478516 nb_pixel_total : 8315 time to create 1 rle with old method : 0.00929880142211914 time for calcul the mask position with numpy : 0.0060155391693115234 nb_pixel_total : 8007 time to create 1 rle with old method : 0.008839130401611328 time for calcul the mask position with numpy : 0.018992185592651367 nb_pixel_total : 2057278 time to create 1 rle with new method : 0.02793407440185547 create new chi : 0.08298850059509277 time to delete rle : 0.00038623809814453125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04013490676879883 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.22661399841308594 time for calcul the mask position with numpy : 0.010582923889160156 nb_pixel_total : 712833 time to create 1 rle with new method : 0.07123064994812012 time for calcul the mask position with numpy : 0.0057909488677978516 nb_pixel_total : 11326 time to create 1 rle with old method : 0.012151241302490234 time for calcul the mask position with numpy : 0.08718633651733398 nb_pixel_total : 1349441 time to create 1 rle with new method : 0.07165932655334473 create new chi : 0.2787485122680664 time to delete rle : 0.0004658699035644531 batch 1 Loaded 6 chid ids of type : 3594 +++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.06006979942321777 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04769277572631836 time for calcul the mask position with numpy : 0.005608558654785156 nb_pixel_total : 10778 time to create 1 rle with old method : 0.011495590209960938 time for calcul the mask position with numpy : 0.018553495407104492 nb_pixel_total : 2062822 time to create 1 rle with new method : 0.12465977668762207 create new chi : 0.17630505561828613 time to delete rle : 0.0003902912139892578 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03613018989562988 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.3354299068450928 time for calcul the mask position with numpy : 0.005805492401123047 nb_pixel_total : 2964 time to create 1 rle with old method : 0.0032231807708740234 time for calcul the mask position with numpy : 0.0057675838470458984 nb_pixel_total : 2381 time to create 1 rle with old method : 0.002538442611694336 time for calcul the mask position with numpy : 0.005780696868896484 nb_pixel_total : 5751 time to create 1 rle with old method : 0.006213188171386719 time for calcul the mask position with numpy : 0.005654811859130859 nb_pixel_total : 18961 time to create 1 rle with old method : 0.020122528076171875 time for calcul the mask position with numpy : 0.005753517150878906 nb_pixel_total : 24702 time to create 1 rle with old method : 0.026714563369750977 time for calcul the mask position with numpy : 0.03576469421386719 nb_pixel_total : 2018841 time to create 1 rle with new method : 0.1985151767730713 create new chi : 0.33609747886657715 time to delete rle : 0.0005824565887451172 batch 1 Loaded 14 chid ids of type : 3594 ++++++++++++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.055556297302246094 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.07245492935180664 time for calcul the mask position with numpy : 0.005794048309326172 nb_pixel_total : 1946 time to create 1 rle with old method : 0.002221822738647461 time for calcul the mask position with numpy : 0.005914211273193359 nb_pixel_total : 23355 time to create 1 rle with old method : 0.025849580764770508 time for calcul the mask position with numpy : 0.005645275115966797 nb_pixel_total : 4217 time to create 1 rle with old method : 0.0045871734619140625 time for calcul the mask position with numpy : 0.018433332443237305 nb_pixel_total : 2044082 time to create 1 rle with new method : 0.07216477394104004 create new chi : 0.15355134010314941 time to delete rle : 0.0003376007080078125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03997063636779785 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.06256914138793945 time for calcul the mask position with numpy : 0.0068416595458984375 nb_pixel_total : 191950 time to create 1 rle with new method : 0.10532426834106445 time for calcul the mask position with numpy : 0.006037235260009766 nb_pixel_total : 5891 time to create 1 rle with old method : 0.006345272064208984 time for calcul the mask position with numpy : 0.019587993621826172 nb_pixel_total : 1875759 time to create 1 rle with new method : 0.06468653678894043 create new chi : 0.21517491340637207 time to delete rle : 0.0004048347473144531 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.046051979064941406 map_output_result : {1384817401: (0.0, 'Should be the crop_list due to order', 0), 1384817390: (0.0, 'Should be the crop_list due to order', 0), 1384816815: (0.0, 'Should be the crop_list due to order', 0), 1384816773: (0.0, 'Should be the crop_list due to order', 0), 1384816750: (0.0, 'Should be the crop_list due to order', 0), 1384816742: (0.0, 'Should be the crop_list due to order', 0), 1384816722: (0.0, 'Should be the crop_list due to order', 0), 1384816698: (0.0, 'Should be the crop_list due to order', 0), 1384815685: (0.0, 'Should be the crop_list due to order', 0), 1384815658: (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 [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] Looping around the photos to save general results len do output : 10 /1384817401.Didn't retrieve data . /1384817390.Didn't retrieve data . /1384816815.Didn't retrieve data . /1384816773.Didn't retrieve data . /1384816750.Didn't retrieve data . /1384816742.Didn't retrieve data . /1384816722.Didn't retrieve data . /1384816698.Didn't retrieve data . /1384815685.Didn't retrieve data . /1384815658.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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013879060745239258 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.725422382354736 time spend to save output : 0.014350414276123047 total time spend for step 3 : 5.739772796630859 step4:ventilate_hashtags_in_portfolio Thu Sep 18 12:41:34 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 : 26997919 get user id for portfolio 26997919 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`=26997919 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','metal','pehd','pet_fonce','mal_croppe','pet_clair','papier','background','carton','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26997919 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','metal','pehd','pet_fonce','mal_croppe','pet_clair','papier','background','carton','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26997919 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','metal','pehd','pet_fonce','mal_croppe','pet_clair','papier','background','carton','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26998235,26998236,26998237,26998238,26998239,26998240,26998241,26998242,26998243,26998244,26998245?tags=environnement,flou,metal,pehd,pet_fonce,mal_croppe,pet_clair,papier,background,carton,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] Looping around the photos to save general results len do output : 1 /26997919. 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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013840436935424805 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6423425674438477 time spend to save output : 0.014094114303588867 total time spend for step 4 : 1.6564366817474365 step5:final Thu Sep 18 12:41:36 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 : {1384817401: ('0.06378718171296298',), 1384817390: ('0.06378718171296298',), 1384816815: ('0.06378718171296298',), 1384816773: ('0.06378718171296298',), 1384816750: ('0.06378718171296298',), 1384816742: ('0.06378718171296298',), 1384816722: ('0.06378718171296298',), 1384816698: ('0.06378718171296298',), 1384815685: ('0.06378718171296298',), 1384815658: ('0.06378718171296298',)} new output for save of step final : {1384817401: ('0.06378718171296298',), 1384817390: ('0.06378718171296298',), 1384816815: ('0.06378718171296298',), 1384816773: ('0.06378718171296298',), 1384816750: ('0.06378718171296298',), 1384816742: ('0.06378718171296298',), 1384816722: ('0.06378718171296298',), 1384816698: ('0.06378718171296298',), 1384815685: ('0.06378718171296298',), 1384815658: ('0.06378718171296298',)} [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] Looping around the photos to save general results len do output : 10 /1384817401.Didn't retrieve data . /1384817390.Didn't retrieve data . /1384816815.Didn't retrieve data . /1384816773.Didn't retrieve data . /1384816750.Didn't retrieve data . /1384816742.Didn't retrieve data . /1384816722.Didn't retrieve data . /1384816698.Didn't retrieve data . /1384815685.Didn't retrieve data . /1384815658.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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016875028610229492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13092541694641113 time spend to save output : 0.017374038696289062 total time spend for step 5 : 0.1482994556427002 step6:blur_detection Thu Sep 18 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 10 time used for this insertion : 0.008862018585205078 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.009074926376342773 save missing photos in datou_result : time spend for datou_step_exec : 0.02108931541442871 time spend to save output : 0.02254033088684082 total time spend for step 6 : 0.04362964630126953 step7:brightness Thu Sep 18 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 10 time used for this insertion : 0.009865760803222656 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.008628129959106445 save missing photos in datou_result : time spend for datou_step_exec : 0.02539968490600586 time spend to save output : 0.023439645767211914 total time spend for step 7 : 0.04883933067321777 step8:velours_tree Thu Sep 18 12:41:36 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.1511094570159912 time spend to save output : 3.838539123535156e-05 total time spend for step 8 : 0.15114784240722656 step9:send_mail_cod Thu Sep 18 12:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26997919_18-09-2025_12_41_36.pdf 26998236 imagette269982361758192096 26998237 change filename to text .change filename to text .imagette269982371758192096 26998238 imagette269982381758192096 26998239 imagette269982391758192096 26998240 imagette269982401758192096 26998241 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette269982411758192096 26998242 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette269982421758192098 26998243 imagette269982431758192099 26998244 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 .imagette269982441758192099 26998245 change filename to text .change filename to text .imagette269982451758192100 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26997919 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26998235,26998236,26998237,26998238,26998239,26998240,26998241,26998242,26998243,26998244,26998245?tags=environnement,flou,metal,pehd,pet_fonce,mal_croppe,pet_clair,papier,background,carton,autre args[1384817401] : ((1384817401, 0.9727204557889951, 492688767), (1384817401, 0.34169022745680794, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384817390] : ((1384817390, -3.7668521220068243, 492609224), (1384817390, 0.4150410696426099, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816815] : ((1384816815, -0.8257191727017088, 492688767), (1384816815, 0.5742429030085868, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816773] : ((1384816773, -3.789830109614569, 492609224), (1384816773, 0.3693543498295473, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816750] : ((1384816750, 0.961067979104308, 492688767), (1384816750, 0.7800610067605738, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816742] : ((1384816742, 0.1402804399431503, 492688767), (1384816742, 0.7200308470771646, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816722] : ((1384816722, -0.41318981767175544, 492688767), (1384816722, 0.5931135558683065, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384816698] : ((1384816698, -3.3731501910671344, 492609224), (1384816698, 0.5100391392729974, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384815685] : ((1384815685, 1.6535287897379725, 492688767), (1384815685, 0.6691776830569126, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com args[1384815658] : ((1384815658, 0.7701038973870598, 492688767), (1384815658, 0.9098948624669745, 2107752395), '0.06378718171296298') We are sending mail with results at report@fotonower.com refus_total : 0.06378718171296298 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=26997919 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_P26997919_18-09-2025_12_41_36.pdf results_Auto_P26997919_18-09-2025_12_41_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997919_18-09-2025_12_41_36.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','26997919','results_Auto_P26997919_18-09-2025_12_41_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997919_18-09-2025_12_41_36.pdf','pdf','','0.29','0.06378718171296298') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26997919

https://www.fotonower.com/image?json=false&list_photos_id=1384817401
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384817390
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816815
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816773
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816750
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816742
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816722
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384816698
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1384815685
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6535287897379725)
https://www.fotonower.com/image?json=false&list_photos_id=1384815658
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/26998237?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26998241?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26998242?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26998244?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26998245?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997919_18-09-2025_12_41_36.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26998235,26998236,26998237,26998238,26998239,26998240,26998241,26998242,26998243,26998244,26998245?tags=environnement,flou,metal,pehd,pet_fonce,mal_croppe,pet_clair,papier,background,carton,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 18 Sep 2025 10:41:42 GMT Content-Length: 0 Connection: close X-Message-Id: 2d4WjamQTNaG9SVllN40Lw 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 [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] 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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013720273971557617 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.794617652893066 time spend to save output : 0.013916730880737305 total time spend for step 9 : 5.808534383773804 step10:split_time_score Thu Sep 18 12:41:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18092025 26997919 Nombre de photos uploadées : 10 / 23040 (0%) 18092025 26997919 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 18092025 26997919 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005462169647216797 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21916770935058594 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.029968609708193043 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26993632_18-09-2025_09_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26993632 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`=26993632 AND mptpi.`type`=3594 To do Qualite : 0.07461375911896746 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994368_18-09-2025_09_32_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994368 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`=26994368 AND mptpi.`type`=3594 To do Qualite : 0.13248333547668037 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994376_18-09-2025_09_21_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994376 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`=26994376 AND mptpi.`type`=3594 To do Qualite : 0.02829922027290448 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26994377_18-09-2025_09_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26994377 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`=26994377 AND mptpi.`type`=3594 To do Qualite : 0.06378718171296298 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997919_18-09-2025_12_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26997919 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`=26997919 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26996058 order by id desc limit 1 Qualite : 0.14480436599794244 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26997922_18-09-2025_12_31_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26997922 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`=26997922 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18092025': {'nb_upload': 10, '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 [1384817401, 1384817390, 1384816815, 1384816773, 1384816750, 1384816742, 1384816722, 1384816698, 1384815685, 1384815658] Looping around the photos to save general results len do output : 1 /26997919Didn'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, '3740704') ('3318', '26997919', '1384817401', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384817390', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816815', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816773', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816750', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816742', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816722', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384816698', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815685', None, None, None, None, None, '3740704') ('3318', None, None, None, None, None, None, None, '3740704') ('3318', '26997919', '1384815658', None, None, None, None, None, '3740704') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013900041580200195 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6665568351745605 time spend to save output : 0.01406240463256836 total time spend for step 10 : 1.680619239807129 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 33.16user 16.54system 1:19.67elapsed 62%CPU (0avgtext+0avgdata 2766108maxresident)k 110152inputs+30480outputs (158major+1441451minor)pagefaults 0swaps