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 : 1018473 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 : ['3664302'] with mtr_portfolio_ids : ['26531218'] and first list_photo_ids : [] new path : /proc/1018473/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.3397216796875 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 4 11:20:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6821 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-04 11:20:32.001496: 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-04 11:20:32.008484: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-04 11:20:32.009688: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb258000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-04 11:20:32.009705: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-04 11:20:32.011902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-04 11:20:32.137685: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x168a1460 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-04 11:20:32.137728: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-04 11:20:32.138771: 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-04 11:20:32.139136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 11:20:32.141894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 11:20:32.144400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 11:20:32.144870: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 11:20:32.147874: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 11:20:32.149486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 11:20:32.153221: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 11:20:32.154464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 11:20:32.154527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 11:20:32.155178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 11:20:32.155193: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 11:20:32.155202: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 11:20:32.156394: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6269 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-04 11:20:32.419546: 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-04 11:20:32.419646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 11:20:32.419668: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 11:20:32.419688: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 11:20:32.419708: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 11:20:32.419727: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 11:20:32.419745: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 11:20:32.419765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 11:20:32.421105: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 11:20:32.422454: 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-04 11:20:32.422498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 11:20:32.422521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 11:20:32.422542: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 11:20:32.422562: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 11:20:32.422583: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 11:20:32.422604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 11:20:32.422625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 11:20:32.423940: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 11:20:32.423970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 11:20:32.423981: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 11:20:32.423990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 11:20:32.425368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6269 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-04 11:20:40.721120: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 11:20:40.920565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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 : 4 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 1019070 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1519 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10273 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.00021576881408691406 nb_pixel_total : 8760 time to create 1 rle with old method : 0.009805440902709961 length of segment : 173 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 4038 time to create 1 rle with old method : 0.004539966583251953 length of segment : 107 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 4510 time to create 1 rle with old method : 0.005011796951293945 length of segment : 81 time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 7341 time to create 1 rle with old method : 0.008220195770263672 length of segment : 124 time for calcul the mask position with numpy : 0.0001285076141357422 nb_pixel_total : 6513 time to create 1 rle with old method : 0.00721287727355957 length of segment : 160 time for calcul the mask position with numpy : 0.0016341209411621094 nb_pixel_total : 91535 time to create 1 rle with old method : 0.1006467342376709 length of segment : 584 time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 2130 time to create 1 rle with old method : 0.002579927444458008 length of segment : 65 time for calcul the mask position with numpy : 5.054473876953125e-05 nb_pixel_total : 1492 time to create 1 rle with old method : 0.0017483234405517578 length of segment : 46 time for calcul the mask position with numpy : 0.028833866119384766 nb_pixel_total : 865110 time to create 1 rle with new method : 0.2926442623138428 length of segment : 1117 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 4321 time to create 1 rle with old method : 0.004750967025756836 length of segment : 118 time for calcul the mask position with numpy : 0.0012373924255371094 nb_pixel_total : 102327 time to create 1 rle with old method : 0.11348271369934082 length of segment : 503 time for calcul the mask position with numpy : 0.010212898254394531 nb_pixel_total : 768504 time to create 1 rle with new method : 0.04401993751525879 length of segment : 974 time for calcul the mask position with numpy : 0.00035572052001953125 nb_pixel_total : 6036 time to create 1 rle with old method : 0.006802797317504883 length of segment : 169 time for calcul the mask position with numpy : 0.0032868385314941406 nb_pixel_total : 133209 time to create 1 rle with old method : 0.1436467170715332 length of segment : 688 time for calcul the mask position with numpy : 0.014082670211791992 nb_pixel_total : 750059 time to create 1 rle with new method : 0.17887306213378906 length of segment : 958 time for calcul the mask position with numpy : 0.0014646053314208984 nb_pixel_total : 102564 time to create 1 rle with old method : 0.11139345169067383 length of segment : 544 time for calcul the mask position with numpy : 0.0016934871673583984 nb_pixel_total : 101468 time to create 1 rle with old method : 0.10843324661254883 length of segment : 525 time spent for convertir_results : 2.3043529987335205 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 17 chid ids of type : 3594 Number RLEs to save : 6936 save missing photos in datou_result : time spend for datou_step_exec : 24.989943027496338 time spend to save output : 0.44583821296691895 total time spend for step 1 : 25.435781240463257 step2:crop_condition Thu Sep 4 11:20:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 11 ! batch 1 Loaded 17 chid ids of type : 3594 +++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756977655_1018473 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.9554612636566162 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756977657_1018473 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6261062622070312 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 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756977669_1018473 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.809583902359009 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] Looping around the photos to save general results len do output : 17 /1381423736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381423761Didn'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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 62 time used for this insertion : 0.020425081253051758 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.721489191055298 time spend to save output : 0.021280765533447266 total time spend for step 2 : 18.742769956588745 step3:rle_unique_nms_with_priority Thu Sep 4 11:21:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 17 chid ids of type : 3594 +++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.24336028099060059 time for calcul the mask position with numpy : 0.22725820541381836 nb_pixel_total : 2064840 time to create 1 rle with new method : 0.07570958137512207 time for calcul the mask position with numpy : 0.0059773921966552734 nb_pixel_total : 8760 time to create 1 rle with old method : 0.009604454040527344 create new chi : 0.3290410041809082 time to delete rle : 0.031145572662353516 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1426 TO DO : save crop sub photo not yet done ! save time : 0.11303853988647461 No data in photo_id : 1381414669 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.5774893760681152 time for calcul the mask position with numpy : 0.4990963935852051 nb_pixel_total : 2057711 time to create 1 rle with new method : 0.07956290245056152 time for calcul the mask position with numpy : 0.006281852722167969 nb_pixel_total : 7341 time to create 1 rle with old method : 0.008472204208374023 time for calcul the mask position with numpy : 0.006232023239135742 nb_pixel_total : 4510 time to create 1 rle with old method : 0.005275249481201172 time for calcul the mask position with numpy : 0.00616145133972168 nb_pixel_total : 4038 time to create 1 rle with old method : 0.0047109127044677734 create new chi : 0.6267702579498291 time to delete rle : 0.00029277801513671875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1704 TO DO : save crop sub photo not yet done ! save time : 0.14191699028015137 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.041207075119018555 time for calcul the mask position with numpy : 0.01966714859008789 nb_pixel_total : 2067087 time to create 1 rle with new method : 0.2643308639526367 time for calcul the mask position with numpy : 0.006232500076293945 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007454633712768555 create new chi : 0.30481529235839844 time to delete rle : 0.00021791458129882812 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1400 TO DO : save crop sub photo not yet done ! save time : 0.11850500106811523 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.033689260482788086 time for calcul the mask position with numpy : 0.03472757339477539 nb_pixel_total : 1982065 time to create 1 rle with new method : 0.2107076644897461 time for calcul the mask position with numpy : 0.006357669830322266 nb_pixel_total : 91535 time to create 1 rle with old method : 0.1017613410949707 create new chi : 0.36220717430114746 time to delete rle : 0.00033354759216308594 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 2248 TO DO : save crop sub photo not yet done ! save time : 0.18657898902893066 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.23522019386291504 time for calcul the mask position with numpy : 0.24870800971984863 nb_pixel_total : 2069978 time to create 1 rle with new method : 0.07485008239746094 time for calcul the mask position with numpy : 0.006148099899291992 nb_pixel_total : 1492 time to create 1 rle with old method : 0.0016646385192871094 time for calcul the mask position with numpy : 0.005933523178100586 nb_pixel_total : 2130 time to create 1 rle with old method : 0.002335071563720703 create new chi : 0.35033440589904785 time to delete rle : 0.00027561187744140625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1302 TO DO : save crop sub photo not yet done ! save time : 0.11825370788574219 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06493377685546875 time for calcul the mask position with numpy : 0.3035271167755127 nb_pixel_total : 1204169 time to create 1 rle with new method : 0.07771158218383789 time for calcul the mask position with numpy : 0.006317615509033203 nb_pixel_total : 4321 time to create 1 rle with old method : 0.004856586456298828 time for calcul the mask position with numpy : 0.011908531188964844 nb_pixel_total : 865110 time to create 1 rle with new method : 0.21873736381530762 create new chi : 0.6326665878295898 time to delete rle : 0.00032448768615722656 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3550 TO DO : save crop sub photo not yet done ! save time : 0.24906396865844727 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0949254035949707 time for calcul the mask position with numpy : 0.18388700485229492 nb_pixel_total : 1202271 time to create 1 rle with new method : 0.07973837852478027 time for calcul the mask position with numpy : 0.005949974060058594 nb_pixel_total : 498 time to create 1 rle with old method : 0.0005927085876464844 time for calcul the mask position with numpy : 0.011259078979492188 nb_pixel_total : 768504 time to create 1 rle with new method : 0.19685578346252441 time for calcul the mask position with numpy : 0.006595134735107422 nb_pixel_total : 102327 time to create 1 rle with old method : 0.11385941505432129 create new chi : 0.6145224571228027 time to delete rle : 0.0004837512969970703 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4120 TO DO : save crop sub photo not yet done ! save time : 0.28945326805114746 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.033606529235839844 time for calcul the mask position with numpy : 0.018925189971923828 nb_pixel_total : 1940391 time to create 1 rle with new method : 0.1942460536956787 time for calcul the mask position with numpy : 0.0067594051361083984 nb_pixel_total : 133209 time to create 1 rle with old method : 0.14377140998840332 create new chi : 0.3704342842102051 time to delete rle : 0.0003178119659423828 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2456 TO DO : save crop sub photo not yet done ! save time : 0.17743849754333496 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04580521583557129 time for calcul the mask position with numpy : 0.01575493812561035 nb_pixel_total : 1220977 time to create 1 rle with new method : 0.07752823829650879 time for calcul the mask position with numpy : 0.00667572021484375 nb_pixel_total : 102564 time to create 1 rle with old method : 0.11343121528625488 time for calcul the mask position with numpy : 0.011057376861572266 nb_pixel_total : 750059 time to create 1 rle with new method : 0.1827540397644043 create new chi : 0.42322874069213867 time to delete rle : 0.0005238056182861328 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4084 TO DO : save crop sub photo not yet done ! save time : 0.2803027629852295 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03249764442443848 time for calcul the mask position with numpy : 0.09099626541137695 nb_pixel_total : 1972132 time to create 1 rle with new method : 0.07609868049621582 time for calcul the mask position with numpy : 0.0066585540771484375 nb_pixel_total : 101468 time to create 1 rle with old method : 0.11423969268798828 create new chi : 0.29709601402282715 time to delete rle : 0.0003399848937988281 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2130 TO DO : save crop sub photo not yet done ! save time : 0.16474342346191406 map_output_result : {1381414672: (0.0, 'Should be the crop_list due to order', 0), 1381414669: (0.0, 'Should be the crop_list due to order', 0.0), 1381414668: (0.0, 'Should be the crop_list due to order', 0), 1381414666: (0.0, 'Should be the crop_list due to order', 0), 1381414664: (0.0, 'Should be the crop_list due to order', 0), 1381414662: (0.0, 'Should be the crop_list due to order', 0), 1381414569: (0.0, 'Should be the crop_list due to order', 0), 1381414568: (0.0, 'Should be the crop_list due to order', 0), 1381414560: (0.0, 'Should be the crop_list due to order', 0), 1381414557: (0.0, 'Should be the crop_list due to order', 0), 1381414550: (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 [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] Looping around the photos to save general results len do output : 11 /1381414672.Didn't retrieve data . /1381414669.Didn't retrieve data . /1381414668.Didn't retrieve data . /1381414666.Didn't retrieve data . /1381414664.Didn't retrieve data . /1381414662.Didn't retrieve data . /1381414569.Didn't retrieve data . /1381414568.Didn't retrieve data . /1381414560.Didn't retrieve data . /1381414557.Didn't retrieve data . /1381414550.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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.013588905334472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.939410209655762 time spend to save output : 0.014000892639160156 total time spend for step 3 : 7.953411102294922 step4:ventilate_hashtags_in_portfolio Thu Sep 4 11:21:21 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 : 26531218 get user id for portfolio 26531218 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`=26531218 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','background','metal','pehd','environnement','pet_fonce','flou','papier','pet_clair','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`=26531218 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','background','metal','pehd','environnement','pet_fonce','flou','papier','pet_clair','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`=26531218 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','mal_croppe','background','metal','pehd','environnement','pet_fonce','flou','papier','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26531309,26531310,26531311,26531312,26531313,26531314,26531315,26531316,26531317,26531318,26531319?tags=carton,mal_croppe,background,metal,pehd,environnement,pet_fonce,flou,papier,pet_clair,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] Looping around the photos to save general results len do output : 1 /26531218. 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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01683807373046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6546363830566406 time spend to save output : 0.017266511917114258 total time spend for step 4 : 1.6719028949737549 step5:final Thu Sep 4 11:21:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1381414672: ('0.12952349010942762',), 1381414669: ('0.12952349010942762',), 1381414668: ('0.12952349010942762',), 1381414666: ('0.12952349010942762',), 1381414664: ('0.12952349010942762',), 1381414662: ('0.12952349010942762',), 1381414569: ('0.12952349010942762',), 1381414568: ('0.12952349010942762',), 1381414560: ('0.12952349010942762',), 1381414557: ('0.12952349010942762',), 1381414550: ('0.12952349010942762',)} new output for save of step final : {1381414672: ('0.12952349010942762',), 1381414669: ('0.12952349010942762',), 1381414668: ('0.12952349010942762',), 1381414666: ('0.12952349010942762',), 1381414664: ('0.12952349010942762',), 1381414662: ('0.12952349010942762',), 1381414569: ('0.12952349010942762',), 1381414568: ('0.12952349010942762',), 1381414560: ('0.12952349010942762',), 1381414557: ('0.12952349010942762',), 1381414550: ('0.12952349010942762',)} [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] Looping around the photos to save general results len do output : 11 /1381414672.Didn't retrieve data . /1381414669.Didn't retrieve data . /1381414668.Didn't retrieve data . /1381414666.Didn't retrieve data . /1381414664.Didn't retrieve data . /1381414662.Didn't retrieve data . /1381414569.Didn't retrieve data . /1381414568.Didn't retrieve data . /1381414560.Didn't retrieve data . /1381414557.Didn't retrieve data . /1381414550.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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.015433549880981445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1163644790649414 time spend to save output : 0.015857934951782227 total time spend for step 5 : 0.13222241401672363 step6:blur_detection Thu Sep 4 11:21:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756977627_1018473_1381414672_2854043bf259930d3e4063b756d3e538.jpg resize: (1080, 1920) 1381414672 -2.289771960818423 treat image : temp/1756977627_1018473_1381414669_a93b67c24c30b2ba942a247d5d05eecf.jpg resize: (1080, 1920) 1381414669 -2.393499326748475 treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0.jpg resize: (1080, 1920) 1381414668 -2.8056612602429576 treat image : temp/1756977627_1018473_1381414666_2392e75d46c0d8de75352232bd1bf59e.jpg resize: (1080, 1920) 1381414666 -2.7777196859125093 treat image : temp/1756977627_1018473_1381414664_06fff1e800334308b5314b949e1e0a98.jpg resize: (1080, 1920) 1381414664 -0.7260914749369072 treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589.jpg resize: (1080, 1920) 1381414662 -2.687439027210853 treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa.jpg resize: (1080, 1920) 1381414569 -0.48735489383402514 treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a.jpg resize: (1080, 1920) 1381414568 -2.863566619771212 treat image : temp/1756977627_1018473_1381414560_d4a7ecc2d59f49ad91c1130a307183e4.jpg resize: (1080, 1920) 1381414560 -2.290977642945415 treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595.jpg resize: (1080, 1920) 1381414557 -1.7240675254966087 treat image : temp/1756977627_1018473_1381414550_e00236422f28c6d23e3539e4e2344ca4.jpg resize: (1080, 1920) 1381414550 -2.3068872634154265 treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109815_0.png resize: (107, 65) 1381423736 -2.2155713629330314 treat image : temp/1756977627_1018473_1381414666_2392e75d46c0d8de75352232bd1bf59e_rle_crop_3944109818_0.png resize: (160, 55) 1381423737 -1.6941439397484017 treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589_rle_crop_3944109820_0.png resize: (62, 46) 1381423738 1.3876106030014106 treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa_rle_crop_3944109823_0.png resize: (118, 49) 1381423739 -0.5556414774593575 treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109826_0.png resize: (168, 60) 1381423740 -2.6470034447902497 treat image : temp/1756977627_1018473_1381414672_2854043bf259930d3e4063b756d3e538_rle_crop_3944109814_0.png resize: (173, 71) 1381423741 -0.9821429726067469 treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109817_0.png resize: (124, 72) 1381423750 -2.762849731270187 treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109816_0.png resize: (81, 80) 1381423751 -2.067547133653304 treat image : temp/1756977627_1018473_1381414664_06fff1e800334308b5314b949e1e0a98_rle_crop_3944109819_0.png resize: (533, 331) 1381423752 -0.7124814126043248 treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589_rle_crop_3944109821_0.png resize: (46, 38) 1381423753 -1.100494852608388 treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa_rle_crop_3944109822_0.png resize: (998, 1251) 1381423754 -0.28608159758609464 treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109825_0.png resize: (972, 1130) 1381423755 -0.4316496189596421 treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109824_0.png resize: (500, 323) 1381423756 0.46708867781001273 treat image : temp/1756977627_1018473_1381414560_d4a7ecc2d59f49ad91c1130a307183e4_rle_crop_3944109827_0.png resize: (678, 366) 1381423757 -0.3419969687541584 treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595_rle_crop_3944109828_0.png resize: (958, 1069) 1381423759 -0.02907692815974658 treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595_rle_crop_3944109829_0.png resize: (536, 328) 1381423760 0.15418396645593252 treat image : temp/1756977627_1018473_1381414550_e00236422f28c6d23e3539e4e2344ca4_rle_crop_3944109830_0.png resize: (512, 344) 1381423761 -0.19552326723367083 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 : 28 time used for this insertion : 0.016285181045532227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.01587963104248047 save missing photos in datou_result : time spend for datou_step_exec : 10.958999395370483 time spend to save output : 0.03758740425109863 total time spend for step 6 : 10.996586799621582 step7:brightness Thu Sep 4 11:21: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 inside step calcul brightness treat image : temp/1756977627_1018473_1381414672_2854043bf259930d3e4063b756d3e538.jpg treat image : temp/1756977627_1018473_1381414669_a93b67c24c30b2ba942a247d5d05eecf.jpg treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0.jpg treat image : temp/1756977627_1018473_1381414666_2392e75d46c0d8de75352232bd1bf59e.jpg treat image : temp/1756977627_1018473_1381414664_06fff1e800334308b5314b949e1e0a98.jpg treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589.jpg treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa.jpg treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a.jpg treat image : temp/1756977627_1018473_1381414560_d4a7ecc2d59f49ad91c1130a307183e4.jpg treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595.jpg treat image : temp/1756977627_1018473_1381414550_e00236422f28c6d23e3539e4e2344ca4.jpg treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109815_0.png treat image : temp/1756977627_1018473_1381414666_2392e75d46c0d8de75352232bd1bf59e_rle_crop_3944109818_0.png treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589_rle_crop_3944109820_0.png treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa_rle_crop_3944109823_0.png treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109826_0.png treat image : temp/1756977627_1018473_1381414672_2854043bf259930d3e4063b756d3e538_rle_crop_3944109814_0.png treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109817_0.png treat image : temp/1756977627_1018473_1381414668_4497e8067791ee7b38c3cba9b1bc04b0_rle_crop_3944109816_0.png treat image : temp/1756977627_1018473_1381414664_06fff1e800334308b5314b949e1e0a98_rle_crop_3944109819_0.png treat image : temp/1756977627_1018473_1381414662_0af636be550bb1b012a6bfb1c2559589_rle_crop_3944109821_0.png treat image : temp/1756977627_1018473_1381414569_f9bd4e4a152ae8c3532ce8008df11aaa_rle_crop_3944109822_0.png treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109825_0.png treat image : temp/1756977627_1018473_1381414568_f70ab970b84a85983317ae80129d064a_rle_crop_3944109824_0.png treat image : temp/1756977627_1018473_1381414560_d4a7ecc2d59f49ad91c1130a307183e4_rle_crop_3944109827_0.png treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595_rle_crop_3944109828_0.png treat image : temp/1756977627_1018473_1381414557_5fead6170accdf4191ca410ce1dd8595_rle_crop_3944109829_0.png treat image : temp/1756977627_1018473_1381414550_e00236422f28c6d23e3539e4e2344ca4_rle_crop_3944109830_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 28 time used for this insertion : 0.03867483139038086 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.039931297302246094 save missing photos in datou_result : time spend for datou_step_exec : 2.8225479125976562 time spend to save output : 0.09566688537597656 total time spend for step 7 : 2.918214797973633 step8:velours_tree Thu Sep 4 11:21:37 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.18746638298034668 time spend to save output : 4.839897155761719e-05 total time spend for step 8 : 0.1875147819519043 step9:send_mail_cod Thu Sep 4 11:21:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26531218_04-09-2025_11_21_37.pdf 26531309 change filename to text .imagette265313091756977697 26531310 imagette265313101756977697 26531311 imagette265313111756977697 26531312 imagette265313121756977697 26531313 imagette265313131756977697 26531315 imagette265313151756977697 26531316 imagette265313161756977697 26531317 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265313171756977697 26531318 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 .imagette265313181756977697 26531319 imagette265313191756977698 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26531218 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26531309,26531310,26531311,26531312,26531313,26531314,26531315,26531316,26531317,26531318,26531319?tags=carton,mal_croppe,background,metal,pehd,environnement,pet_fonce,flou,papier,pet_clair,autre args[1381414672] : ((1381414672, -2.289771960818423, 492609224), (1381414672, 0.4985586479510671, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414669] : ((1381414669, -2.393499326748475, 492609224), (1381414669, 0.626292038219934, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414668] : ((1381414668, -2.8056612602429576, 492609224), (1381414668, 0.605326828942708, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414666] : ((1381414666, -2.7777196859125093, 492609224), (1381414666, 0.5074175077273316, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414664] : ((1381414664, -0.7260914749369072, 492688767), (1381414664, 0.5879177083417294, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414662] : ((1381414662, -2.687439027210853, 492609224), (1381414662, 0.4827755731485734, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414569] : ((1381414569, -0.48735489383402514, 492688767), (1381414569, 0.3297661725662058, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414568] : ((1381414568, -2.863566619771212, 492609224), (1381414568, 0.4259674338681511, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414560] : ((1381414560, -2.290977642945415, 492609224), (1381414560, 0.22994520881679803, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414557] : ((1381414557, -1.7240675254966087, 492688767), (1381414557, 0.4455321621495066, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com args[1381414550] : ((1381414550, -2.3068872634154265, 492609224), (1381414550, 0.5168773842644732, 2107752395), '0.12952349010942762') We are sending mail with results at report@fotonower.com refus_total : 0.12952349010942762 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=26531218 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_P26531218_04-09-2025_11_21_37.pdf results_Auto_P26531218_04-09-2025_11_21_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.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','26531218','results_Auto_P26531218_04-09-2025_11_21_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf','pdf','','0.37','0.12952349010942762') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26531218

https://www.fotonower.com/image?json=false&list_photos_id=1381414672
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414669
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414668
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414666
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414664
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414662
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414569
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414568
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414560
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414557
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381414550
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26531309?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26531317?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26531318?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26531309,26531310,26531311,26531312,26531313,26531314,26531315,26531316,26531317,26531318,26531319?tags=carton,mal_croppe,background,metal,pehd,environnement,pet_fonce,flou,papier,pet_clair,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 04 Sep 2025 09:21:40 GMT Content-Length: 0 Connection: close X-Message-Id: Yc5bj6-YTquWZxuhBlOmdw 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 [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] 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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015043258666992188 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.109691619873047 time spend to save output : 0.015290021896362305 total time spend for step 9 : 3.124981641769409 step10:split_time_score Thu Sep 4 11:21:40 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'}] (('10', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26531218 Nombre de photos uploadées : 11 / 23040 (0%) 04092025 26531218 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 04092025 26531218 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005707740783691406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19950485229492188 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.12952349010942762 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531218 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`=26531218 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'nb_upload': 11, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381414672, 1381414669, 1381414668, 1381414666, 1381414664, 1381414662, 1381414569, 1381414568, 1381414560, 1381414557, 1381414550] Looping around the photos to save general results len do output : 1 /26531218Didn'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, '3664302') ('3318', '26531218', '1381414672', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414669', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414668', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414666', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414664', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414662', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414569', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414568', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414560', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414557', None, None, None, None, None, '3664302') ('3318', None, None, None, None, None, None, None, '3664302') ('3318', '26531218', '1381414550', None, None, None, None, None, '3664302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.018548250198364258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4376254081726074 time spend to save output : 0.018758773803710938 total time spend for step 10 : 0.45638418197631836 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 44.57user 20.99system 1:15.50elapsed 86%CPU (0avgtext+0avgdata 2656248maxresident)k 524144inputs+23816outputs (223major+1542979minor)pagefaults 0swaps